- UID
- 286196
- 帖子
- 1238
- 主題
- 192
- 精華
- 0
- 積分
- 2485
- 楓幣
- 4991
- 威望
- 1944
- 存款
- 0
- 贊助金額
- 1950
- 推廣
- 0
- GP
- 230
- 閱讀權限
- 150
- 在線時間
- 1072 小時
- 註冊時間
- 2020-7-11
- 最後登入
- 2024-12-17
|
本帖最後由 BeeBan 於 2024-1-18 11:53 編輯
//Tw BnB v124 CRC 怪物秒殺SS
[ENABLE]
alloc(KillMonster,256)
alloc(KillMonsterMain,256)
alloc(KillMonster1,128)
alloc(MonsterDie,128)
label(jump1)
label(jump2)
label(jump3)
label(jumpEnd)
KillMonster:
call 0066E9A7
call KillMonsterMain
jmp 01706D94
KillMonsterMain:
push ebp
mov ebp,esp
sub esp,10
cmp dword ptr [00FF9734],00
je jumpEnd
call KillMonster1
mov [ebp-08],eax
mov eax,[ebp-08]
mov ecx,[eax+00001644]
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+00000B44]
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+00000B44]
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,[00FF9734]
mov eax,[eax+00006750]
mov eax,[eax+001DF02C]
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,00848109
call eax
pop ebp
ret
01706D8F:
jmp KillMonster
[DISABLE]
01706D8F:
call 0066E9A7
dealloc(KillMonster)
dealloc(KillMonsterMain)
dealloc(KillMonster1)
dealloc(MonsterDie)
|
|