Friday, 13 October 2023

Help hooking

Help the game crashes when using MsHookFunction in Ted's template Code: int (*old_Coin)(void *instance); int Coin(void *instance) { if (instance != NULL) { float userAmount = [[switches getValueFromSwitch:@"Money"] floatValue]; if([switches isSwitchOn:@"Money"]) { return userAmount; } } return old_Coin(instance); }

from iOSGods RSS Feed https://ift.tt/ghdWstS

No comments:

Post a Comment