Jump to content

11 posts in this topic

Recommended Posts

Posted

So I found a function called something like 'setHp' and I wanna know what I have to edit for it to be "hacked"...

 

211f32a861764bd2a8b035c978d400a5.png

 

Thanks for the help. I'm such a noob at IDA, sorry :rofl:

Posted

Just mod the first offset.

 

Use these codes:

381C 7047; MOV R0, R7 BX LR
7047; BX LR
01207047; MOV R0, #1 BX LR
00207046; MOV R0, #0 BX LR

The MOV?

Oh I think I did the MOV already :p

Posted (edited)

The MOV?Oh I think I did the MOV already :p

No, I said to mod the first offset, of the function. The codes I gave you the are the ones you're going to use to mod the function.

 

Can be done on Theos by:

writeData(0xOFFSET, 0xNEWHEX);turns intowriteData(0x123456, 0x381C7047);
Updated by Diversityy
Posted

No, I said to mod the first offset, of the function. The codes I gave you the are the ones you're going to use to mod the function.

 

Can be done on Theos by:

writeData(0xOFFSET, 0xNEWHEX);turns intowriteData(0x123456, 0x381C7047);

I'm a little confused, sorry :sad:

 

I have no idea what to do...

Posted

:WHY:

 

Mod "PUSH {R7, LR}" and turn it into "381C7047." Test it out.

I'm a newbie :gasm:

 

Alright. Lemme try.

:WHY:

 

Mod "PUSH {R7, LR}" and turn it into "381C7047." Test it out.

Okay so 381C7047 is the hex code, right?

Posted

change "PUSH {R7, LR}" to "MOV R0, R7"

and then change "MOV R7, SP" to "BX LR" and you should be good.

here the hex codes.

38 1C <--- MOV R0, R7

70 47 <--- BX LR

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