working one
[ENABLE]
alloc(MonsterRange, 2048)
label(ReturnMonsterRange)
label(exit)
005C2707: //
jmp MonsterRange
db 55
db 55
ReturnMonsterRange:
MonsterRange:
mov [esp+48],ecx
mov [esp+30],00000000
mov [esp+4c],00000000
//mov [esi+00000240],0000000 //other attack range to 0
//mov [esi+0000023c],0000000 //other attack range to 0
//mov [esi+00000238],0000000 //other attack range to 0
MOV ECX,DWORD PTR DS:[EDI+C]
jmp ReturnMonsterRange
exit:
[DISABLE]
dealloc(MonsterRange)
005C2707:
mov [esp+48],edx
MOV ECX,DWORD PTR DS:[EDI+C]
unregistersymbol(_aMobRangeLabel)
[ENABLE]
alloc(MonsterRange, 2048)
label(ReturnMonsterRange)
label(exit)
005C2707: //
jmp MonsterRange
db 55
db 55
ReturnMonsterRange:
MonsterRange:
mov [esp+48],ecx
mov [esp+30],00000000
mov [esp+4c],00000000
//mov [esi+00000240],0000000 //other attack range to 0
//mov [esi+0000023c],0000000 //other attack range to 0
//mov [esi+00000238],0000000 //other attack range to 0
MOV ECX,DWORD PTR DS:[EDI+C]
jmp ReturnMonsterRange
exit:
[DISABLE]
dealloc(MonsterRange)
005C2707:
mov [esp+48],edx
MOV ECX,DWORD PTR DS:[EDI+C]
unregistersymbol(_aMobRangeLabel)