[ENABLE]
//本地GM模式 也就城镇瞬移了 副本里面点房间进房间了
aobscanmodule(GMCT,dnf.exe,81 C1 90 03 00 00 8D 45 FC 50 8D 51 08 52) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
add ecx,00000380
jmp return
GMCT:
jmp newmem
nop
return:
registersymbol(GMCT)
[DISABLE]
GMCT:
db 81 C1 90 03 00 00
unregistersymbol(GMCT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 00751834
00751829: CC - int 3
0075182A: CC - int 3
0075182B: CC - int 3
0075182C: CC - int 3
0075182D: CC - int 3
0075182E: CC - int 3
0075182F: CC - int 3
00751830: 55 - push ebp
00751831: 8B EC - mov ebp,esp
00751833: 51 - push ecx
// ---------- INJECTING HERE ----------
00751834: 81 C1 90 03 00 00 - add ecx,00000390
// ---------- DONE INJECTING ----------
0075183A: 8D 45 FC - lea eax,[ebp-04]
0075183D: 50 - push eax
0075183E: 8D 51 08 - lea edx,[ecx+08]
00751841: 52 - push edx
00751842: E8 69 46 A4 00 - call 01195EB0
00751847: 33 C0 - xor eax,eax
00751849: 39 45 FC - cmp [ebp-04],eax
0075184C: 0F 95 C0 - setne al
0075184F: 8B E5 - mov esp,ebp
00751851: 5D - pop ebp
}
//本地GM模式 也就城镇瞬移了 副本里面点房间进房间了
aobscanmodule(GMCT,dnf.exe,81 C1 90 03 00 00 8D 45 FC 50 8D 51 08 52) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
add ecx,00000380
jmp return
GMCT:
jmp newmem
nop
return:
registersymbol(GMCT)
[DISABLE]
GMCT:
db 81 C1 90 03 00 00
unregistersymbol(GMCT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 00751834
00751829: CC - int 3
0075182A: CC - int 3
0075182B: CC - int 3
0075182C: CC - int 3
0075182D: CC - int 3
0075182E: CC - int 3
0075182F: CC - int 3
00751830: 55 - push ebp
00751831: 8B EC - mov ebp,esp
00751833: 51 - push ecx
// ---------- INJECTING HERE ----------
00751834: 81 C1 90 03 00 00 - add ecx,00000390
// ---------- DONE INJECTING ----------
0075183A: 8D 45 FC - lea eax,[ebp-04]
0075183D: 50 - push eax
0075183E: 8D 51 08 - lea edx,[ecx+08]
00751841: 52 - push edx
00751842: E8 69 46 A4 00 - call 01195EB0
00751847: 33 C0 - xor eax,eax
00751849: 39 45 FC - cmp [ebp-04],eax
0075184C: 0F 95 C0 - setne al
0075184F: 8B E5 - mov esp,ebp
00751851: 5D - pop ebp
}