Jump to content

18 posts in this topic

Recommended Posts

Posted

4CF25E                 ADDS             R0, #1  

 

change this to a mov r0,r7

Just now, K_K said:

4CF25E                 ADDS             R0, #1  

 

change this to a mov r0,r7

381c

Posted (edited)
9 hours ago, K_K said:

4CF25E                 ADDS             R0, #1  

 

change this to a mov r0,r7

381c

nothing happening on decrease or increase....... :)

 

Updated by Goran
Posted

did you change in a hex editor and put back into ipa?

 

Posted (edited)
8 hours ago, K_K said:

did you change in a hex editor and put back into ipa?

 

Changed with HxD, Signed, 777 everything... but nothing happens... maybe that BRANCH??? i will try to breakpoint that LOC... to see what happens...

 

how to breakpoint this loc? " loc_4CF252 "

"b 0x4CF252"?

Updated by Goran
Posted (edited)

what can be done here? Coin Dozer Game
R1 holds Coins value...

 

__text:004CF252 loc_4CF252                  ; CODE XREF: sub_4CEE7C+3CCj
__text:004CF252                 ADD.W           R0, R4, R11,LSL#2
__text:004CF256                 LDR                R1, [SP,#0x34+var_2C]
__text:004CF258                 STR                R1, [R0,#0x10]
__text:004CF25A                 LDR.W           R0, [R8,#0x30]
__text:004CF25E                 ADDS            R0, #1
__text:004CF260                 STR.W           R0, [R8,#0x30]
__text:004CF264                 ADD              SP, SP, #0x1C
__text:004CF266                 POP.W          {R8,R10,R11}
__text:004CF26A                 POP             {R4-R7,PC}

 

b 0x4CF252
Breakpoint 1: where = CoinDozer`CallbackILi1ELb1EE + 444833, address = 0x004cf252
(lldb) c
Process 235535 resuming
(lldb) Process 235535 stopped
* thread #1: tid = 0x3980f, 0x004cf252 CoinDozer`CallbackILi1ELb1EE + 444833, stop reason = breakpoint 1.1
    frame #0: 0x004cf252 CoinDozer`CallbackILi1ELb1EE + 444833
CoinDozer`CallbackILi1ELb1EE + 444833:
-> 0x4cf252:  addeq  lr, r11, r4, lsl #22
   0x4cf256:  .long  0x61019902                ; unknown opcode
   0x4cf25a:  .long  0x0030f8d8                ; unknown opcode

Updated by Goran
Posted
18 hours ago, Goran said:

Man, I dont know, I did not makr that game, am just hacking :)

will try... :)

I meant the other texts by the registers on your image example load from memory 

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