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 


Dude what?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
navarone
Advanced Cheater
Reputation: 2

Joined: 29 May 2010
Posts: 72

PostPosted: Sat Aug 14, 2010 11:13 pm    Post subject: Dude what? Reply with quote

how the hell can

xor eax,eax

Access an address?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Aug 15, 2010 4:00 am    Post subject: Reply with quote

it doesn't
but perhaps it indirectly changes an address somewhere else

_________________
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
navarone
Advanced Cheater
Reputation: 2

Joined: 29 May 2010
Posts: 72

PostPosted: Sun Aug 15, 2010 1:05 pm    Post subject: Reply with quote

Indirectly how exactly..?

eax just changed to 0, that's all.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Aug 15, 2010 1:56 pm    Post subject: Reply with quote

perhaps some other code writes eax to memory
_________________
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
navarone
Advanced Cheater
Reputation: 2

Joined: 29 May 2010
Posts: 72

PostPosted: Sun Aug 15, 2010 2:21 pm    Post subject: Reply with quote

..Like another thread?

Or should I scroll down the op codes to see where eax finally gets written to the memory?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Aug 15, 2010 2:29 pm    Post subject: Reply with quote

yes, most likely further down eax will get written to the memory

of course, if this was just a function you're replaced (xor eax,eax followed by a ret xxxx) it means that eax will be written from the location that called the function

_________________
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
navarone
Advanced Cheater
Reputation: 2

Joined: 29 May 2010
Posts: 72

PostPosted: Sun Aug 15, 2010 3:00 pm    Post subject: Reply with quote

Why the abnormal behavior though, I mean if eax is later going to be wrote into that address, why didn't break where it directly changes the address instead?
Sorry, I don't normally ask questions like these a lot, but this behavior is just weird =p
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Aug 15, 2010 3:35 pm    Post subject: Reply with quote

probably an easier spot to get into.

e.g check the jumplines, if you overwrite instructions that are pointed to by a jumpline inbetween you will cause a crash

so in some cases it's easier to just do the hook a bit earlier, and ending up with the same result

_________________
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
navarone
Advanced Cheater
Reputation: 2

Joined: 29 May 2010
Posts: 72

PostPosted: Sun Aug 15, 2010 3:50 pm    Post subject: Reply with quote

I will look into the code again and see for myself Smile

Thank a lot DB again =]
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Sun Aug 22, 2010 7:20 am    Post subject: Reply with quote

I may be wrong, but I think that depending on how the code is aligned CE may not be disassembling it correctly - or at least not displaying it properly. This happens to me sometimes, such that just hitting page up and then page down causes the code listing to become garbage.

Cheers,
adude
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