//TwMS_v186.4_ICS_全圖打怪+物落腳下
//更新:x12438
[Enable]
RegisterSymbol(FullMapSW)
Alloc(FullMapAtt_ICS,512)
Alloc(FullMapSW,04)
Label(FullMapAttByPass)
Label(FullMapAttack)
Label(FullMapAttackHook)
Label(FullMapAttackCall)
Label(FullMapAttByPassHook)
FullMapSW:
DD 01
FullMapAtt_ICS:
Cmp [FullMapSW],01
Jne Variantinit
Cmp [Esp+C],0091BF93 //0091BF93
Je FullMapAttByPass
Cmp [Esp+C],0091BD7F //0091BD7F
Je FullMapAttack
Jmp Variantinit
//-------------------------------
FullMapAttByPass:
Mov [Esp+C],FullMapAttByPassHook
Jmp Variantinit
//-------------------------------
FullMapAttack:
Mov [Esp+C],FullMapAttackHook
Jmp Variantinit
//-------------------------------
FullMapAttByPassHook:
mov ecx,[ebx+00000214]
mov [ebp-04],00000011
cmp ecx,esi
je 0091A9F1
lea eax,[ebp-50]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-58]
push eax
lea eax,[ebp-5C]
push eax
call 004C3C44
or dword ptr [ebp-04],-1
lea eax,[ebp-50]
push eax
call 00401DC1
pop ecx
lea eax,[ebp-5C]
push eax
lea ecx,[ebx+00000A30]
call 008D72E3
test eax,eax
jmp 0091BFE3
//--------------------------
FullMapAttackHook:
mov ecx,[ebx+00000214]
mov [ebp-04],00000010
cmp ecx,esi
je 0091A9F1
lea eax,[ebp-50]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-58]
push eax
lea eax,[ebp-5C]
push eax
call 004C3C44
or dword ptr [ebp-04],-1
lea eax,[ebp-50]
push eax
call 00401DC1
pop ecx
lea eax,[ebp-5C]
push eax
mov ecx,edi
//--------------------------
call FullMapAttackCall
//-------------------------------------
jmp 0091BDC4
//-------------------------------------
FullMapAttackCall:
push esi
push edi
mov edi,[esp+0C]
pushad
mov ecx,[01AB4EB4]
add ecx, 04
push edi
call 005E24E7 // 005E24E7
popad
jmp 004C54CA // 004C54CA
//--------------------------------------
014F32D8:
DD FullMapAtt_ICS
[Disable]
014F32D8:
DD Variantinit
DeAlloc(FullMapAtt_ICS)
UnRegisterSymbol(FullMapSW)
|