| View previous topic :: View next topic |
| Author |
Message |
navarone Advanced Cheater
Reputation: 2
Joined: 29 May 2010 Posts: 72
|
Posted: Sat Aug 14, 2010 11:13 pm Post subject: Dude what? |
|
|
how the hell can
xor eax,eax
Access an address?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sun Aug 15, 2010 4:00 am Post subject: |
|
|
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 |
|
 |
navarone Advanced Cheater
Reputation: 2
Joined: 29 May 2010 Posts: 72
|
Posted: Sun Aug 15, 2010 1:05 pm Post subject: |
|
|
Indirectly how exactly..?
eax just changed to 0, that's all.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sun Aug 15, 2010 1:56 pm Post subject: |
|
|
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 |
|
 |
navarone Advanced Cheater
Reputation: 2
Joined: 29 May 2010 Posts: 72
|
Posted: Sun Aug 15, 2010 2:21 pm Post subject: |
|
|
..Like another thread?
Or should I scroll down the op codes to see where eax finally gets written to the memory?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sun Aug 15, 2010 2:29 pm Post subject: |
|
|
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 |
|
 |
navarone Advanced Cheater
Reputation: 2
Joined: 29 May 2010 Posts: 72
|
Posted: Sun Aug 15, 2010 3:00 pm Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sun Aug 15, 2010 3:35 pm Post subject: |
|
|
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 |
|
 |
navarone Advanced Cheater
Reputation: 2
Joined: 29 May 2010 Posts: 72
|
Posted: Sun Aug 15, 2010 3:50 pm Post subject: |
|
|
I will look into the code again and see for myself
Thank a lot DB again =]
|
|
| Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Sun Aug 22, 2010 7:20 am Post subject: |
|
|
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 |
|
 |
|