冰楓論壇
標題:
TwMS v238.4 滑鼠移動
[打印本頁]
作者:
prt
時間:
2021-11-5 00:42
標題:
TwMS v238.4 滑鼠移動
// TwMS v238.4 CRC 滑鼠移動
[Enable]
Alloc(KamiVac,128)
Label(teleport)
Label(KamiVac_Ret)
KamiVac:
pushad
mov eax,[04627928]
cmp [eax+00000974],0C //<--- 判斷按下滑鼠左鍵
jne KamiVac_Ret
mov eax,[04627928]
mov eax,[eax+0000097C]
mov edx,[eax+000000B0]//X
mov ebx,[eax+000000B4]//Y
call teleport
jmp KamiVac_Ret
teleport:
mov esi,[04387158]
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 00C44B60
ret
KamiVac_Ret:
popad
DB 8b 81 74 09 00 00
jmp 01AFC1D0+6
01AFC1D0:
jmp KamiVac
nop
[Disable]
01AFC1D0:
DB 8b 81 74 09 00 00
DeAlloc(KamiVac)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓