benilla-re systems structs docs

s_worldMapOverlayStore

global · dbc

Address
0xc0d58c · 20 bytes, up to 0xc0d59f
Type
uint32_t[5]
Meaning
Holds the WorldMapOverlay.dbc store: records, count, id map, max id and loaded flag
Confidence
verified, proof one
Finding
ui/worldmap#the-overlays

Finding: The overlays in ui: the world map

GetNumMapOverlays() pushes 0xb6e6b4 and GetMapOverlayInfo(index) is 1-based and pushes seven values: the texture path, the texture width and height, the two offsets and the two map point coordinates. An index out of range looks up overlay row 0 and, with no such row, pushes nil and six zeros. The list is rebuilt by 0x4a67a0 as row ids of WorldMapOverlay (0x44 bytes each). It stays empty with no player, and for a continent or world view: only a zone (zone 0 or more) or a direct area above 0 shows overlays.

The derivation is in the doc.