Skip to content
Guest Big Announcement

Help with hacking coin value

Featured Replies

Hey guys,

 

I have used GDB to get the real address when I add to the money value. The address led me to this highlighted instruction:

ce978420ae5c6808cbeed4c113979adc.png

 

I changed it to MOV R0,R7 but when I change the money value in the game it crashes. Anyone know what to do?

Solved by steelabood1

u forgot bx lr. no do this ever agen!! 

 

do this

MOV   R0, R7
BX LR

happy life,

 

tiramize

Updated by Tyramisu

  • Author

u forgot bx lr. no do this ever agen!! 

 

do this

MOV   R0, R7
BX LR

happy life,

 

tiramize

 

Thank you for your help. I tried it, it does not force close but it freezes graphically. I can still hear the music and everything but cannot do anything in the game.

Thank you for your help. I tried it, it does not force close but it freezes graphically. I can still hear the music and everything but cannot do anything in the game.

This looks like a gameloft game :o

 

My guess to why its freezing is that the value is too big. I don't really know, its just a guess. When I hack games, I make a list of each avalible way to hack the game. Here's your list:

 

1. LDR R0, [R4, #0x10] to NOP (c046)

2. BL sub_33b396 to MOV R0, R7 NOP (381c c046), needs to be 4 bytes, thats why I put a NOP

3. LDR R0, [R4, #0x10] to MOV R0, #0 (0020)

4. LDR R0, [R4, #0x10] to MOV R0, #1 (0120)

 

 

try those :p

  • Author

Are you changing the whole function or just that instruction?

I am changing the instruction and the compare under it.

 

This looks like a gameloft game :o

 

My guess to why its freezing is that the value is too big. I don't really know, its just a guess. When I hack games, I make a list of each avalible way to hack the game. Here's your list:

 

1. LDR R0, [R4, #0x10] to NOP (c046)

2. BL sub_33b396 to MOV R0, R7 NOP (381c c046), needs to be 4 bytes, thats why I put a NOP

3. LDR R0, [R4, #0x10] to MOV R0, #0 (0020)

4. LDR R0, [R4, #0x10] to MOV R0, #1 (0120)

 

 

try those :p

I will try it now and update you. Thanks.

  • Author

This looks like a gameloft game :o

 

My guess to why its freezing is that the value is too big. I don't really know, its just a guess. When I hack games, I make a list of each avalible way to hack the game. Here's your list:

 

1. LDR R0, [R4, #0x10] to NOP (c046)

2. BL sub_33b396 to MOV R0, R7 NOP (381c c046), needs to be 4 bytes, thats why I put a NOP

3. LDR R0, [R4, #0x10] to MOV R0, #0 (0020)

4. LDR R0, [R4, #0x10] to MOV R0, #1 (0120)

 

 

try those :p

Ok, so:

 

1. Game crashed

2. Had 226 coins, spent 150, the coin text showed 0. I exited the game then entered, the coin value returned normal. So, no change.

3. Game crashed

4. Game crashed

That's weird, maybe the function being branched to in #2 is controlling price? Try modding that further

  • Author

That's weird, maybe the function being branched to in #2 is controlling price? Try modding that further

I opened the branch, this is how it looks:

bf4b9604385fc4b2957d2246184ce389.png

 

Can I modify the last instruction to MOV R0, R7?

I opened the branch, this is how it looks:

bf4b9604385fc4b2957d2246184ce389.png

 

Can I modify the last instruction to MOV R0, R7?

Try BX LR'ing that whole function

 

in gdb:

 

set *0x33b396=0x4770

  • Author

Try BX LR'ing that whole function

 

in gdb:

 

set *0x33b396=0x4770

lol... Some weird glitch occurred. I tried to change the money value by clicking on a coin to collect it. The coin kept spinning in the same place. Nothing changed in the money value.

  • Author
  • Solution

Try BX LR'ing that whole function

 

in gdb:

 

set *0x33b396=0x4770

Is there a way to know the address of what is causing the crash in GDB?

I bx lr'd the highlighted subroutine and it worked. I now have infinite money.

d2f0a1148ee07ccb7481d3a12b51dd07.png

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.