could you give me an example?Patching in param you need to open IDA, you cant simply blxr without see the structure of the whole code
thanks for the immense help, although I still don't know how to use the hook, I think that from here I can go alone and learn thanks for the help friendsbool AddCoin = false;
void (*old_addcoin)(void *instance, int coin);
void addcoin(void *instance, int coin) {
if (instance != NULL) {
if (AddCoin) {
old_addcoin(instance, 1000000);
return;
}
}
old_addcoin(instance, coin);
}
MSHookFunction((void *)getAbsoluteAddress("libil2cpp.so", 0x5E5BD4), (void *) addcoin, (void **) &old_addcoin);
OBFUSCATE("0_Toggle_Add Coins"),
case 0:
AddCoin = boolean;
break;
is there a different thing between dnspy and dump.cs?Don't use dnspy address ok
Use only address dump.cs
No, there isn't any difference when it comes to offsets the same offsets you'll see in dump.cs file will be same in dnspy, in fact looking and searching in dnspy is even better since it give better structural view, the only time you might want to check dump.cs is if there isn't a dummy dllsis there a different thing between dnspy and dump.cs?
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