This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! Apply changes from Dump.cs

Pheonix_0

Platinian
hi i'm new at modding, i have a dump.cs, but idk what should i do to it... did there's a way to convert dump.cs to libil2cpp again? or maybe apply the changes to the game
 
Dump.cs is only used to find offsets for hacks, for example if you want to do unlimited health, you open the dump.cs in a text editor and search for keywords like "health" "damage" etc.

Once you find your offsets you can either hex patch libil2cpp.so file directly in a hex editor, or hook them in a mod menu. You can't edit dump.cs directly then convert it back to libil2cpp.
 

nah, yh, it's work, but only for methods, idk, i want to mod something like field offset, i alr try in gg, but almost all tutorial i have seen is for 64-bit, but mine is 32-bit, maybe there's a way to find offset field in gg for 32-bit, or maybe there's a way to apply it like method? idk
 

Not sure how to do in gg as I have no experience with gg, with mod menu you can access field offset with class instance. Look for Update() method and hook it

C++:
void (*orig_Update)(void* instance);
void hook_Update(void* instance) {
    if (instance != NULL) {
        // instance + your offset
        // example offset 0xC is health
        *((int(*)())((uint32_t)instance + 0xC) = 999;
    }
    orig_Update(instance);
}
 
oh okay, idk about mod menu too, my phones doesn't support aide cmods or other mod menu maker
 
1. Edit dump.cs to modify game logic.
2. Recompile using il2cpp with the game's source code.
3. Replace the original libil2cpp.so with the new one.
4. Test the modified game.
Note: This assumes you have access to the game's source code and the ability to recompile the game