Closed 2079541547 closed 3 weeks ago
This should answer your question If isn't what you want provide more infos The answer implies that the method you want call is in the same class of the method you are hooking so _this is the instance of the class, if isn't in the same class you should find a way to get an instance of it
Method<void> MethodName = Class("NameSpace",ClassName).GetMethod("methodname");
MethodName[_this](valueToPass);
I need to call a function in the game to perform an operation, which requires passing in an int value, but I am not sure how to obtain and call this function