// 滑鼠飛行熱鍵版 TWMS v0119
[enable]
registersymbol(MouseRushStart)
alloc(MouseRushStart, 512)
registersymbol(HotKey)
alloc(HotKey, 128)
alloc(RushSW, 4)
label(RetMSRush)
label(normal)
RushSW:
dd 0 // 初始是關閉mouse 趕路
MouseRushStart:
cmp [00D4289C],0
je RetMSRush
cmp [RushSW], 0
je RetMSRush
mov ebx, [00D4289C]
mov ebx, [ebx+13D0]
cmp esi, ebx
jne RetMSRush
mov eax, [00d42c98]
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 00AE6FB9
00AE6FB4:
jmp MouseRushStart
HotKey:
cmp eax,3c0000 //熱鍵 F2
jne normal
not [RushSW]
normal:
and dword ptr [ebp-34],00
push ebx
jmp 00A659D0
00A659CB:
jmp HotKey
[disable]
00AE6FB4:
db 89 07 8b 5d 14
00A659CB:
and dword ptr [ebp-34],00
push ebx
unregistersymbol(MouseRushStart)
dealloc(MouseRushStart)
dealloc(RushSW)
unregistersymbol(HotKey)
dealloc(HotKey) |
|