Jump to content

I can't figure this out (IDA)


5 posts in this topic

Recommended Posts

Posted

I promise this will be the last support topic, sorry for posting so many :p

 

I don't know why I'm having trouble with this, I can usually make this work. I am trying to hack Temple Run: Oz, and I have the offset for coins, which is 0x111D18. Here is what is around that address:

 

__text:00111D84 loc_111D84                              ; CODE XREF: sub_111C74+E0j

__text:00111D84                 LDR             R0, [R10,#0x54]
__text:00111D88                 STR             R0, [R10,#0x50]
__text:00111D8C                 MOV             R0, #1
__text:00111D90                 B               loc_111D98
 
I know that it is saying to 
 
__text:00111D84 loc_111D84                              ; CODE XREF: sub_111C74+E0j
__text:00111D84                 LDR             R0, [R10,#0x54] Load R10+0x54 into R0
__text:00111D88                 STR             R0, [R10,#0x50] Store R0 into the value of R10+0x50
__text:00111D8C                 MOV             R0, #1 Move one into R0 (I'm pretty sure)
__text:00111D90                 B               loc_111D98 Branch to loc_111D98
 
What can I do to make it infinite? I've tried MOV R0, R7, STR R0, [R7], LDR R0, [R7], and even NOP, but I cannot get it to work. Help please :)
Posted

STR             R7, [R10,#0x50]

 

I'll try that, didn't even think of that :p

STR             R7, [R10,#0x50]

 

Didn't work :(

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 would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines