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 


Cheat Engine Forum Index
PostGo back to topic
ParkourPenguin
I post too much
Reputation: 140
Joined: 06 Jul 2014
Posts: 4291

PostPosted: Thu Aug 08, 2019 9:49 am    Post subject:

Code:
cmp    eax,ebx
cmovl  ebx,eax
This is saying "if eax is less than ebx, move eax into ebx." Or, in pseudocode:
Code:
ebx = min(eax,ebx)
where "min" specifies whichever is less.

eax comes from call re2.exe+E87CE0. I have no idea where ebx comes from.

Try replacing the cmovl with nops. If that doesn't work, try replacing it with "mov ebx,eax" (replace extra byte w/ nop). You could also invert the logic by changing it to cmovge and see what happens.
(you should probably set a breakpoint on the cmovl and look at the register values to let you know what's going on before doing any of that)
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
sh00ter999
Review: Approve
Post reference:
ReviewPosted: Thu Aug 08, 2019 10:50 am

Thank you very much for taking the time to assist me. I will try this out as soon as possible.

PS: I hope I didn't ruin your 69 reputation, in case it was inteded to stay that way :>

Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites