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 


AA unused registers ??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Thu Oct 13, 2016 5:03 pm    Post subject: AA unused registers ?? Reply with quote

Iam trying to write pointer to my AA script ( the pointer is in the same structure )

How can I know If the register is unused.
if it is in the debugger window ?
could the register have value zero? so its unused
or by memory view I really dont know
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Oct 13, 2016 5:27 pm    Post subject: Reply with quote

Not sure why you're asking, but you can use push/pop to free up any registers for temporary use.
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Thu Oct 13, 2016 7:49 pm    Post subject: Reply with quote

you wouldnt know for sure unless you read through the function's ASM instructions. even then, when the function call returns, you also wouldnt know if a register will be in use again or restored. so if you want to use a register, just push it then pop it again after you no longer need it as METHOS said.
Back to top
View user's profile Send private message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Fri Oct 14, 2016 5:21 am    Post subject: Reply with quote

thank you I got the idea
Back to top
View user's profile Send private message
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