benilla-re systems structs docs

ClientLink::CmdRealmList

function · net · primitive

Address
0x5ba8d0 · 332 bytes, up to 0x5baa1b
Signature
uint32_t __thiscall (ClientLink *this, CDataStore *message)
Meaning
Checks a realm list reply's u16 size against its realm records, then hands the records to the link's owner
Confidence
verified, proof one
Finding
net/logonlink#realm-list-packet
Test
net::grunt_realm_list

Finding: Realm list packet in net: logon link

CMD_REALM_LIST (0x10) is answered with a u16 size and then, counted by that size, a u32, a count byte, the records and a u16. Each record is a u32, a byte, two C strings of up to 255 characters, a float and three bytes. The link waits for the whole size, checks that the bytes it read after the size field equal it, and hands the store, set at the count byte, to the logon object's slot 13, 0x5b2230. A wrong size returns 1, the malformed code, and the link disconnects.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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