冰楓論壇
標題:
招喚獸全圖打(可調範圍)TWMS100
[打印本頁]
作者:
qkckcqkckcq
時間:
2012-9-26 12:24
標題:
招喚獸全圖打(可調範圍)TWMS100
//招喚獸全圖打(可調範圍)TWMS100
//Address:0063A1D6
//EIP=IwallEXP
//-----------------------------------------------
[ENABLE]
registersymbol(IwallEXP)
alloc(IwallEXP, 2048)
label(IwallEXP00)
label(IwallEXP01)
registersymbol(IwallTimes)
alloc(IwallTimes, 4)
registersymbol(x2)
alloc(x2, 4)
registersymbol(x1)
alloc(x1, 4)
registersymbol(y1)
alloc(y1, 4)
registersymbol(y2)
alloc(y2, 4)
registersymbol(Timer)
alloc(Timer, 4)
IwallTimes:
dd 0
Timer:
dd c8//200ms
x2:
dd BB8//5000
y2:
dd BB8//5000
IwallEXP:
mov edx,[00B0B918] //
mov edx,[edx+18]
sub edx,[Timer] //每 200 ms 換下一張圖
cmp edx,[IwallTimes]
jl IwallEXP01
mov edx,[00B0B918] //
mov edx,[edx+18]
mov [IwallTimes],edx
mov edx,[x2]
mov [x1],edx
sub [x2],1f4
mov edx,[y2]
mov [y1],edx
cmp [x2], FFFFFC18
jge IwallEXP01
mov [x2],3e8
sub [y2],1f4
cmp [y2], FFFFFE0C
jge IwallEXP01
mov [y2],1f4
IwallEXP01:
mov edx,[00B0B904]
mov edx,[edx+0E54]
add edx,[x1]
cmp ecx,edx
jg IwallEXP00
sub edx,1f4 // 500
cmp ecx,edx
jl IwallEXP00
mov edx,[00B0B904]
mov edx,[edx+0E50]
add edx,[y1]
cmp eax,edx
jg IwallEXP00
sub edx,1f4
cmp eax,edx
jl IwallEXP00
mov ecx,[00B0B904]
mov ecx,[ecx+0E54]
mov eax,[00B0B904]
mov eax,[eax+0E50]
mov [ebx+00000484],ecx
jmp 00647A33
//-----------------------------
IwallEXP00:
mov [ebx+00000484],ecx
jmp 00647A33
00647A2D:
jmp IwallEXP
[DISABLE]
00647A2D:
db 89 8B 84 04 00
dealloc(IwallEXP)
unregistersymbol(IwallEXP)
unregistersymbol(IwallTimes)
dealloc(IwallTimes)
unregistersymbol(x1)
dealloc(x1)
unregistersymbol(y1)
dealloc(y1)
unregistersymbol(x2)
dealloc(x2)
unregistersymbol(y2)
dealloc(y2)
unregistersymbol(Timer)
dealloc(Timer)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓