ProjectAreaPoi
function · ui · primitive
- Address
0x4a79b0· 120 bytes, up to0x4a7a27- Meaning
- Projects an AreaPOI row onto the displayed map when its flags allow the level
- Confidence
- verified, proof one
- Finding
- ui/worldmap#the-landmarks
Finding: The landmarks in ui: the world map
GetNumMapLandmarks() pushes the count 0xb6e6b0. GetMapLandmarkInfo(index) is 1-based and pushes five values: the name, the description, the icon index, x and y; out of range it pushes two nils and three zeros. The list is rebuilt by 0x4a67a0 from the AreaPOI rows (0xc0e054, 0x74 bytes each) and then the one gossip marker.
An AreaPOI row is kept when its position (0x4a79b0) is not zero in both coordinates, its area passes the exploration test below and its world state (+0x70, when nonzero) has a nonzero value (0x4c5810).
The derivation is in the doc.
Callers 1
- SetMap ui
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.