benilla-re systems structs docs

s_chosenRealmCategoryId

global · glue

Address
0x837e9c · 4 bytes, up to 0x837e9f
Type
int32_t
Meaning
Holds -1 until a realm is chosen, then a category id or 0; written by 0x46ea20, 0x46f0e0 and the roster load
Confidence
verified, proof one
Finding
glue/realms#the-selection-cells

Finding: The selection cells in glue: the realm list

0x837e98, the stored category index, and 0x837e9c, the chosen category id, are .data cells, −1 in the file, that outlive every glue screen and glue script reload. 0x837e98 is written by the rebuild, the suggestion and ChangeRealm's pair form, and read only by GetSelectedCategory. 0x837e9c is written by the suggestion (the category's id), by ChangeRealm (0 when −1) and by the character list load at 0x472556 (0, when the list has characters); the rebuild's tail and 0x47253d read it.

The derivation is in the doc.