2014年2月5日 星期三

TwMS v1.52.2_ICS_KamiVac

[Enable]
//跟隨打全圖,前勇者BT功能
Alloc(KamiVacICS, 512)
Label(KamiVac)
Label(Kami)

KamiVacICS:
Cmp [Esp+3C], 009BFA6B //e8 ?? ?? ?? 00 57 8b ce e8 ?? ?? ?? 00 8b ce e8 ?? ?? ?? ff
Jne 009BEAE8
Mov [Esp+3C], KamiVac
Jmp 009BEAE8

KamiVac:
mov ecx,ebx
Call Kami
Jmp 009BFA72

Kami:
push ebp
mov ebp,esp
sub esp,20
push ebx
push esi
push edi
mov esi,ecx
call 009e7f3c
mov [ebp-08],eax
lea eax,[ebp-18]
lea ecx,[esi+00002948]
push eax
call 004355ee
Mov Eax, [00f70ff4]//怪物數量
Cmp [Eax+24], 01
Jle 009acceb
Mov Eax, [Eax+0028]
Mov Eax, [Eax+0004]
Mov Eax, [Eax+0170]
Mov Eax, [Eax+0024]
Mov Ebx, [Eax+0058]
Mov Eax, [Eax+005C]
Mov Ecx, [00f6c8dc]
Sub Ebx, 32
Mov [Ecx+6e00], Ebx
Mov [Ecx+6e04], Eax
xor ebx,ebx
Jmp 009AC9CD

00DBCCDC:
DD KamiVacICS

[Disable]
00DBCCDC:
DD 009BEAE8
//a1 ?? ?? ?? 00 05 ?? ?? 00 00 c3 81
DeAlloc(KamiVacICS)

沒有留言:

張貼留言