- UID
- 116986
- 帖子
- 38
- 主題
- 11
- 精華
- 0
- 積分
- 48
- 楓幣
- 178
- 威望
- 8
- 存款
- 0
- 贊助金額
- 151
- 推廣
- 0
- GP
- 9
- 閱讀權限
- 30
- 性別
- 保密
- 在線時間
- 52 小時
- 註冊時間
- 2015-9-21
- 最後登入
- 2024-10-20
|
50楓幣
如題,小弟我還在學習怎麼更新,實在是資質愚鈍...還是先來問問大老們- //TwMs v260.2 Auto Key
- [ENABLE]
- Alloc(Auto_Key_Hook,128,1423E48E2)
- alloc(Delay,4)
- alloc(Timer,4)
- registersymbol(Delay)
- registersymbol(Timer)
- Delay: //延遲毫秒
- dd #30000
- 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,1474C3288
- mov rcx,[rcx]
- jl 1423E48E2+5
- mov [Timer],eax
- call 1445EC620
- add rsp,20
- pop r11
- pop r10
- pop r9
- pop r8
- pop rdx
- pop rcx
- call 1429E14B0
- jmp 1423E48E2+5
- 1423E48E2:
- jmp Auto_Key_Hook
- [DISABLE]
- 1423E48E2:
- call 1429E14B0
- DeAlloc(Auto_Key_Hook)
- Dealloc(Delay)
複製代碼
|
|