冰楓論壇
標題:
TwMS v226.3 ICS 牆值左右走
[打印本頁]
作者:
prt
時間:
2020-8-1 02:42
標題:
TwMS v226.3 ICS 牆值左右走
//TwMS v226.3 ICS 牆值左右走
[Enable]
Alloc(AutoLRICS,512)
Alloc(MyLR,4)
Label(AutoLR)
Label(GetWall)
Label(GetChrX)
Label(GoRight)
Label(GoLeft)
MyLR:
DD 1
AutoLRICS:
Cmp [Esp],00B3D3EA
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 00B3DC91
GetWall:
Call GetChrX
Mov Ecx,[040976E8]
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,[04097698]
Mov Eax,[Eax+1780]
Ret
GoRight:
Mov [MyLR],1
Mov Eax,1
Ret
GoLeft:
Mov [MyLR],FFFFFFFF
Mov Eax,FFFFFFFF
Ret
0433E068:
DD AutoLRICS
[Disable]
0433E068:
DD GetFocus
DeAlloc(MyLR)
DeAlloc(AutoLRICS)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓