SorbitolO Newbie cheater
Reputation: 0
Joined: 02 Oct 2012 Posts: 12
|
Posted: Wed Oct 03, 2012 8:07 am Post subject: Making a table for Inquisitor, need assembly help |
|
|
I've been making a table for the RPG Inquisitor while learning autoassembler. I managed to find pointers for health, stamina and mana and wrote autoassembler scripts to keep them at a minimum level. I also made a script for infinite bow ammo.
However, I got stuck trying to do the same with item charges. I managed to find the right pointer, but I have no idea what the code that is accessing the address is doing. It's supposed to decrease the value by two every time it runs, but I can't figure out how and I don't understand how a conditional jump can be accessing the address. I've tried googling but it didn't help much. Could any of you fine gentlemen help me out?
| Code: | 00622CF - C1 E9 02 - shr ecx,02
006226D2 - 83 E2 03 - and edx,03
006226D5 - 83 F9 08 - cmp ecx,08
006226D8 - 72 2A - jb Inquisitor.exe+222704 << //This is the only opcode that writes or accesses the address
006226DA - F3 A5 - repe movsd
006226DC - FF 24 95 F4276200 - jmp dword ptr [edx*4+Inquisitor.exe+2227F4]
EAX=0018C396
EBX=00000001
ECX=00000007
EDX=00000002
ESI=0018C378
EDI=14806B68
ESP=0018C2FC
EBP=0018C304
EIP=006226DA
|
The jump leads to another jump which I'm not sure how to follow: | Code: | Inquisitor.exe+222704 - FF 24 8D 88276200 - jmp dword ptr [ecx*4+Inquisitor.exe+222788]
|
I hope that makes sense, I wasn't sure how much code to include. Grateful for any help!
|
|