- UID
- 8784
- 帖子
- 4732
- 主題
- 343
- 精華
- 0
- 積分
- 3298
- 楓幣
- 2832
- 威望
- 3240
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 9
- 閱讀權限
- 90
- 性別
- 保密
- 在線時間
- 1162 小時
- 註冊時間
- 2012-6-9
- 最後登入
- 2024-12-15
|
- //==================================================
- // 召喚獸短擊-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)
複製代碼 |
|