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 


Incorrect disassembly

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

Joined: 06 Jan 2018
Posts: 3

PostPosted: Sat Jan 06, 2018 4:54 pm    Post subject: Incorrect disassembly Reply with quote

The instructions that show in the disassembler are not stable: Executing a "Select current function" on an instruction causes that instruction to vanish, its address now incorporated into a different instruction.

Here's a 10 second video that illustrates what I've encountered:
youtu.be/1nAxXX7F_rw

(I can't post URLs, yet.)

I've never seen this behavior in Cheat Engine, before. What's going on?

The address of the initial instruction was found using the "Find what writes to the address" function.

Note that after the "Select current function" operation the original instruction is gone.
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 5

Joined: 24 Feb 2017
Posts: 146
Location: Right Here Buddy.

PostPosted: Sat Jan 06, 2018 5:13 pm    Post subject: Reply with quote

Cheat Engine's disassembler, like all disassemblers just guesses the best it can from some starting point you can select near the instruction and press the left or right key and it will shift and reinterpret the byte code.
_________________
A: What manner of man are you that can summon up fire without flint or tinder?
T: I... am an enchanter.
Back to top
View user's profile Send private message
kwyjibo
How do I cheat?
Reputation: 0

Joined: 06 Jan 2018
Posts: 3

PostPosted: Sat Jan 06, 2018 5:39 pm    Post subject: Reply with quote

Thank you for sharing that tip, TheyCallMeTim13.

I wonder why it is that the breakpoint set at the address identified by "Find out what writes to this address" isn't hit, in this case. Is the address of the instruction identified by that feature reliable?
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 5

Joined: 24 Feb 2017
Posts: 146
Location: Right Here Buddy.

PostPosted: Sat Jan 06, 2018 5:57 pm    Post subject: Reply with quote

Yeah, I would trust the why the debugger found it.
_________________
A: What manner of man are you that can summon up fire without flint or tinder?
T: I... am an enchanter.
Back to top
View user's profile Send private message
kwyjibo
How do I cheat?
Reputation: 0

Joined: 06 Jan 2018
Posts: 3

PostPosted: Sun Jan 07, 2018 1:53 am    Post subject: Reply with quote

Thanks, again, TheyCallMeTim13.

Does anyone have any suggestions for how to deal with situations in which Cheat Engine seems to be guessing the instructions incorrectly? I can set breakpoints one byte backward at a time to identify the instruction boundaries but doing so is time and labor intensive.

Is this the way that everyone proceeds? Or do you have some clever tricks that make this process more manageable? Or maybe you use another disassembler?
Back to top
View user's profile Send private message
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