|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Xblade Of Heaven Master Cheater Reputation: 0
Joined: 16 Oct 2005 Posts: 394 Location: DEAD
|
Posted: Fri Jun 16, 2017 7:03 am Post subject: help for convert code |
|
|
hi guys, me try convert a word value to float value but i cant.
the code:
Code: | sub esp,#20
movdqu [esp],xmm0
mov dx,word ptr [edi]
movsx eax,dx
cvtsi2ss xmm0,[eax+0000016C]
movss dword ptr [ecx+00000820],xmm0
movdqu xmm0,[esp]
add esp,#20 |
but no work, code is dword and me need convert word to dword and dword to float, thanks for all help!
regards
_________________
Welcome to the Hell.
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jun 16, 2017 9:21 am Post subject: |
|
|
Code: | ...
push eax
movsx eax,word ptr [edi]
cvtsi2ss xmm0,eax
movss dword ptr [ecx+00000820],xmm0
pop eax
...
|
_________________
|
|
Back to top |
|
|
Xblade Of Heaven Master Cheater Reputation: 0
Joined: 16 Oct 2005 Posts: 394 Location: DEAD
|
Posted: Fri Jun 16, 2017 10:13 am Post subject: |
|
|
thanks man, me now see the bad pointer on eax. Regards
_________________
Welcome to the Hell.
|
|
Back to top |
|
|
|
|
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
|
|