| View previous topic :: View next topic |
| Author |
Message |
UnfrozenCaveman How do I cheat?
Reputation: 0
Joined: 14 Jun 2007 Posts: 3
|
Posted: Thu Jun 14, 2007 7:49 am Post subject: Pointer Problem |
|
|
I'm having a prob finding the pointer for a float. When I do the "see what writes to this " it brings up a command that moves data from a string to a string.
It looks like this:
| Code: | 004420d9 - lea esi, [ebp + 2c]
004420dc - mov edi, eax
004420de - movsd <---- This is supposedly the writing command.
004420df - movsd
004420e0 - movsd |
so why would the movsd command be used to write data to a float? Btw, i'm new here, so i'm not sure of my skill level vs you guys. I've used CE for a long time but never had to mess with pointers much. My assembly knowledge is not so great right now.
- Unfrozen Caveman
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
|
| Back to top |
|
 |
UnfrozenCaveman How do I cheat?
Reputation: 0
Joined: 14 Jun 2007 Posts: 3
|
Posted: Thu Jun 14, 2007 9:26 am Post subject: |
|
|
Thanks a lot Labyrnth. So, if i get this right, it looks like the command copys a double from address ESI (0012FAF8) to a double at EDI (02FEC088). I expected floats (4 byte/32 bit) instead of doubles (8 byte/64 bit) because the original number I found was a float.
I see that this command also will increment those addresses by 4 after the command executes, so the original addresses for ESI was 0012FAF4 and EDI was 02FEC084. Well I know EDI is correct.
But when i try to find the value at address 0012FAF4 , by adding it manually, the value just jumps around all crazy , both when i set it as a float and a Double.
I'm trying to reliably read the X-coordinate of my Vanguard location. In that game if you type /loc it gives you your coordinates. I just want to get a stable X coordinate address. SoE may have tried to make this difficult , i'm not sure. If you have a theory on how it can be done or what i'm doing wrong let me know.
|
|
| Back to top |
|
 |
|