benilla-re systems structs docs

GetSelectedRealm

function · net · orchestration

Address
0x5ab9a0 · 15 bytes, up to 0x5ab9ae
Signature
void * __cdecl (void)
Meaning
Returns the selected realm record copy, or null when none was selected
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.

Callers 3

Callees 0

None by a direct call or jump.

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