benilla-re systems structs docs

SetMap

function · ui · orchestration

Address
0x4a67a0 · 1360 bytes, up to 0x4a6cef
Meaning
Stores the continent, zone and direct area, rebuilds the landmark and overlay lists, signals WORLD_MAP_UPDATE
Confidence
verified, proof one
Finding
ui/worldmap#the-selection
Test
ui::glue_4a6_4a67a0_near_zero_gate

Finding: The selection in ui: the world map

Three words hold the selection: the continent 0x84506c, the zone 0x845070 and the direct area 0x845074, all -1 at start. A continent of -1 is the world view and -2 a direct area, the map of an instance such as a battleground; 0 or more indexes the continent records 0xb6e668 (0x10024 bytes each, count 0xb6e664) and a zone of 0 or more indexes the continent's sorted children (record+0x10, count record+0xc). 0x4a67a0(continent, zone) is the only writer. It stores the continent unchecked; the zone only for a valid continent index and a zone below the child count, else -1; and the direct area, the second argument as a row id, only when the continent is exactly -2, else -1.

The derivation is in the doc.

Callers 7

Callees 10

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