Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Making a table for Inquisitor, need assembly help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
SorbitolO
Newbie cheater
Reputation: 0

Joined: 02 Oct 2012
Posts: 12

PostPosted: Wed Oct 03, 2012 8:07 am    Post subject: Making a table for Inquisitor, need assembly help Reply with quote

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!
Back to top
View user's profile Send private message
desertricker
Advanced Cheater
Reputation: 0

Joined: 20 Jan 2013
Posts: 55
Location: 127.0.0.1

PostPosted: Sun Jan 20, 2013 11:03 am    Post subject: Reply with quote

Code:
006226D5 - 83 F9 08 - cmp ecx,08
006226D8 - 72 2A - jb Inquisitor.exe+222704


this code compares ecx and 08 and if ecx is below 08 it jumps to Inquisitor.exe+222704

Code:
Inquisitor.exe+222704 - FF 24 8D 88276200     - jmp dword ptr [ecx*4+Inquisitor.exe+222788]


and according to this code you should follow the adress [ecx*4+Inquisitor.exe+222788]

I hope I helped a little :3

_________________
Assembly var dediler geldik Very Happy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites