benilla-re systems structs docs

s_cases4ab4a0

global · ui

Address
0x4ab604 · 16 bytes, up to 0x4ab613
Type
void *[4]
Meaning
Holds the 4 case addresses of the switch in 0x4ab4a0
Confidence
inferred
Finding
ui/battlefield#queue-status

Finding: Queue status in ui: battlegrounds

GetBattlefieldStatus(index), index 1 to 3, returns five values on every path: the status word (none, queued, confirm, active for 0 to 3, error above), the map name (Name_lang of the Map row at +0x10 + 4*locale, or nil), the instance id and the two bracket levels. An index outside 1 to 3 returns nil, nil, 0, 0, 0. Five time functions return one number each, in milliseconds: the port deadline and the instance expiration give deadline minus now, 0 when unset or past; the instance run time and the time waited give now minus the stamp, 0 when unset; the estimated wait gives the stored value.

The derivation is in the doc.