冰楓論壇

標題: Tw_Bnb_v110_CRC_怪物秒殺 [打印本頁]

作者: BNB_ASM    時間: 2017-10-15 20:40
標題: Tw_Bnb_v110_CRC_怪物秒殺
//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)


作者: qa0258789639    時間: 2017-12-13 19:34
本帖最後由 qa0258789639 於 2017-12-13 19:37 編輯

請問我用其他數據沒問題但使用這個會中斷連線?




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