HandleRealmListResult
function · net · primitive
- Address
0x5b2560· 554 bytes, up to0x5b2789- Signature
void __thiscall (void *this, uint32_t result, CDataStore *msg)- Meaning
- Empties the realm holder and passes a nonzero result to its slot 5, or for 0 fills it from the store
- Confidence
- verified, proof one
- Finding
- net/logonlink#realm-record-fill
- Test
net::realm_list_result
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 2
- HandleRealmList net
- HandleReconnectResult net
Callees 8
- CDataStore::GetUInt8 base
- CDataStore::GetUInt16 base
- CDataStore::GetInt32 base
- CDataStore::GetFloat base
- CDataStore::GetCString base
- FreeRealmInfoArrayData net
- ReallocRealmInfoArray net
- DestroyRealmInfoArray net
Calls and jumps by a bare address, from tables/calls.tsv.