[CompilerGeneratedAttribute] // RVA: 0x671F78 Offset: 0x671F78 VA: 0x671F78
// RVA: 0x192A2DC Offset: 0x192A2DC VA: 0x192A2DC
public long get_Coins() { }
Not workingint (*old_Coins)(void *instance);
int Coins(void *instance){
if (instance != NULL){
return 9999;
}
return old_Coins(instance);
}
Not working
Thanks for thisView attachment 546973
don't use address compiler , use this redline address then hook like this
long(*old_get_LonglExample)(void *instance);
long get_LonglExample(void *instance) {
if (instance != NULL ) {
return 9999999999999;
}
return old_get_BoolExample(instance);
}
HOOK_LIB("libil2cpp.so", "0x192A2DC", get_LonglExample, old_get_LonglExample);
i suggest look documentation from lglteam :
Android-Mod-Menu/app/src/main/jni/Main.cpp at master · LGLTeam/Android-Mod-Menu
Floating mod menu for Android. Contribute to LGLTeam/Android-Mod-Menu development by creating an account on GitHub.github.com
What specifically ain’t workingThanks for this.
(But Not Working)
YesWhat specifically ain’t working
See This Basic Hooking Tutorial - Platinmods.com - Android & iOS MODs, Mobile Games & AppsView attachment 547523
Game: Cowboy Town 1880
"I'm also facing the same issue. I can't establish the connection with the (long)."
bool coin = false;
int (*old_Coin)(void *instance);
int get_Coin(void *instance) {
if (instance != NULL) {
if (coin) {
return (int) 999999;
}
}
return old_Coin(instance);
}
It didn’t work T-T”.See This Basic Hooking Tutorial - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
And You Need to Hook Like this
Code:bool coin = false; int (*old_Coin)(void *instance); int get_Coin(void *instance) { if (instance != NULL) { if (coin) { return (int) 999999; } } return old_Coin(instance); }
Did you try or just saying this By seeing.It didn’t work T-T”.
“The displacement is probably wrong”Did you try or just saying this By seeing.
If You have try and not working then . The offset for coin is wrong
“The displacement is probably wrong”
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