Jump to content

 Something great is coming! 🚀

Stay tuned for the big reveal happening here on iOSGods on the 17th of December!

The countdown has finished!

26 posts in this topic

Recommended Posts

Posted (edited)

if you don't know what are you doing then do not give other advise please, it will make them confuse

you said he should find a register that equals 0

I'm not sure if you even need To find a register with the value of 0

Why not do str #0

Doesn't that work? It's not advice. It's a question.

Updated by KingRalph
Posted

you said he should find a register that equals 0

I'm not sure if you even need To find a register with the value of 0

Why not do str #0

Doesn't that work? It's not advice. It's a question.

Try it and you'll have the answer ;). What I meant is find another registers which hold 0 value

 

Ex: R1 = 3, R2 = 0 then change the str xx, [yy, #zz] to str R2, bla bla

Posted (edited)

@@KingRalph

 

STR is a ARM function that is used to store values in memory, When u have a function like str r0, [r1, #0x99], what the computer does, is it grabs the value of r0, and stores it into R1 at the address 0x99 in memory. Changing the address to 0x0 (0) will without a doubt cause a crash, as the program would be modifying section of memory that probably doesn't even exist. Same goes for NOPing an STR, sooner or later, some function will try to access the amount stored at the register at the memory address, and crash, since the value is not present. When we hack, we changes R0 to another register so when the program stores the values, it will store a higher value from the other register, into a register at a memory location, which could hold currency, energy, health, damage, stats etc etc. 

Updated by RickHaks
Posted

Try it and you'll have the answer ;). What I meant is find another registers which hold 0 value

 

Ex: R1 = 3, R2 = 0 then change the str xx, [yy, #zz] to str R2, bla bla

what is your mean [xx, #yy] ? please explain more about xx and yy.

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