- UID
- 8784
- 帖子
- 4732
- 主題
- 343
- 精華
- 0
- 積分
- 3298
- 楓幣
- 2830
- 威望
- 3240
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 9
- 閱讀權限
- 90
- 性別
- 保密
- 在線時間
- 1161 小時
- 註冊時間
- 2012-6-9
- 最後登入
- 2024-11-8
|
- //趕路F1,左F3,右F4,上F5,下F6
- // CRC 滑鼠趕路+瞬移熱鍵版 TwMs v0109
- //熱鍵: 趕路(F1),左(F3),右(F4),上(F5),下(F6)
- [Enable]
- registersymbol(MouseRushStart)
- alloc(MouseRushStart, 512)
- alloc(RushSW, 4)
- label(RetMSRush)
- label(normal)
- registersymbol(HotKey)
- alloc(HotKey, 512)
- label(go1)
- label(go2)
- label(go3)
- label(go4)
- registersymbol(Direct)
- alloc(Direct, 4)
- Direct:
- dd 0
- RushSW:
- dd 0 // 初始是關閉mouse 趕路
- MouseRushStart:
- cmp [00B386F4],0
- je RetMSRush
- cmp [RushSW], 0
- je RetMSRush
- mov ebx, [00b94658]
- mov ebx, [ebx+0F00]
- cmp esi, ebx
- jne RetMSRush
- mov eax, [00b947bc]
- mov eax, [eax+978]
- mov ebx, [eax+84]
- mov eax, [eax+88]
- mov [edi-4], ebx
- RetMSRush:
- mov [edi],eax
- mov ebx,[ebp+14]
- jmp 0098C979
- 0098C974:
- jmp MouseRushStart
- 00927041:
- jmp HotKey
- nop
- HotKey:
- sub esp,30
- mov eax,[ebp+08]
- cmp eax,3b0000 //熱鍵 F1 , 更改熱鍵修改此處
- jne normal
- not [RushSW]
- jmp 00927047
- normal:
- cmp eax,3c0000 //熱鍵 F2 , 向左
- je go1
- cmp eax,3e0000 //熱鍵 F4 , 向右
- je go2
- cmp eax,3d0000 //熱鍵 F3 , 向上
- je go3
- cmp eax,3f0000 //熱鍵 F5 , 向下
- je go4
- jmp 00927047
- go1:
- mov [Direct], 1
- jmp 00927047
- go2:
- mov [Direct], 2
- jmp 00927047
- go3:
- mov [Direct], 3
- jmp 00927047
- go4:
- mov [Direct], 4
- jmp 00927047
- [Disable]
- 00927041: //熱鍵 and edi,000000ff
- sub esp,30
- mov eax,[ebp+08]
- 0098C974: //滑鼠趕路
- db 89 07 8b 5d 14
- unregistersymbol(HotKey)
- dealloc(HotKey)
- unregistersymbol(MouseRushStart)
- dealloc(MouseRushStart)
- dealloc(RushSW)
複製代碼 |
|