冰楓論壇

標題: CMS185鼠标点击瞬移 [打印本頁]

作者: swyx    時間: 2021-12-11 22:57
標題: CMS185鼠标点击瞬移
[Enable]
Alloc(KamiVac,128)
Label(teleport)
Label(KamiVac_Ret)

KamiVac:
pushad
mov eax,[041413FC]
cmp [eax+00000974],0C
jne KamiVac_Ret
mov eax,[041413FC]
mov eax,[eax+0000097C]
mov edx,[eax+000000B0]
mov ebx,[eax+000000B4]
call teleport
jmp KamiVac_Ret

teleport:
mov esi,[03E9EC68]
lea ecx,[esi+04]
mov eax,[esi+04]
mov eax,[eax+24]
call eax
test eax,eax
je KamiVac_Ret
push ebx // Y
push edx // X
push 01
mov ecx,eax
call 00BDA8B0
ret

KamiVac_Ret:
popad
DB 8b 81 74 09 00 00
jmp 01950390+6

01950390:
jmp KamiVac
nop

[Disable]
01950390:
DB 8b 81 74 09 00 00

DeAlloc(KamiVac)

只在私服测试过




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓