楓之谷外掛論壇
 
首頁會員註冊登入

分享 | 
 

 TWMSv1.0 滑鼠移動(右趴左趴板)

向下 
發表人內容
asx753951
新手
新手


文章數 : 27
注冊日期 : 2009-08-30

發表主題: TWMSv1.0 滑鼠移動(右趴左趴板)   周日 8月 30, 2009 3:46 pm

//HKMS/TWMSv1.0 滑鼠移動(右趴左趴板)

//UpDAED bY: DARK9 2009/8/27

//熱鍵控制: 右趴下=開 左趴下=關

//EIP=CSX

//ADD:00900642

//--------------------------------------------

[Enable]

alloc(MouserX,512)

alloc(MouserY,512)

alloc(CSX,128)

alloc(OnOff,128)

label(normal)

label(normalx)

label(normaly)

label(back)

label(return)

label(On)

label(Off)

registersymbol(CSX)

registersymbol(OnOff)



OnOff:

dd 0



CSX:

push eax

mov eax,[AE62C4]

cmp [eax+0384],a

je On

cmp [eax+0384],b

je Off

pop eax

jmp MouserX



normal:

pop eax

mov [ebx], eax

mov edi,[ebp+10]

jmp back



back:

jmp 00900647 //or 0090070B

return:

jmp 009006AC



On:

pop eax

mov [OnOff],1

jmp MouserX



Off:

pop eax

mov [OnOff],0

jmp MouserX



MouserX:

cmp [OnOff],0

je normalx

push eax

mov eax,[AE62C4]

mov eax,[eax+0D6C]

cmp esi,eax

pop eax

jne normalx



mov eax, [00AE6460]

mov eax, [eax+0978]

mov eax, [eax+84]

mov [ebx], eax

mov edi,[ebp+10]

test edi, edi

jne MouserY

jmp 009006A9



normalx:

mov [ebx], eax

mov edi,[ebp+10]

jmp back



MouserY:

push eax

mov eax,[AE62C4]

mov eax,[eax+0D6C]

cmp esi,eax

pop eax

jne normaly



mov eax, [00AE6460]

mov eax, [eax+0978]

mov eax, [eax+88] //84+4

mov [edi], eax

mov ebx,[ebp+14]

jmp return



normaly:

mov [edi], eax

mov ebx,[ebp+14]

jmp return



[Disable]

dealloc(MouserX)

dealloc(MouserY)

dealloc(CSX)

dealloc(OnOff)

unregistersymbol(CSX)

unregistersymbol(OnOff)
回頂端 向下
 
TWMSv1.0 滑鼠移動(右趴左趴板)
回頂端 
1頁(共1頁)

這個論壇的權限:無法 在這個版面回復文章
楓之谷外掛論壇 :: 外掛數據分享區-
前往: