FriendList::ReadFriendList
function · net · primitive
- Address
0x5ae350· 319 bytes, up to0x5ae48e- Signature
void __thiscall (FriendList *this, CDataStore *msg)- Meaning
- Replaces the friend slots from opcode 0x67 list and requests each name
- Confidence
- verified, proof one
- Finding
- net/friends#friend-list-packet
- Test
net::friends_read_list
Finding: Friend list packet in net: friends
SMSG_FRIEND_LIST (0x67) replaces the friends. 0x5ae350 frees every slot's name and clears the pointers, then reads a count byte and, for each record up to 50: the guid, a status byte, and, when the status is not 0, three dwords stored at +0x18, +0x10 and +0x14: area, level, class. A status of 0 stores zeros there. The slot's online byte is 1 for a non-zero status, and +1 holds the status. Each name comes from the name cache; a name not cached adds to +0x640. When nothing is pending at the end the friends sort and FRIENDLIST_UPDATE fires (0x5ae850).
The derivation is in the doc.
Callers 1
Callees 7
- CDataStore::GetUInt8 base
- CDataStore::GetInt32 base
- CDataStore::GetGuid base
- DBCache::NameCache::GetRecord dbcache
- FriendList::SortFriends net
- SMemFree storm
- SStrDupA storm
Calls and jumps by a bare address, from tables/calls.tsv.