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 NOP this!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Tue Oct 11, 2016 4:20 am    Post subject: How to NOP this! Reply with quote

Code:
[ENABLE]

aobscanmodule(aobAmmo,mafia3.exe,44 89 40 18 48 8B 01) // should be unique
alloc(newmem,$100,"mafia3.exe"+2F12AFD)

label(code)
label(return)

newmem:

code:
  mov [rax+18],r8d
  mov rax,[rcx]
  jmp return

aobAmmo:
  jmp newmem
  nop
  nop
return:
registersymbol(aobAmmo)

[DISABLE]

aobAmmo:
  db 44 89 40 18 48 8B 01

unregistersymbol(aobAmmo)
dealloc(newmem)
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Oct 11, 2016 5:16 am    Post subject: Re: How to NOP this! Reply with quote

Code:
[ENABLE]

aobscanmodule(aobAmmo,mafia3.exe,44 89 40 18 48 8B 01) // should be unique
alloc(newmem,$100,"mafia3.exe"+2F12AFD)

label(code)
label(return)

newmem:

code:
  //mov [rax+18],r8d
  mov rax,[rcx]
  jmp return

aobAmmo:
  jmp newmem
  nop
  nop
return:
registersymbol(aobAmmo)

[DISABLE]

aobAmmo:
  db 44 89 40 18 48 8B 01

unregistersymbol(aobAmmo)
dealloc(newmem)



Or
Code:
[ENABLE]

aobscanmodule(aobAmmo,mafia3.exe,44 89 40 18 48 8B 01) // should be unique

aobAmmo:
  db 90 90 90 90

registersymbol(aobAmmo)

[DISABLE]

aobAmmo:
  db 44 89 40 18

unregistersymbol(aobAmmo)
dealloc(newmem)



Or
Code:
[ENABLE]

aobscanmodule(aobAmmo,mafia3.exe,44 89 40 18 48 8B 01) // should be unique

aobAmmo:
  db EB 02

registersymbol(aobAmmo)

[DISABLE]

aobAmmo:
  db 44 89

unregistersymbol(aobAmmo)
dealloc(newmem)

_________________
Back to top
View user's profile Send private message MSN Messenger
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Tue Oct 11, 2016 5:17 am    Post subject: Reply with quote

Code:
[ENABLE]

aobscanmodule(aobAmmo,mafia3.exe,44 89 40 18 48 8B 01) // should be unique
registersymbol(aobAmmo)

aobAmmo:
  db 90 90 90 90

registersymbol(aobAmmo)

[DISABLE]

aobAmmo:
  db 44 89 40 18 48 8B 01

unregistersymbol(aobAmmo)


I had an issue with it cause I had another script with the aobAmmo Smile so It crashed me a lot so I just noticed that
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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