冰楓論壇

標題: TW BNB V124.1 怪物秒殺SS [打印本頁]

作者: BeeBan    時間: 2024-1-18 03:02
標題: TW BNB V124.1 怪物秒殺SS
本帖最後由 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)








歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓