1
"player"
Auto Assembler Script
{ Game : deadcells.exe
Version:
Date : 2017-07-09
Author : Ishwar S Lyall
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(INJECT,8B 88 D8 00 00 00 89 4D F4 F2 0F 2A D1) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
globalalloc(_playerbase,4)
newmem:
code:
mov [_playerbase],eax
mov ecx,[eax+000000D8]
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 8B 88 D8 00 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 0AF80C99
0AF80C88: 83 C4 28 - add esp,28
0AF80C8B: 5D - pop ebp
0AF80C8C: C3 - ret
0AF80C8D: 90 - nop
0AF80C8E: 90 - nop
0AF80C8F: 90 - nop
0AF80C90: 55 - push ebp
0AF80C91: 8B EC - mov ebp,esp
0AF80C93: 83 EC 18 - sub esp,18
0AF80C96: 8B 45 08 - mov eax,[ebp+08]
// ---------- INJECTING HERE ----------
0AF80C99: 8B 88 D8 00 00 00 - mov ecx,[eax+000000D8]
// ---------- DONE INJECTING ----------
0AF80C9F: 89 4D F4 - mov [ebp-0C],ecx
0AF80CA2: F2 0F 2A D1 - cvtsi2sd xmm2,ecx
0AF80CA6: F2 0F 11 55 F8 - movsd [ebp-08],xmm2
0AF80CAB: 8B 88 DC 00 00 00 - mov ecx,[eax+000000DC]
0AF80CB1: 89 4D F4 - mov [ebp-0C],ecx
0AF80CB4: F2 0F 2A E1 - cvtsi2sd xmm4,ecx
0AF80CB8: F2 0F 11 65 E8 - movsd [ebp-18],xmm4
0AF80CBD: F2 0F 5E D4 - divsd xmm2,xmm4
0AF80CC1: F2 0F 11 55 F8 - movsd [ebp-08],xmm2
0AF80CC6: DD 45 F8 - fld qword ptr [ebp-08]
}
2
"health"
4 Bytes
_playerbase
D8
Toggle Activation
107
0
Increase Value
97
100
1
3
"Max health"
4 Bytes
_playerbase
DC
Increase Value
98
50
0
5
"Cells"
4 Bytes
_playerbase
02E8
7
"health level"
4 Bytes
_playerbase
F8
8
"weapon level"
4 Bytes
_playerbase
F4
9
"skill level"
4 Bytes
_playerbase
F0
13
"vertical position "
4 Bytes
_playerbase
48
18
"velocity"
Double
_playerbase
200
27
"kills to break curse"
4 Bytes
_playerbase
280
31
"horizontal position"
4 Bytes
_playerbase
44
_playerbase
15C60000
_itembase
15CE0010
INJECT
0AB013F9