Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Enable]
- Alloc(MouseFly, 256)
- Label(Return)
- Label(AbsoluteMouseXY)
- Label(MouseFly_End)
- MouseFly:
- pushad
- mov eax,[00A57FEC]
- test eax,eax
- je MouseFly_End
- cmp [eax+9B4],0C // Click
- jne MouseFly_End
- // see 0083388F
- lea eax,[AbsoluteMouseXY]
- push 01
- push eax
- mov ecx,[00A57E88]
- call 008B17B5
- mov eax,[AbsoluteMouseXY]
- mov [esi+21A0],eax // X
- mov eax,[AbsoluteMouseXY+4]
- mov [esi+21A4],eax // Y
- mov [esi+2198],01 // Toggle
- MouseFly_End:
- popad
- // original code
- cmp dword ptr [esi+00002198],00
- jmp Return
- // JMS v164.0 only have relative mouse XY
- AbsoluteMouseXY:
- dd #0
- dd #0
- 00832ACB:
- jmp MouseFly
- nop
- nop
- Return:
- [Disable]
- 00832ACB:
- cmp dword ptr [esi+00002198],00
- DeAlloc(MouseFly)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement