Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 10-29-2013, 23:42
TempoMat TempoMat is offline
Friend
 
Join Date: Jan 2006
Posts: 89
Rept. Given: 10
Rept. Rcvd 6 Times in 6 Posts
Thanks Given: 4
Thanks Rcvd at 28 Times in 21 Posts
TempoMat Reputation: 6
Second file works with a patch

In the case of the second file, the check is made only once.
The file therefore runs fine with a patch like this without the R6002 error:

original code=>
Code:
005BDB17   .  8B40 24       MOV EAX,DWORD PTR DS:[EAX+24]
005BDB1A   .  C1E8 1F       SHR EAX,1F
005BDB1D      F7D0          NOT EAX
005BDB1F      83E0 01       AND EAX,1
005BDB22      C745 FC FEFFF>MOV DWORD PTR SS:[EBP-4],-2
Patched code=>
Code:
005BDB17   .  8B40 24       MOV EAX,DWORD PTR DS:[EAX+24]
005BDB1A   .  C1E8 1F       SHR EAX,1F
005BDB1D      B8 01000000   MOV EAX,1
005BDB22      C745 FC FEFFF>MOV DWORD PTR SS:[EBP-4],-2
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinCE Floating-Point operators - HELP leader General Discussion 0 01-31-2018 03:18
Runtime Error R6002 - Floating point not loaded MrGneissGuy's General Discussion 1 09-14-2009 03:08
reverse engineering floating point code jonwil General Discussion 3 11-04-2008 09:08


All times are GMT +8. The time now is 18:21.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )