My script freezes the game when executing. Why?
//==============================================================================================================================
aobscanmodule(mCook,GameAssembly.dll,80 3D D0 D9 2B 03 00 48 8B EA 4C 8B F9 75 1F) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
{$luacode cook=RCX}
writeInteger(cook + 0x3C, 0)
writeInteger(readPointer(readPointer(cook + 0x48) + 0x18) + 0x18, 0)
writeInteger(readPointer(readPointer(cook + 0x48) + 0x30) + 0x18, 0)
writeInteger(readPointer(readPointer(cook + 0x48) + 0x38) + 0x18, 0)
writeInteger(readPointer(cook + 0x48) + 0x54, 0)
{$asm}
code:
//Original code:cmp byte ptr [GameAssembly.dll+4363E30],00
push rax
mov rax,GameAssembly.dll+4363E30
cmp byte ptr [rax],00
pop rax
mov rbp,rdx
mov r15,rcx
jne GameAssembly.dll+10A6487
jmp return
mCook:
jmp far newmem
nop
return:
registersymbol(mCook)
[DISABLE]
mCook:
db 80 3D D0 D9 2B 03 00 48 8B EA 4C 8B F9 75 1F
unregistersymbol(*)
dealloc(*)
//==============================================================================================================================
Help and detailed script about {$luacode}
- SNSDxSeoHyun
- Noobzor
- Posts: 11
- Joined: Thu Nov 12, 2020 4:19 am
- Reputation: 8
Who is online
Users browsing this forum: No registered users