冰楓論壇
標題:
TwMS v238.3 滑鼠移動
[打印本頁]
作者:
prt
時間:
2021-10-29 01:39
標題:
TwMS v238.3 滑鼠移動
// TwMS v238.3 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 00C44A60
ret
KamiVac_Ret:
popad
DB 8b 81 74 09 00 00
jmp 01AFC100+6
01AFC100:
jmp KamiVac
nop
[Disable]
01AFC100:
DB 8b 81 74 09 00 00
DeAlloc(KamiVac)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓