[Enable]
registersymbol(CSX)
alloc(CSX,1024)
registersymbol(CSXon)
alloc(CSXon,4)
registersymbol(Ics_CSX)
alloc(Ics_CSX,128)
label(HookCSX)
label(CSXReturnX)
label(CSXReturnY)
Label(MouserX)
Label(MouserY)
CSXon: //0關 1滑鼠移動
dd 1
Ics_CSX:
push ebp
mov ebp,esp
push ebx
push esi
mov esi,[ebp+08]
xor ebx,ebx
push edi
cmp [esi+14],ebx
je HookCSX
jmp 00975DD6 //8B 46 14 3B C3 75 0A 68 03 40
HookCSX:
mov ecx,[00e06250] //更新
call 00975da1 //更新
mov [ebp+08],eax
fild dword ptr [ebp+08]
mov edi,[ebp+0c]
fdiv qword ptr [00bfc338] //更新
fstp qword ptr [ebp+34]
cmp edi,ebx
je 00975e54 //更新
fld qword ptr [esi+3c]
push ecx
fsub qword ptr [esi+1c]
push ecx
fmul qword ptr [ebp+34]
fadd qword ptr [esi+1c]
fstp qword ptr [esp]
call 004e8cee //更新
pop ecx
pop ecx
jmp CSX
CSXReturnX:
mov [edi],eax
mov edi,[ebp+10]
jmp 00975E57 //AOB-1-3b fb dd 46 44
CSXReturnY:
Mov [Edi], Eax
Mov Edi, [Ebp+14]
Cmp Edi, Ebx
Jmp 00975E7A //AOB-1+23
CSX:
Cmp [CSXon], 1
Je MouserX
jmp CSXReturnX
MouserX:
Push Eax
Mov Eax, [00e016dc] //Char PID 8b 0d 8d 45 50 8d 45 50 e8
Mov Eax, [Eax+22f4] //6A FF FF B6 ?? ?? ?? ?? 8B CE E8
Cmp Esi, Eax
Pop Eax
Jne CSXReturnX
Push Eax
Mov Eax, [00e0624c] //滑鼠點擊 8b 0d ?? ?? ?? ?? 57 e8 ?? ?? ?? ?? 8d 45
Mov Eax, [Eax+978]
Mov Eax, [Eax+84] //X-8C
Mov [Edi], Eax
Pop Eax
Mov Edi, [Ebp+10]
//Cmp Edi, Ebx
Je MouserY
Jmp CSXReturnX+5
MouserY:
Push Eax
Mov Eax, [00e016dc] //Char PID
Mov Eax, [Eax+22f4]
Cmp Esi, Eax
Pop Eax
Jne CSXReturnY
Push Eax
Mov Eax, [00e0624c] //滑鼠點擊
Mov Eax, [Eax+978]
Mov Eax, [Eax+88] //Y
//Jmp CSXReturnY
Mov [Edi], Eax
Pop Eax
Mov Edi,[Ebp+14]
Jmp CSXReturnY+5
00C7B7F8:
DD Ics_CSX
[Disable]
00C7B7F8:
DD 00975DC6 //55 8B EC 53 56 8B 75 08 33 DB //aob-1
unregistersymbol(CSX)
dealloc(CSX)
2014年2月7日 星期五
TwMS v1.48.1_ICS_CSMouseFly
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言