benilla-re systems structs docs

AreaListRegisterLocation

function · terrain · orchestration

Address
0x67e510 · 344 bytes, up to 0x67e667
Signature
void __fastcall (uint32_t mapId, void *entity)
Meaning
Resolves an entity's zone and subzone, applies an indoor or outdoor change and announces it
Confidence
verified, proof one
Name from
the community database (idb)
Finding
terrain/zones#area-update

Finding: Area update in terrain: zones

0x67e510 runs on every tenth poll of the active mover with the map id (ecx) and the mover's entity (edx). It does nothing for a null entity, an entity with no area id, or a zone id of 0. The area row is the leaf; the zone row is the leaf's parent (+0x8), or the leaf itself when the parent is 0, and then the subzone text is null. An entity that is indoors takes the indoor update, any other the outdoor update; when that reports a change, the interface is told the zone id, the zone text, the subzone text, the real zone text and the indoor bit, then the minimap text, and the indoor bit is stored.

The derivation is in the doc.

Callers 1

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.