//==================================================
// 召喚獸短擊-CRC For TWMS109
// 更新: 不明
// 更新時間: 2010/2/8
//==================================================
[ENABLE]
registersymbol(FIR)
alloc(FIR,1024)
registersymbol(FIRTIMESS)
alloc(FIRTIMESS,4)
registersymbol(FIRSKILL)
alloc(FIRSKILL,4)
registersymbol(FIREDI)
alloc(FIREDI,4)
label(FIR00)
label(FIR01)
//-----------------------------------------------
FIRTIMESS:
DD 0 //招喚獸攻擊時間
FIRSKILL:
DD 0 //招喚獸攻擊次數
FIREDI:
DD 0 //招喚獸EDI
//-----------------------------------------------
FIR:
cmp [FIREDI],edi
je FIR00
push eax
mov eax,[00b94658]
mov [eax+039C],ffffffff //正常值 ffffffff = -1 只要固定正常值就會無延遲了
pop eax
call FIR01
pop ecx
pop ecx
mov dword ptr [ebx+000000d4],01
push [ebx+000000f0]
lea eax,[ebx+000000e8]
push eax
call FIR01
pop ecx
pop ecx
mov dword ptr [ebx+000000c8],01
push [ebx+000000b4]
call 0074f4d9
pop ecx
push esi
mov ecx,ebx
call 00787d70
push eax
mov eax,[ebx+00000114]
cmp [FIRTIMESS],eax
pop eax
je 00787120
push eax
mov eax,[ebx+00000114]
mov [FIRTIMESS],eax
mov [FIREDI],edi
pop eax
jmp 00787120
//-----------------------------------------------
FIR00:
call 00415e22
jmp 00786fc9
//-----------------------------------------------
FIR01:
push ebp
mov ebp,esp
mov eax,[ebp+08]
push ebx
mov ebx,[eax+04]
push esi
mov esi,[eax]
push edi
push 05
push ebx
call 00a316bb
mov edi,eax
xor edi,esi
push 05
xor esi,baadf00d
push esi
call 00a31304
add eax,ebx
add esp,10
mov eax,edi
pop edi
pop esi
pop ebx
pop ebp
ret
00786FC4:
jmp FIR
//-----------------------------------------------
[DISABLE]
00786FC4:
call 00415e22
dealloc(FIR)
unregistersymbol(FIR)
dealloc(FIRTIMESS)
unregistersymbol(FIRTIMESS)
dealloc(FIREDI)
unregistersymbol(FIREDI)
dealloc(FIRSKILL)
unregistersymbol(FIRSKILL) |
|