Jump to content

Modifying ARM 64 instruction (IDA)


Go to solution Solved by 0xygen,

3 posts in this topic

Recommended Posts

Posted

I found currency related offset and I want to modify that but I don't know how to do it.

I already search TUT section but I only found the one for arm7 and not arm64.

 

LDR             W0, [X0,#0x48]

Let say I want to load x amount of money into W0 (88888 for example), How can i achieve that?

That is one of the thing that idk until now, My brain only able to digest SUB, ADD and BOOL. HAHAHA

  • Solution
Posted (edited)

You can use

MOV W0, #Number-Here
MOV W0, #9999

 

If you want specific numbers like 88888, you need to do some manual calculation, but you can still store large values normally using MOV like powers of 2. Eg. 16777216

You can try

MOV W0, #44444
MOV W1, #2
MUL W0, W0, W1

 

Updated by Zahir
  • Thanks 1

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