benilla-re systems structs docs

FreeRealmCategories

function · glue · host

Address
0x46e470 · 159 bytes, up to 0x46e50e
Signature
void __cdecl (void)
Meaning
Frees every realm category, its index array and the category array, and zeroes the array globals
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.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.