Saturday, 3 April 2021

Needing assistance with defining the right codes for Inf Ammo

So when I set the watch for inf ammo, I landed on this code (10002928C): __text:0000000100029280 LDR X8, [X19,#0x470] __text:0000000100029284 ADD X9, X8, X22,LSL#2 __text:0000000100029288 STR W20, [X9,#0xD8] __text:000000010002928C LSL X21, X22, #3 __text:0000000100029290 ADD X8, X8, X21 __text:0000000100029294 LDR X0, [X8,#0x90] __text:0000000100029298 SXTW X8, W20 __text:000000010002929C MOV W9, #0x66660000 __text:00000001000292A0 MOVK W9, #0x6667 __text:00000001000292A4 MADD X8, X8, X9, XZR __text:00000001000292A8 LSR X9, X8, #0x3F __text:00000001000292AC ASR X8, X8, #0x22 __text:00000001000292B0 ADD W8, W8, W9 __text:00000001000292B4 MOV W9, #0xA __text:00000001000292B8 MSUB W8, W8, W9, W20 __text:00000001000292BC STR W8, [X0,#0x148] __text:00000001000292C0 STR WZR, [X0,#0x144] __text:00000001000292C4 LDR X8, [X0] __text:00000001000292C8 LDR X8, [X8,#0x18] __text:00000001000292CC LDR S0, [X0,#0x174] __text:00000001000292D0 LDR S1, [X0,#0x178] __text:00000001000292D4 BLR X8 __text:00000001000292D8 LDR X8, [X19,#0x470] __text:00000001000292DC ADD X8, X8, X21 __text:00000001000292E0 LDR X8, [X8,#0x90] __text:00000001000292E4 STRB WZR, [X8,#0x14C] __text:00000001000292E8 __text:00000001000292E8 loc_1000292E8 ; CODE XREF: sub_1000291D4+20↑j __text:00000001000292E8 SUB SP, X29, #0x20 __text:00000001000292EC LDP X29, X30, [SP,#0x20+var_s0] __text:00000001000292F0 LDP X20, X19, [SP,#0x20+var_10] __text:00000001000292F4 LDP X22, X21, [SP+0x20+var_20],#0x30 __text:00000001000292F8 RET __text:00000001000292F8 ; End of function sub_1000291D4 When I tried to nop all of the SUB; it may look like it worked as the number stuck on 0, but the gun is usable. The actual ammo is still subtracting from the backend which when it runs out; the weapon grayed-out. ARM64 is a little different from ARM so if I can get a little explanation and work the magic on this would be much appreciated.

from iOSGods RSS Feed https://ift.tt/3uxwFzR

No comments:

Post a Comment