- UID
- 209911
- 帖子
- 56
- 主題
- 56
- 精華
- 0
- 積分
- 56
- 楓幣
- 559
- 威望
- 56
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 56
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 0 小時
- 註冊時間
- 2017-10-15
- 最後登入
- 2017-10-15
|
//Tw_Bnb_v110_CRC_怪物秒殺
[ENABLE]
registersymbol(KillMonster)
alloc(KillMonster,256)
registersymbol(KillMonsterMain)
alloc(KillMonsterMain,256)
registersymbol(KillMonster1)
alloc(KillMonster1,128)
registersymbol(MonsterDie)
alloc(MonsterDie,128)
label(jump1)
label(jump2)
label(jump3)
label(jumpEnd)
KillMonster:
call 005A9152
call KillMonsterMain
jmp 0134BAF9
KillMonsterMain:
push ebp
mov ebp,esp
sub esp,10
cmp dword ptr [00E8E8AC],00
je jumpEnd
call KillMonster1
mov [ebp-08],eax
mov eax,[ebp-08]
mov ecx,[eax+000012F4]
mov [ebp-04],ecx
mov [ebp-0C],00000000
jmp jump1
jump1:
mov eax,[ebp-0C]
mov ecx,[ebp-0C]
mov edx,[ebp-08]
mov eax,[edx+ecx*4+000007F0]
mov [ebp-10],eax
cmp dword ptr [ebp-10],00
jnz jump2
jmp jumpEnd
jump2:
push 00
mov eax,[ebp-10]
push eax
call MonsterDie
add esp,08
jmp jump3
jump3:
mov edx,[ebp-0C]
add edx,01
mov [ebp-0C],edx
mov eax,[ebp-0C]
cmp eax,[ebp-04]
jg jumpEnd
mov ecx,[ebp-0C]
mov edx,[ebp-08]
mov eax,[edx+ecx*4+000007F0]
mov [ebp-10],eax
cmp dword ptr [ebp-10],00
jnz jump2
jmp jumpEnd
jumpEnd:
mov esp,ebp
pop ebp
retn
KillMonster1:
push ebp
mov ebp,esp
push ecx
mov [ebp-04],00000000
mov eax,[00E8E8AC]
mov eax,[eax+0000589C]
mov eax,[eax+001DF040]
mov [ebp-04],eax
mov eax,[ebp-04]
mov esp,ebp
pop ebp
ret
MonsterDie:
push ebp
mov ebp,esp
mov ecx,[ebp+08]
push 01
push 0C
push [ebp+0C]
push 01
mov eax,00771AC3
call eax
pop ebp
ret
0134BAF4:
jmp KillMonster
[DISABLE]
0134BAF4:
call 005A9152
dealloc(KillMonster)
unregistersymbol(KillMonster)
dealloc(KillMonsterMain)
unregistersymbol(KillMonsterMain)
dealloc(KillMonster1)
unregistersymbol(KillMonster1)
dealloc(MonsterDie)
unregistersymbol(MonsterDie)
|
|