 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
MichaelLee01 Cheater
Reputation: 0
Joined: 07 Apr 2020 Posts: 37
|
Posted: Wed May 06, 2020 10:44 pm Post subject: Aob injection question |
|
|
This is a money hack,using default aob injection
As you can see,line"mov eax,[24B484B0]"is not what I wanted to inject.Is there a way to "delete"the instruction without crashing the game?
aobscan(money1,83 C4 10 89 46 40)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
mov eax,#999999
mov [esi+40],eax
mov eax,[24B484B0]
jmp return
code:
mov [esi+40],eax
mov eax,[24B484B0]
jmp return
money1+3:
jmp newmem
nop 4
return:
registersymbol(money1)
[DISABLE]
money1+3:
db 89 46 40 8B 05 B0 84 B4 24
unregistersymbol(money1)
dealloc(newmem)
|
|
| Back to top |
|
 |
DanyDollaro Master Cheater
Reputation: 3
Joined: 01 Aug 2019 Posts: 334
|
Posted: Thu May 07, 2020 1:26 pm Post subject: |
|
|
I'm not entirely sure, but I think it is:
| Code: | [ENABLE]
aobscan(Money1,89 46 40 8B 05 B0 84 B4 24) // should be unique
alloc(newmem,$1000,Money1)
label(code)
label(return)
newmem:
mov eax, #999999
mov [esi+40],eax
code:
// mov [rsi+40],eax
// If don't work uncomment the line below
// mov eax,[24B484B0]
jmp return
Money1:
jmp newmem
nop 4
return:
registersymbol(Money1)
[DISABLE]
Money1:
db 89 46 40 8B 05 B0 84 B4 24
unregistersymbol(Money1)
dealloc(newmem) |
Remember that you are writing on an allocated area, so you are free to remove and add all the lines you want, if the program crash was probably for this:
| Code: | money1+3: //<-- the plus 3
... |
|
|
| Back to top |
|
 |
|
|
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
|
|