FindWMOAreaName
function · unassigned · orchestration
- Address
0x7ccd30· 124 bytes, up to0x7ccdab- Signature
const char * __fastcall (int32_t wmoId, int32_t nameSet, int32_t groupId)- Meaning
- Returns the locale name of the WMOAreaTable row of an exact key, or the empty string
- Confidence
- verified, proof one
- Finding
- terrain/zones#wmoareatable-lookups
Finding: WMOAreaTable lookups in terrain: zones
Both lookups binary-search the WMOAreaTable rows for an exact key of WMO id, name set and group
id, compared in that order. Each field compares by its 32-bit difference, which wraps, so the
rows must be sorted by that order; an empty table finds nothing. 0x7ccde0(wmo, nameSet, group, &row) stores the row found or null and returns whether one was. 0x7ccd30(wmo, nameSet, group)
returns the row's name for the locale, +0x2c + 4 × locale, or the empty string. Neither retries
another name set or the whole-WMO row.
The derivation is in the doc.
Callers 1
- GetEntityGroupAreaName terrain
Callees 3
- WMOAreaTableRecConstruct dbc
- WMOAreaTableRecDestruct dbc
- _bsearch crt
Calls and jumps by a bare address, from tables/calls.tsv.