冰楓論壇
標題:
TwMS v227.1 ICS 牆值左右走
[打印本頁]
作者:
prt
時間:
2020-8-6 22:38
標題:
TwMS v227.1 ICS 牆值左右走
//TwMS v227.1 ICS 牆值左右走
[Enable]
Alloc(AutoLRICS,512)
Alloc(MyLR,4)
Label(AutoLR)
Label(GetWall)
Label(GetChrX)
Label(GoRight)
Label(GoLeft)
MyLR:
DD 1
AutoLRICS:
Cmp [Esp],00B6A93A
Jne GetFocus
Mov [Esp],AutoLR
Jmp GetFocus
AutoLR:
Call GetWall
Mov [ebp-1C],Eax
Xor Ecx,Ecx
Xor Eax,Eax
Cmp [ebp-1C],Eax
Jmp 00B6B1E1
GetWall:
Call GetChrX
Mov Ecx,[042311CC]
Sub Eax,[Ecx+0C]
Cmp Eax,04
Jle GoRight
Call GetChrX
Mov Ecx,[Ecx+14]
sub Ecx,Eax
cmp Ecx,04
Jle GoLeft
Mov Eax,[MyLR]
Ret
GetChrX:
Mov Eax,[042311EC]
Mov Eax,[Eax+CC4C]
Mov Eax,[Eax+34]
Mov Eax,[Eax+58]
Ret
GoRight:
Mov [MyLR],1
Mov Eax,1
Ret
GoLeft:
Mov [MyLR],FFFFFFFF
Mov Eax,FFFFFFFF
Ret
044DCB78:
DD AutoLRICS
[Disable]
044DCB78:
DD GetFocus
DeAlloc(MyLR)
DeAlloc(AutoLRICS)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓