冰楓論壇
標題:
召喚獸短擊-CRC For TWMS109
[打印本頁]
作者:
qkckcqkckcq
時間:
2012-9-26 12:30
標題:
召喚獸短擊-CRC For TWMS109
//==================================================
// 召喚獸短擊-CRC For TWMS109
// 更新: king3005518小
// 更新時間: 2010/1/27
//==================================================
[enable]
[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)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓