Skip to content
Guest Big Announcement

How to modify this values? [IDA]

Featured Replies

Hi! 


 


in most games I'm finding this:


 


feh05h.jpg


 


How can i edit them? or how can i know what is the value to change it?


 


Changing them to mov ro, r7 or something similar, does not work (game crash).


i don't think you have to modify those code like you show on screenshot. search something like getGold, getCash, getDiamond and try put MOV r0, r7 below sub_xxxxx and put BX LR is end function below MOV r0, r7

sub_xxxxx

    MOV r0, r7
    BX LR

i most put MOV r0, r7 and BX LR (as end function) for unlimited money 16.777.215. i have very less knowledge of ARM so i'm not really sure if it works for this game

Updated by evildog1

I don't think you can hack that way. My best guess is that you are searching in the strings window. Strings cannot be hacked like functions (well they can, just not the way you are doing it). It is a sub_x game, so use iGameGuardian to find the values for dexperian, gold, and diamonds, set a watchpoint in GDB, and get the function from that. After you find the function that is in charge of getting dexperian, gold, or diamonds, you can then do

 

MOVS R0, R7

BX LR

 

I also have no idea what the game is, so putting only MOVS R0, R7 and then a BX LR might not work.

Updated by Guest

What he said

These are good answers, but they don't work in this case.

At every line of code he highlighted, look 2 lines below. That's the hackable code ^_^

You can use the suggestions given by @@evildog1 and @@Shmoo419 on the line of code I specified

  • Author

I think it's

LDR   R1, PC
BX    LR 

 

@@castix And what it does? what value is in r1?

 

 

 

 
These are good answers, but they don't work in this case.

At every line of code he highlighted, look 2 lines below. That's the hackable code   ^_^

You can use the suggestions given by @+evildog1 and @shmoo419 on the line of code I specified

 

@@KingRalph Change the ADD R2, PC to MOV r0,r7?

Updated by orella

@ so what's your suggestion?

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.