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 


Help Freeze Value AOB Injection

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Char03
Newbie cheater
Reputation: 0

Joined: 12 Nov 2015
Posts: 23

PostPosted: Sun Oct 30, 2016 2:40 pm    Post subject: Help Freeze Value AOB Injection Reply with quote

I can freeze like a value from AOB Injection?

Code:
mov ecx,63


the result is "99" I want to freeze this value

Code:
[ENABLE]

aobscan(INJECT,2B C8 B8 04 00 00 00 89 4A 60 8B 4D F0)
alloc(newmem,$1000)

label(code)
label(return)

newmem:
mov ecx,63
code:
  mov [edx+60],ecx
  mov ecx,[ebp-10]
  jmp return

INJECT+07:
  jmp newmem
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT+07:
  db 89 4A 60 8B 4D F0

unregistersymbol(INJECT)
dealloc(newmem)


-Thanks and sorry my english
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: Sun Oct 30, 2016 3:12 pm    Post subject: Reply with quote

Looks good. Should always write #99 to [rdx+60].


Are you sure instruction "mov [rdx+60],ecx" does not access any other addresses (try "find out what addresses this instruction accesses" in Memory Viewer)


Also, check if there are jumps to "mov ecx,[rbp-10]" somewhere around this instruction in Memory Viewer.
You can use "dissect code" so CE will try to find such jumps.

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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