[ENABLE]
alloc(MonsterRange,1024)
label(ReturnMonsterRange)
alloc(newmem,2048)
label(returnhere)
label(exit)
RegisterSymbol(MonsterAggro)
label(MonsterAggro)
00546165: //89 54 24 48 8B 01 FF 50 0C 8B
jmp MonsterRange
nop
ReturnMonsterRange:
0054617A: // 0f b7 86 54 01 00 00
jmp newmem
nop
nop
returnhere:
newmem:
mov eax, 00000006 //AI Key
exit:
jmp returnhere
0054617A: //0F B7 86 54 01 00 00 8B 0D
mov eax,[MonsterAggro]
nop
nop
MonsterRange:
mov [esp+48],edx
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 eax,[ecx]
jmp ReturnMonsterRange
MonsterAggro:
db 03 00 00 00
[DISABLE]
dealloc(MonsterRange)
dealloc(newmem)
00546165:
mov [esp+48],edx
mov eax,[ecx]
0054617A:
movzx eax,word ptr [esi+00000154]
alloc(MonsterRange,1024)
label(ReturnMonsterRange)
alloc(newmem,2048)
label(returnhere)
label(exit)
RegisterSymbol(MonsterAggro)
label(MonsterAggro)
00546165: //89 54 24 48 8B 01 FF 50 0C 8B
jmp MonsterRange
nop
ReturnMonsterRange:
0054617A: // 0f b7 86 54 01 00 00
jmp newmem
nop
nop
returnhere:
newmem:
mov eax, 00000006 //AI Key
exit:
jmp returnhere
0054617A: //0F B7 86 54 01 00 00 8B 0D
mov eax,[MonsterAggro]
nop
nop
MonsterRange:
mov [esp+48],edx
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 eax,[ecx]
jmp ReturnMonsterRange
MonsterAggro:
db 03 00 00 00
[DISABLE]
dealloc(MonsterRange)
dealloc(newmem)
00546165:
mov [esp+48],edx
mov eax,[ecx]
0054617A:
movzx eax,word ptr [esi+00000154]