benilla-re systems structs docs

BuildMapLists

function · ui · orchestration

Address
0x4a5d00 · 1668 bytes, up to 0x4a6383
Meaning
Builds the continent records, their sorted zone ids and the orphan area ids from WorldMapArea
Confidence
verified, proof one
Finding
ui/worldmap#the-lists
Test
ui::glue_geom_4a5d00_poi_transform

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.

Callers 1

Callees 15

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