benilla-re systems structs docs

s_worldMapAreaStore

global · dbc

Address
0xc0d5b4 · 20 bytes, up to 0xc0d5c7
Type
uint32_t[5]
Meaning
Holds the WorldMapArea.dbc store: records of 32 bytes, count, id map, max id and loaded flag
Confidence
verified, proof one
Finding
ui/worldmap#the-lists

Finding: The lists in ui: the world map

0x4a5d00 builds the lists from WorldMapArea (rows 0xc0d5b4, 32 bytes, fields id, map id, area id, name, four rectangle floats). A continent is a row with area id 0, in file order. A zone of a continent is a row with a nonzero area id and the same map id; the ids of a continent's zones are sorted by 0x4a6390, the name of their area. An orphan is a row with a nonzero area id whose map id matches no continent; their ids are kept in file order, unsorted, in the array at 0xb6e610 (count 0xb6e60c).

The derivation is in the doc.