hmm i used this instead of the normal offset and hook it with GetRealOffset but it crashed do you have a way? ios nojb
Il2CppMethod& getClass(const char* namespaze, const char* className);
uint64_t getMethod(const char* methodName, int argsCount);
uint64_t ActorLinker_IsHostPlayerFunc;
Il2CppMethod methodAccess_IsHostPlayer("Project_d.dll");
ActorLinker_IsHostPlayerFunc = methodAccess_IsHostPlayer.getClass("Kyrios.Actor", "ActorLinker").getMethod("IsHostPlayer", 1);
ActorLinker_IsHostPlayer = ( bool ( * )( void * )) getRealOffset (ActorLinker_IsHostPlayerFunc);