almost 3 years ago
// TwMS v181.3 ICS 全職業50萬攻擊
// Author: Toby
[Enable]
Alloc(HighDamage,1024)
Label(HighDamage1)
Label(HighDamage2)
Label(Return)
Label(DoFinalAttack)
Label(DoHighDamage)

HighDamage:
Cmp [Esp+20], 00F5D858
Jne HighDamage1
Mov [Esp+20], DoFinalAttack
Jmp Return
HighDamage1:
Cmp [Esp+A8], 00F5D963
Jne HighDamage2
Mov [Esp+A8], DoHighDamage
Jmp Return
HighDamage2:
Cmp [Esp+D4], 00F5D963
Jne Return
Mov [Esp+D4], DoHighDamage
Return:
jmp InterlockedDecrement

DoFinalAttack:
push CEA1
pop eax
rol eax, 10
or eax, B3CD
rol eax, 8
xor eax, A41A5467
push eax
push esi
push A4685467
pop eax
ror eax, 10
or eax, 1000
movzx eax, ax
add eax, [esp]
lea esp, [esp+4]
pop [eax]
sub eax,AF44
push [eax]
call 0050D906
lea esp,[esp+04]
push eax
push eax
push A4685467
pop eax
ror eax, 10
or eax, 1000
movzx eax, ax
add eax, esi
add eax, 4
pop [eax]
pop eax
jmp 00F5D864

DoHighDamage:
bts di,08
mov edi,eax
cmc
push 00
lahf
mov eax,E8603070
clc
pushfd
ror eax,08
pushad
clc
bt dx,cx
test dh,al
or eax,04
push 01
mov [esp+08],bl
push [esp]
mov byte ptr [esp],-41
movzx eax,al
lea esp,[esp+30]
pushfd
clc
cmc
mov [esp],eax
cmc
push 46618902
cmc
rcl eax,cl
bswap eax
btc ax,01
pop eax
pushad
stc
rol eax,0C
pushad
movzx eax,ax
stc
cmp dl,7D
test edi,eax
clc
xor eax,0000900A
cmp cx,ax
test bl,dh
xchg [esp+3C],eax
btc ax,cx
btc ax,03
mov eax,esi
bt esp,edi
cmp dl,-32
bt bp,si
test cl,al
add eax,[esp+3C]
push DEB8474F
push [esp]
lea esp,[esp+48]
pushad
push [esp+08]
push [esp+24]
pop [eax]
mov [esp+08],bx
mov [esp+08],al
mov [esp+24],00F5D965
mov byte ptr [esp],-55
push [esp+24]
ret 0028

0132F084:
DD HighDamage
[Disable]
DeAlloc(HighDamage)

0132F084:
DD InterlockedDecrement
← 第一次寫外掛就上手 - 使用Visual C++ 2010(三) TwMS v181.3 ICS 500000傷害 →
 
comments powered by Disqus