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 


Finding pointers

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

Joined: 05 Jun 2010
Posts: 0

PostPosted: Thu Mar 24, 2011 9:42 am    Post subject: Finding pointers Reply with quote

Hi there, I am a beginner just playing around with the cheat engine tutorial. I learnt that I need to find out addresses of pointers. But sometimes the tutorial says find out what writes, while sometimes it says find out what access. And I am confused, what is the difference between both of them??

Please help me thank you!
Back to top
View user's profile Send private message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Wed Apr 13, 2011 12:02 pm    Post subject: Reply with quote

There are two types of memory you usually require while programming..
1) Register (Usually 32-bit) [ small temporary variable built inside CPU)
2) Your Computer Memory (RAM)

mov eax, 23456787 // here we are moving value 23456787 to eax
mov [eax],10 // here we are moving value to RAM address 23456787 and not in eax.

So any thing inside [ ] these brackets are pointer to memory(RAM)..
and eax,ebx,ecx,edx,edi,eip,ebp,esp are registers general purpose register
******************************

mov eax,[esi+04] // Here esi is containing address of memory . let us say esi =11123450. and 04 is the offset.. so the actual memory location pointer by [esi+04] = 11123454.
Here we the brackets are deferencing the address..
So, the value stored at 11123454 is moving in eax.. Hence we can say we are reading the memory at 11123454.(memory read)

mov [esi+04],eax // here we are moving the content pointed by esi+04 to eax. So we can say we are writting the value of eax into the memory location pointer by esi+04.(memory write)

When you use " find out what writes". it will show all the codes that are actually writting to memory location..

When you use " find out what read". it will show all the codes that are actually reading from memory location..

When you use " find out what access". it will show all the codes that are both reading and writting memory location..
Back to top
View user's profile Send private message Send e-mail
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