Jump to content

Recommended Posts

Posted

Hello All, 

I am trying to modify a value of crystals/golds from one game, i was able to successfully create a dump file using il2cppDumper and found the class , field offset and method offset. in the game guardian i am providing the offset 0x824F0C (pic1) and then pressed "Xa" . It opens up a list of files to choose from(pic2)  and i am choosing "libil2cpp.so" (2nd option).  It brings me to the address shown in pic3. now i don't know what should i do next to find the real address of golds/crystals and how to change the values. I am still learning how to use game guardian. Can someone please help me.

The game is : Trainer Canyon 

link: https://trainer-canyon.en.softonic.com/android

 

Below is a snippet of the code from dump file.
 

// Namespace: protocol

[ProtoContractAttribute] // RVA: 0x824F0C Offset: 0x824F0C VA: 0x824F0C

[Serializable]

public class GetPlayerInfoAllWSC : IExtensible // TypeDefIndex: 3266

{

    // Fields

    private int _gold; // 0x34

    private int _crystal; // 0x40

   

pic1.png

pic2.png

pic3.png

Posted
16 minutes ago, Sasuke_Uchiha07 said:

yes, there is.
 

// RVA: 0x12FE148 Offset: 0x12FE148 VA: 0x12FE148

    public int get_gold() { }

 

Then try going to that offset and editing that and see if it works.

Have the Arm 64 opcodes set to show in GG. Go to the offset, press edit button, hit the triangle next to the value to open the drop down box, select the Arm 64 opcode at the bottom.

Edit will be something like "~A8 MOV W0, #65000". Edit the line directly under it to "~A8 RET".

Then check if your gold changes.

Good luck 🤞🏼

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.