benilla-re systems structs docs

s_realmCategoryCapacity

global · glue

Address
0xb41f74 · 4 bytes, up to 0xb41f77
Type
uint32_t
Meaning
Holds the realm category array's capacity; 0 by default, written by 0x46e300 and 0x46e470
Confidence
verified, proof one
Finding
glue/realms#the-category-set

Finding: The category set in glue: the realm list

At startup 0x46e300 builds one RealmCategory per Cfg_Categories.dbc row whose column 1 equals the Region 0xb41da4, in file order: +0x00 the row's column 0 as its id, +0x04 the row, +0x08 to +0x14 a shared dword array of realm indices, +0x18 the count in use. The array of pointers is {capacity 0xb41f74, count 0xb41f78, data 0xb41f7c}; a Region no row names leaves it empty. CGlueMgr::Initialize copies the Region from 0x882730, which startup reads from Wow.ini, section WoW Config, key Region. The function's tail writes the default sort (Sort records). At glue shutdown 0x46e470 frees each category's index array, each category and the pointer array, and zeroes the three globals.

The derivation is in the doc.