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 


how to assemble if a condition meets

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
reverser69
Expert Cheater
Reputation: 0

Joined: 03 Sep 2014
Posts: 107

PostPosted: Sat Jul 17, 2021 7:55 am    Post subject: how to assemble if a condition meets Reply with quote

hi all

how can i do some thing like this


cmp [myAddress+XX],XX
jne @f
assembly 90 90 90 at myAddress+XX location.

@@:
blah blah
Back to top
View user's profile Send private message
Birdi
Expert Cheater
Reputation: 0

Joined: 08 Jun 2020
Posts: 122
Location: Migrating

PostPosted: Sun Jul 18, 2021 3:57 am    Post subject: Reply with quote

Code:

cmp [symbol+Offset],value
jne @f //value of pointed-address not equal...
nop 3 //nop # nop's # bytes long
//jmp return/endLabel if you want to just exit the function
@@:
...


Not really sure what your goal is, but you kinda already had it lol
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites