Code: Select all
[ENABLE]
aobscanmodule(aobGoldenBrick,LEGO_Worlds_DX11.EXE,10 49 89 44 24 18 49 89 54 24 20)
alloc(newmem,$100,"LEGO_Worlds_DX11.EXE"+F42149)
label(code)
label(return)
newmem:
code:
mov [r12+20],rdx
jmp return
aobGoldenBrick+06:
jmp newmem
return:
registersymbol(aobGoldenBrick)
[DISABLE]
aobGoldenBrick+06:
db 49 89 54 24 20
unregistersymbol(aobGoldenBrick)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "LEGO_Worlds_DX11.EXE"+F42149
"LEGO_Worlds_DX11.EXE"+F42117: 48 8B 94 24 E8 00 00 00 - mov rdx,[rsp+000000E8]
"LEGO_Worlds_DX11.EXE"+F4211F: 4C 8B 44 24 50 - mov r8,[rsp+50]
"LEGO_Worlds_DX11.EXE"+F42124: 4C 8B 4C 24 58 - mov r9,[rsp+58]
"LEGO_Worlds_DX11.EXE"+F42129: 48 8B 1B - mov rbx,[rbx]
"LEGO_Worlds_DX11.EXE"+F4212C: 48 85 DB - test rbx,rbx
"LEGO_Worlds_DX11.EXE"+F4212F: 0F 85 1B FF FF FF - jne LEGO_Worlds_DX11.EXE+F42050
"LEGO_Worlds_DX11.EXE"+F42135: 48 8B 7C 24 70 - mov rdi,[rsp+70]
"LEGO_Worlds_DX11.EXE"+F4213A: 48 8B 6C 24 68 - mov rbp,[rsp+68]
"LEGO_Worlds_DX11.EXE"+F4213F: 4D 89 6C 24 10 - mov [r12+10],r13
"LEGO_Worlds_DX11.EXE"+F42144: 49 89 44 24 18 - mov [r12+18],rax
// ---------- INJECTING HERE ----------
"LEGO_Worlds_DX11.EXE"+F42149: 49 89 54 24 20 - mov [r12+20],rdx
// ---------- DONE INJECTING ----------
"LEGO_Worlds_DX11.EXE"+F4214E: 4D 89 44 24 28 - mov [r12+28],r8
"LEGO_Worlds_DX11.EXE"+F42153: 4D 89 4C 24 30 - mov [r12+30],r9
"LEGO_Worlds_DX11.EXE"+F42158: 41 C6 44 24 38 00 - mov byte ptr [r12+38],00
"LEGO_Worlds_DX11.EXE"+F4215E: 49 8B 5C 24 18 - mov rbx,[r12+18]
"LEGO_Worlds_DX11.EXE"+F42163: 49 8B CC - mov rcx,r12
"LEGO_Worlds_DX11.EXE"+F42166: E8 35 3D 06 00 - call LEGO_Worlds_DX11.EXE+FA5EA0
"LEGO_Worlds_DX11.EXE"+F4216B: 48 8B 7F 08 - mov rdi,[rdi+08]
"LEGO_Worlds_DX11.EXE"+F4216F: 49 8B 4C 24 20 - mov rcx,[r12+20]
"LEGO_Worlds_DX11.EXE"+F42174: 48 8B 84 24 D0 00 00 00 - mov rax,[rsp+000000D0]
"LEGO_Worlds_DX11.EXE"+F4217C: 48 03 CB - add rcx,rbx
}
I want a script where I set an Hotkey and it will add by how much I want, for example Num 1 will add 3 of that item.