RebuildRealmList
function · glue · primitive
- Address
0x46e510· 566 bytes, up to0x46e745- Signature
void __cdecl (void)- Meaning
- Refills the categories from the realm holder, computes the load statistics, sorts, and raises the list
- Confidence
- verified, proof one
- Finding
- glue/realms#the-list-rebuild
- Test
glue::realm_load_stats_difftest
Finding: The list rebuild in glue: the realm list
When a realm list arrives, CGlueMgr::Idle calls 0x46e510. It empties every category and walks
the holder in order: a realm's category byte, or the first category's id when the byte is 0, joins
every category of that id, so a byte no category has puts the realm on no tab. The last realm
named like the realmName CVar, case-insensitively, records its id. Then come the statistics and
the sort, and 0x837e98 takes the index of the first category of the recorded id, unchanged when
none matches. Last it raises OPEN_REALM_LIST (9), or GET_PREFERRED_REALM_INFO (10) when the
session's character list is empty and 0x837e9c is −1. With no categories, a byte of 0 reads
through a null array.
The derivation is in the doc.
Callers 1
- CGlueMgr::Idle glue
Callees 9
- AddUint32ArrayCount core
- SortRealmCategories glue
- InitLoginListenerBase glue
- ClientServices::GetCurrent net
- GetRealmName net
- GetRealmInfoByIndex net
- SMemAlloc storm
- SStrCmpI storm
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.