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: 13

Joined: 24 Feb 2017
Posts: 388
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: 13

Joined: 24 Feb 2017
Posts: 388
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
TheyCallMeTim13
Wiki Contributor
Reputation: 13

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

PostPosted: Thu Jan 18, 2018 9:21 am    Post subject: Reply with quote

Not really, but you can try "ollydbg" or "x64dbg". Other than that it's mostly just trial and error.
_________________
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
Dark Byte
Site Admin
Reputation: 350

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

PostPosted: Thu Jan 18, 2018 9:25 am    Post subject: Reply with quote

those have to guess as well

what you can do in CE, is just press the left/right arrow keys for ce's disassembler to shift by 1 byte

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
OldCheatEngineUser
Whateven rank
Reputation: 9

Joined: 01 Feb 2016
Posts: 867

PostPosted: Thu Jan 18, 2018 9:59 am    Post subject: Reply with quote

db when ce will support avx instruction set?
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
patched cheat engine tutorials
Memory Hacker
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 350

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

PostPosted: Thu Jan 18, 2018 1:35 pm    Post subject: Reply with quote

omce there are avx only games
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
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 -> 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