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 


A basic help to a beginner

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4715

PostPosted: Fri Nov 22, 2019 11:14 am    Post subject: Reply with quote

You have to do something in the game to make that code run. See the numbers under the "Count" column in the "Find out what instructions access this address" window? Each number is increased when the game runs that instruction.

Also, the globalalloc should have 8 bytes, not 4.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Pemifo
How do I cheat?
Reputation: 0

Joined: 05 Oct 2019
Posts: 2

PostPosted: Fri Nov 22, 2019 1:06 pm    Post subject: Reply with quote

ParkourPenguin wrote:
You have to do something in the game to make that code run. See the numbers under the "Count" column in the "Find out what instructions access this address" window? Each number is increased when the game runs that instruction.

Also, the globalalloc should have 8 bytes, not 4.


Thanks, now its working. And how am I going to understand if globalalloc is going to be 4 or 8?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Nov 22, 2019 1:09 pm    Post subject: Reply with quote

The size of instructions based on 32bit or 64bit determines that.

[rdi+810] in your example is 64bit, while it is moving its value into a 32bit register EAX, the pointer itself is 64bit.

32bit pointers take up to 4 bytes of space.
64bit pointers take up to 8 bytes of space.

_________________
- Retired.
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