SetMap
function · ui · orchestration
- Address
0x4a67a0· 1360 bytes, up to0x4a6cef- 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
- CGGameUI::HandlePacket ui
- OnExploredBitsChanged ui
- SelectCurrentZone ui
- DrillMap ui
- Script::SetMapZoom ui
- UpdateMinimap minimap
- SetStaticBlip minimap
Callees 10
- 0x4368c0 unassigned
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ProjectWorldPosition ui
- ProjectAreaPoi ui
- 0x4a9850 ui
- IsAreaExplored ui
- GetWorldStateValue ui
- GetGossipBlip minimap
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.