Skip to content

Instantly share code, notes, and snippets.

@6a6f6a6f
Created March 27, 2020 17:26
Show Gist options
  • Save 6a6f6a6f/d986693c2171e4fc3e2c8da8dbc0e748 to your computer and use it in GitHub Desktop.
Save 6a6f6a6f/d986693c2171e4fc3e2c8da8dbc0e748 to your computer and use it in GitHub Desktop.
Minecraft coordinates AoB injection CEA script
[ENABLE]
aobscanmodule(INJECT,Minecraft.Windows.exe,41 89 86 BC 08 00 00)
alloc(newmem,$1000,"Minecraft.Windows.exe"+5D55A9)
alloc(_origin,4)
registersymbol(_origin)
label(code)
label(return)
_origin:
dd 00
newmem:
mov [_origin],r14
code:
mov [r14+000008BC],eax
jmp return
INJECT:
jmp newmem
nop 2
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 41 89 86 BC 08 00 00
unregistersymbol(INJECT)
dealloc(newmem)
unregistersymbol(_origin)
dealloc(_origin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment