冰楓論壇
標題:
TwMS v262.3 Auto Key
[打印本頁]
作者:
晴曦
時間:
2024-7-3 22:11
標題:
TwMS v262.3 Auto Key
//TwMS v262.3 Auto Key
[ENABLE]
Alloc(Auto_Key_Hook,128,142602FC2)
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,002C0000 //按鍵代碼
mov edx,5A //鍵碼
mov rcx,1478494D8
mov rcx,[rcx]
jl 142602FC2+5
mov [Timer],eax
call 1448828B0
add rsp,20
pop r11
pop r10
pop r9
pop r8
pop rdx
pop rcx
call 142C1D6C0
jmp 142602FC2+5
142602FC2:
jmp Auto_Key_Hook
[DISABLE]
142602FC2:
call 142C1D6C0
DeAlloc(Auto_Key_Hook)
Dealloc(Delay)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓