冰楓論壇
標題:
TwMS v261.2 Auto Key
[打印本頁]
作者:
晴曦
時間:
2024-5-18 00:40
標題:
TwMS v261.2 Auto Key
//TwMS v261.2 Auto Key
[ENABLE]
Alloc(Auto_Key_Hook,128,142413542)
alloc(Delay,4)
alloc(Timer,4)
registersymbol(Delay)
registersymbol(Timer)
Delay: //延遲毫秒
DD #1
Timer:
DD 00
Auto_Key_Hook:
push rcx
push rdx
push r8
push r9
push r10
push r11
sub rsp,20
call KERNEL32.GetTickCount
mov edx,eax
sub edx,[Timer]
cmp edx,[Delay]
mov r8,00210000 //按鍵代碼
mov edx,46 //鍵碼
mov rcx,14755A4E8
mov rcx,[rcx]
jl 142413542+5
mov [Timer],eax
call 14461E5D0
add rsp,20
pop r11
pop r10
pop r9
pop r8
pop rdx
pop rcx
call 142A13750
jmp 142413542+5
142413542:
jmp Auto_Key_Hook
[DISABLE]
142413542:
call 142A13750
DeAlloc(Auto_Key_Hook)
Dealloc(Delay)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓