Jump to content

6 posts in this topic

Recommended Posts

Posted

Could anybody tell me when to use for example ADD(s), SUB(s), MOV(s), STR, LDR. and what numbers on register read I should be linking to it?

Posted

You use them when the original value use them too.

 

for example if you got a function that's for rewards & you see a ADD/S in it. You know you have to change that.

 

If its a spend/consume/use function, you look for a SUB.

 

But most people just

MOV R0, R7

BX LR 

a function from the top. What this does is move the value of r7 into r0, skip rest of function.

 

But this may end up in visual sh!t sometimes.

 

I like doing things inside the function rather that mov r0, r7 it.

Posted
11 minutes ago, Ted2 said:

You use them when the original value use them too.

 

for example if you got a function that's for rewards & you see a ADD/S in it. You know you have to change that.

 

If its a spend/consume/use function, you look for a SUB.

 

But most people just

MOV R0, R7

BX LR 

a function from the top. What this does is move the value of r7 into r0, skip rest of function.

 

But this may end up in visual sh!t sometimes.

 

I like doing things inside the function rather that mov r0, r7 it.

Shut up

Posted

so if the IDA offset takes you to for example a sub, you keep it as a sub but how do you know what r numbers to add to it

Posted
17 minutes ago, RyanZ said:

so if the IDA offset takes you to for example a sub, you keep it as a sub but how do you know what r numbers to add to it

No idk how to explain it lol

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