- UID
- 5829
- 帖子
- 275
- 主題
- 90
- 精華
- 0
- 積分
- 191
- 楓幣
- 16963
- 威望
- 113
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 922
- 閱讀權限
- 100
- 性別
- 保密
- 在線時間
- 1566 小時
- 註冊時間
- 2012-2-27
- 最後登入
- 2024-11-13
|
//TwMs v196.3_ICS_烈焰大火球攻擊無延遲
//Author: neilwaker
[Enable]
Alloc(FlameBall_NoDelay, 256)
RegisterSymbol(FlameBall_NoDelay)
Alloc(DelayTime, 04)
RegisterSymbol(DelayTime)
Label(SetDelayTime)
Label(Normal)
DelayTime:
DD 00000000
FlameBall_NoDelay:
cmp [esp], 00848237 //89 45 ? 8b 86 ?? ?? ?? ?? 8b 4d ?? 2b c8
jne Normal
nop
pop eax
push SetDelayTime
nop
Normal:
push timeGetTime
ret
SetDelayTime:
//add1
mov [ebp+64],eax
mov eax,[esi+00000148]
mov ecx,[ebp+64]
sub ecx,eax
cmp ecx,[DelayTime]
jl 008484d4
jmp 00848251 //add1 + 1a
0198b40c: //add1-4 > read
DD FlameBall_NoDelay
[Disable]
0198b40c:
DD timeGetTime
DeAlloc(FlameBall_NoDelay)
UnRegisterSymbol(FlameBall_NoDelay)
DeAlloc(DelayTime)
UnRegisterSymbol(DelayTime) |
|