Script::GetMapOverlayInfo
function · ui · primitive
- Address
0x4a8a00· 423 bytes, up to0x4a8ba6- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the path, size, offsets and map point of a map overlay
- 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 8
- __ftol crt
- SStrPrintf storm
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.