void (*GoldHack_old)(void *instance);
void GoldHack(void *instance){
if(instance != NULL && NM.isMajor){
*(float *) ((uint64_t) instance + 0x300) = 999.5f;
}
return GoldHack_old(instance);
}
A64HookFunction((void *)getAbsoluteAddress("libil2cpp.so", 0x655D98), (void *)GoldHack, (void **)&GoldHack_old);
i've tried hook update method on another game, it didnt work@Poison Modz rename the update old_ / _old doesnt change anything, u can use any random name still works lol
@Denka everything looks fine to me, maybe use other update method from another class that used on that instance
doesnt have any senseWhy are you returning value in à void type ? Void does not return value
Replace this
return GoldHack_old(instance);
By juste
GoldHack_old(instance);
Yes it does h1ve since if you cant understand that void function does not return value you need to start learning programingdoesnt have any sense
do not teach me, IT WORKS FINE with "return"Yes it does h1ve since if you cant understand that void function does not return value you need to start learning programing
Dictators: No PeaceGame name
i wanna make it by mydelf, to learn moddingI already make mod for dictator no peace
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies