Script::GetNumMapOverlays
function · ui · orchestration
- Address
0x4a89d0· 44 bytes, up to0x4a89fb- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the number of map overlays
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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.
Callers 0
None by a direct call or jump.
Callees 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.