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

Help! how to find the correct offset?

ReyNoTeam

Platinian
Original poster
Feb 22, 2020
44
24
8
PlatinMods
how to find the correct offset?
I am confused about which offset is useful,
give me a hint, whatever the answer I am very grateful
 

LimeVanilla

Platinian
May 18, 2018
24
35
18
Somewhere Anywhere
Correct me if I'm wrong.

This is the way I do, even though I just learn.

1. Public class User/Hero/NPC
- I try to find this public class first before jump to offset. Depends on what I want to change.

2. Methods
- After done finding public class, I check the offset under this Methods. It should be after Fields.

3. Copy Offset and go to HxD and try to change the hex code/arm.

4. Try your mod. Sometime you need to understand how the game work.

The problem for me is, I have to understand the ARM. That's quite hard.
 

Yaskashije

PMT Elite Modder
Staff member
Modding-Team
Sep 9, 2018
4,384
850,054
1,213
Minkowski Space
Just as you said. ALthough that will not be enough for most of times (and you assumed it was a libil2cpp game).

So:

1b. Load libxxxxx.so in IDA. Load the dump script if il2cpp.


4b. Realize game crashes, or feature doesn't work as you intended.
5. Check it in IDA.
6. Try to understand what does it do.
7. Decide the best offset to patch
8. Decide wich is the best opcode to placein the offset

Go back to 4