Posted: Thu Jun 13, 2019 2:36 pm Post subject: Cheat Engine Mono. Get Address instances and static fields.
Hello. I want to change my health value in a unity game.
I found the health class.
I found the instance of the health class.
I found the value of my health inside the instance.
Now I want to get the address of it and change it via CheatEngine or via a custom Cpp program. How do I do that? Thank you for your time. _________________
Posted: Fri Jun 14, 2019 3:22 am Post subject: Answer
following up for future people here's how you do it.
Attach proc
Mono->Dissect Mono->Find your class->Right click->Find instances of class->Find your instance
The address of the instance is the address of the first byte of the instance memory (NOT A POINTER TO THE INSTANCE LIKE YOU WOULD EXPECT). Copy this address. On the main Cheat Engine window click "Add Address Manually.
Paste the address of the instance and add the offset to the field you want to change (Which you can find in the Dissect Mono menu). Choose the type (Which you find in the Dissect Mono menu). And done you can freely edit it or find a static address normally. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum