//TwMS_v181.3_ICS_全職業全圖打怪+物品掉落腳下 易斷
//全職業全圖打 原創: aaaddress1
//物落腳下 原創: 守護者
//更新:RAY
[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],008A3C99
Je FullMapAttByPass
Cmp [Esp+C],008A3AE1
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],0000000E
cmp ecx,esi
je 008A38B3
lea eax,[ebp-58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-5C]
push eax
lea eax,[ebp-60]
push eax
call 004AD67E
or dword ptr [ebp-04],-01
lea eax,[ebp-58]
push eax
call 004695EB
pop ecx
lea eax,[ebp-60]
push eax
lea ecx,[ebx+0000096C]
call 00863614
test eax,eax
jmp 008A3CE9
FullMapAttackHook:
mov ecx,[ebx+00000214]
mov [ebp-04],0000000D
cmp ecx,esi
je 008A38B3
lea eax,[ebp-58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-5C]
push eax
lea eax,[ebp-60]
push eax
call 004AD67E
or dword ptr [ebp-04],-01
lea eax,[ebp-58]
push eax
call 004695EB
pop ecx
lea eax,[ebp-60]
push eax
mov ecx,edi
call FullMapAttackCall
jmp 008A3B26
FullMapAttackCall:
push esi
push edi
mov edi,[esp+0C]
pushad
mov ecx,[01842008]
add ecx, 04
push edi
call 005AE991
popad
jmp 004AED76
0132F2E0:
DD FullMapAtt_ICS
[Disable]
0132F2E0:
DD Variantinit
DeAlloc(FullMapAtt_ICS)
UnRegisterSymbol(FullMapSW)
|