-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LHHookFunction NotWorking #2
Comments
Hello. Please attach any other bugs. But the LHHookFunction should succeed. |
Hello. |
bool (* IsHaveHeroSkin)(void *instance,int heroID,int skinID);
bool _IsHaveHeroSkin(void *instance,int heroID,int skinID){
return true;
}
IsHaveHeroSkin = (bool( *)(void *,int,int))getRealOffset(ModSkin[0]);
LHHookRef outIsHaveHeroSkin;
[TitanoxHook LHHookFunction:(void *)IsHaveHeroSkin hookFunction:(void *)_IsHaveHeroSkin inLibrary:"UnityFramework" outHookRef:&outIsHaveHeroSkin];
if(outIsHaveHeroSkin.trampoline)
{
saveToFile("Hooked IsHaveHeroSkin");
}
else
{
saveToFile("Failed to hook IsHaveHeroSkin");
}
and Log:
but In game, IT isn't working
The text was updated successfully, but these errors were encountered: