benilla-re systems structs docs

s_areaPoiStore

global · dbc

Address
0xc0e054 · 20 bytes, up to 0xc0e067
Type
uint32_t[5]
Meaning
Holds the AreaPOI.dbc store: records of 0x74 bytes, count, id map, max id and loaded flag
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.