//V103招喚獸短擊二下
//原作:zgenden
//請勿作成小程式,小外掛
//0073A683 v103
//EIP:FIR
//更新
//-----------------------------------------------
[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)
label(TEN02)
//-----------------------------------------------
FIRTIMESS:
DD 0 //招喚獸攻擊時間
FIRSKILL:
DD 0 //招喚獸攻擊次數
FIREDI:
DD 0 //招喚獸EDI
//-----------------------------------------------
FIR:
cmp [FIREDI],edi
je TEN02
mov [FIREDI],edi
mov [FIRTIMESS],0
mov [FIRSKILL],0
TEN02:
cmp [FIRSKILL],2 //偵測攻擊次數.目前2下
jge FIR00
push eax
call FIR01
pop ecx
pop ecx
mov dword ptr [ebx+000000c0],01
push [ebx+000000dc]
lea eax,[ebx+000000d4]
push eax
call FIR01
pop ecx
pop ecx
mov dword ptr [ebx+000000b4],01
push [ebx+000000a4]
call 0070669d //
pop ecx
push esi
mov ecx,ebx
call 0073b42a //
push eax
mov eax,[ebx+0000010c]
cmp [FIRTIMESS],eax
pop eax
je 0073a7da //mov edi,[edi+00000xxx]
push eax
mov eax,[ebx+0000010c]
mov [FIRTIMESS],eax
mov [FIREDI],edi
add [FIRSKILL],1
pop eax
jmp 0073a7da //
//-----------------------------------------------
FIR00:
push eax
jmp 0073A684 //
//-----------------------------------------------
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 00●嚴禁張貼廣告● a secret ? no!
mov edi,eax
xor edi,esi
push 05
xor esi,baadf00d
push esi
call 009BBD84//go ahead then u can find it!
add eax,ebx
add esp,10
mov eax,edi
pop edi
pop esi
pop ebx
pop ebp
ret
//-----------------------------------------------
[DISABLE]
dealloc(FIR)
unregistersymbol(FIR)
dealloc(FIRTIMESS)
unregistersymbol(FIRTIMESS)
dealloc(FIREDI)
unregistersymbol(FIREDI)
dealloc(FIRSKILL)
unregistersymbol(FIRSKILL) |