benilla-re systems structs docs

GetContinentName

function · ui · primitive

Address
0x4a65a0 · 60 bytes, up to 0x4a65db
Signature
const char * __fastcall (uint32_t continent)
Meaning
Returns the localized Map.dbc name of a continent record's map, or null
Confidence
verified, proof one
Finding
ui/worldmap#the-getters
Test
ui::worldmap_list_names

Finding: The getters in ui: the world map

GetMapInfo() pushes three values: the selected row's area name (the row at the direct area for a continent of -1 or less, the continent's own row, or its child), the texture height and its power-of-two round-up. A direct area has no continent row, so its height and round-up are 0. GetCurrentMapContinent() pushes the continent word plus one, so -1 for a direct area, and GetCurrentMapZone() pushes the zone plus one. GetMapContinents() and GetMapZones(continent) push the names of the lists; GetMapZones uses an unsigned bound on continent - 1, so a continent of -1 or -2 pushes none. SetMapZoom(continent [, zone]) calls 0x4a67a0(continent - 1, zone - 1) with -1 for a missing zone.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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