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 


How does the memory viewer's "step out" feature re

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

Joined: 06 Jan 2024
Posts: 1

PostPosted: Sat Jan 06, 2024 10:23 pm    Post subject: How does the memory viewer's "step out" feature re Reply with quote

So I'm trying to reverse-engineer "The Battle of Wesnoth" version 1.14.9, and as part of this I'm trying to reach a particular address
Code:
wesnoth.exe+8CAF23

Starting from a breakpoint at
Code:
wesnoth.exe+3CCD9E

which can be activated when recruiting a unit (in turn deducting your gold).

This is no issue for x32dbg, where I can simply perform the operations
Code:
Execute until return,
Step over

8 times, which will then get me to the target address.

However, I can't seem to do the same with cheat engine. No matter how many times I perform
Code:
Step out

cheat engine never actually reaches the target address, even though the first 7 addresses reached by the "step out" feature are exactly the same as those reached by x32dbg.

Why is this the case?
Does "step out" not actually perform "execute until return" and then "step over" as per x32dbg?
How can I reach the target address without needing to spam "step into" or step over"?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Jan 07, 2024 5:54 am    Post subject: Reply with quote

it gets the return address from the stack and sets a breakpoint there. If for some reason that's wrong it won't work
_________________
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