Skip to content
Guest Big Announcement

Plants vs Zombie Heroes

Featured Replies

Hi Guys :)

 

Short question , i try to hack this game , i found the IDA address, after i change this commands:

SUB.W           R0, R0, R1 to ADD , it works but in the game i see only the string change, from 1 to 2 but theN i cann' t move a Plants on the game.

 

PUSH            {R4,R7,LR}
__text:005161EC                 ADD             R7, SP, #4
__text:005161EE                 MOV             R4, R0
__text:005161F0                 CMP             R2, #1
__text:005161F2                 LDR             R0, [R4,#0x2C]
__text:005161F4                 SUB.W           R0, R0, R1
__text:005161F8                 STR             R0, [R4,#0x2C]
__text:005161FA                 ITT EQ
__text:005161FC                 LDREQ           R0, [R4,#0x24]
__text:005161FE                 CMPEQ           R0, #3
__text:00516200                 BNE             loc_516212

 

What you think its the reason ? Please i need your help

 

Thanks

 

ELREYS

  • Author

I found the Address in IDA , but i dont understand the reason , why the change is not affected on the game.

I thinker this was Server Sided game, but if we can Game without the internet connection, that mean the function for the Stars and the Health are hard coded , it's this correct? Please Guys explain me a reason that I can understand

 

Thanks ????

Hi Guys :)

 

Short question , i try to hack this game , i found the IDA address, after i change this commands:

SUB.W           R0, R0, R1 to ADD , it works but in the game i see only the string change, from 1 to 2 but theN i cann' t move a Plants on the game.

 

PUSH            {R4,R7,LR}

__text:005161EC                 ADD             R7, SP, #4

__text:005161EE                 MOV             R4, R0

__text:005161F0                 CMP             R2, #1

__text:005161F2                 LDR             R0, [R4,#0x2C]

__text:005161F4                 SUB.W           R0, R0, R1

__text:005161F8                 STR             R0, [R4,#0x2C]

__text:005161FA                 ITT EQ

__text:005161FC                 LDREQ           R0, [R4,#0x24]

__text:005161FE                 CMPEQ           R0, #3

__text:00516200                 BNE             loc_516212

 

What you think its the reason ? Please i need your help

 

Thanks

 

ELREYS

can I vote up for this?
  • Author

DiDa Shmoo, this is what i receive on IDA

http://imgur.com/a/PQiDn, what i can do to find the right function call address?

I try to read the LR register but he goes in NIRVANA really difficult, shmoo you tell me to start a backtracing, what you mean exactly?

 

Thanks Guys :)

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.