- UID
- 100875
- 帖子
- 1829
- 主題
- 1572
- 精華
- 0
- 積分
- 2356
- 楓幣
- 5499
- 威望
- 1624
- 存款
- 30000
- 贊助金額
- 2800
- 推廣
- 0
- GP
- 1944
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 648 小時
- 註冊時間
- 2015-4-27
- 最後登入
- 2024-11-20
|
- //TwMs v260.4 Auto Key
- [ENABLE]
- Alloc(Auto_Key_Hook,128,1423E6622)
- 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,1474C52B8
- mov rcx,[rcx]
- jl 1423E6622+5
- mov [Timer],eax
- call 1445EDEF0
- add rsp,20
- pop r11
- pop r10
- pop r9
- pop r8
- pop rdx
- pop rcx
- call 1429E3130
- jmp 1423E6622+5
- 1423E6622:
- jmp Auto_Key_Hook
- [DISABLE]
- 1423E6622:
- call 1429E3130
- DeAlloc(Auto_Key_Hook)
- Dealloc(Delay)
複製代碼 |
|