Skip to content
Guest Big Announcement

help with writeData please

Featured Replies

im trying to write this into writeData;

 

HEX-offset , IDA-offset / Old Function ---> New Function = thumb-hex  /  arm-hex  /  arm-gdb/lldb

 

//More Ammo
loc_3094CA;
3054CA , 3094CA & 3094CC / MOV R0, R4 & POP {R4,R7,PC} --->  MOVW R0, #65535 = 4FF6FF70 / FF0F0FE3 / E30F0FFF
3054CE , 3094CE / ALIGN 0x10 ---> POP {R4,R7,PC}  =  90BD / 9080BDE8 / E8BD8090

 

%ctor {
if(GetPrefBool(@"key1")) {
writeData(0x3094CA, 0xFF0F0FE3);
writeData(0x3094CE, 0x90BD);
} else {
}

iv tryed this in afew diffrent ways but cant get it to work. when i hex edit the binary it works fine. i just write over 2 offsets but when i try to add to tweak.xm. it dont work.

i think its because 3094CA is only 2 bytes and i need to write 4btye. i duno how else to explain what i mean hope someone can help.

 

Solved by MrDemoManHax

  • Author

i did put 90BD in the binary otherwise the hack wouldnt work mate


3094CA is only 2 bytes and the next offset is 2bytes so i need to over write 2 offset to make the 4 bytes but i duno how this is writen iv tryed everything

i did put 90BD in the binary otherwise the hack wouldnt work mate

3094CA is only 2 bytes and the next offset is 2bytes so i need to over write 2 offset to make the 4 bytes but i duno how this is writen iv tryed everything

Try this:

 

Once you put 90BD in the Tweak.xm, also put the original 2 bytes that come next after 90BD in the binary.

  • Author
  • Solution

yes bud xD  i was usings the wrong hex codes lol was using arm-hex instead of thumb-hex everythings fine now xD i swear i used arm-hex for my other hacks lol. oh well got it sorted now. cheers for trying to help mate.

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.