benilla-re systems structs docs

s_realmSelected

global · net

Address
0xc28134 · 1 bytes, up to 0xc28134
Type
uint8_t
Meaning
Holds the byte that says the selected-realm copy is valid
Confidence
verified, proof two
Finding
net/connection#realm-selection

Finding: Realm selection in net: connection

0x5ab680 returns the text of the CVar realmList. On first use, or when ecx is non-zero, it registers the CVar with the default us.logon.worldofwarcraft.com:3724 and the help text "Address of realm list server" and loads realmlist.wtf; otherwise it returns the held value. 0x5ab7d0 returns realmName, registering it on first use with an empty default and "Last realm connected to". 0x5ab930 returns record i of the realm holder 0xc28118 (stride 0x134), creating the holder first when it is absent, or null when i is not below the holder's count. 0x5ab9a0 returns 0xc27fb8, the selected-realm copy, when the byte 0xc28134 is non-zero, else null.

The derivation is in the doc.