Professional Documents
Culture Documents
alloc(hook,128)
label(return)
hook:
mov [esp+4],#9 //nAction
mov [esp+14],#17 //nMoveType
mov [esp+38],#1 //bAirhit
//Vac to Char X
mov eax,[03142B44] //CUserLocal: 8B 3D ? ? ? ? 8B CF F3
mov eax,[eax+14D6C] //Character X Location Offset: [89 8F ? ? ? ? 8B CF 8B 40 04
89] or [8d 86 ? ? ? ? 8b cf 50 e8 ? ? ? ? 5f 5e 5b]
add eax,#%arg1 //Adjust X
mov [esp+18],eax //nMoveEndingX
//Vac to Char Y
mov eax,[03142B44] //CUserLocal: 8B 3D ? ? ? ? 8B CF F3
mov eax,[eax+14D6C+4] //Character X Location Offset+4: [89 8F ? ? ? ? 8B CF 8B 40
04 89] or [8d 86 ? ? ? ? 8b cf 50 e8 ? ? ? ? 5f 5e 5b]
add eax,#%arg2 //Adjust Y
mov [esp+1C],eax //nMoveEndingY
//Original Opcodes
push ebp
mov ebp,esp
push -01
jmp return
[DISABLE]
014E8E90:
push ebp
mov ebp,esp
push -01