benilla-re systems structs docs

HandleRealmList

function · net · primitive

Address
0x5b2230 · 530 bytes, up to 0x5b2441
Signature
void __thiscall (void *this, CDataStore *msg)
Meaning
Parses a realm list into the owner's holder, remapping population sentinels and cleaning names, and reports the result
Confidence
verified, proof one
Finding
net/logonlink#realm-record-fill
Test
net::realm_list_fill

Finding: Realm record fill in net: logon link

0x5b2230 empties the holder, sizes it to the count, and for record i stores: i at +0, the u32 at +4, the byte at +8, the name at +9 (256 bytes), the address at +0x109 (32 bytes), the float at +0x12c and the three bytes at +0x130, +0x131 and +0x132 (glue/realms rewrites three population values). Each name is cleaned: a character of "*/:<>?\| becomes a space, and trailing such characters, spaces and dots are cut. It then reads a u16 into the holder's +0x10 and calls the holder's slot 5 with 0 when the store was read exactly to its end; otherwise it empties the holder and passes 4. A null packet passes 4 through 0x5b2560.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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