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 


Offset calculation

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Demon777
How do I cheat?
Reputation: 0

Joined: 07 May 2012
Posts: 1

PostPosted: Mon May 07, 2012 5:36 pm    Post subject: Offset calculation Reply with quote

Hey everyone,
could someone help me to solve this one?

Code:
00401E14 - 66 C7 47 10 2400 - mov word ptr [edi+10],0024
00401E1A - 8B 0D 7CCA4F00  - mov ecx,[004FCA7C]
00401E20 - 8B 34 8D 88CA4F00  - mov esi,[ecx*4+004FCA88] <<
00401E27 - 33 C9  - xor ecx,ecx
00401E29 - 89 4D F4  - mov [ebp-0C],ecx

EAX=0012FD3C
EBX=01494260
ECX=000003A5
EDX=014FECE0
ESI=0000000B
EDI=0012FD08
ESP=0012FCFC
EBP=0012FD44
EIP=00401E27


well, mov esi,[ecx*4+004FCA88] is confusing me. How to calculate it?
Hope someone can give me a Tip how to get an offset out of this.
Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25804
Location: The netherlands

PostPosted: Mon May 07, 2012 5:51 pm    Post subject: Reply with quote

There is no offset, this is a static address, which seems to be located inside an array, and the array index of what you need is stored at 4fca7c (What game is so lame to do this?)

You can't write this down as a cepointer, but you can use code injection here to store the address in a place you know, or use lua
E.g.: address=readInteger(0x4fca7c)*4+0x4fca88

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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