benilla-re systems structs docs

ClientChannelListHandler

function · ui · orchestration

Address
0x49c690 · 332 bytes, up to 0x49c7db
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles the channel list message: stores the flag byte, appends the members, prints once every name is known
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatchannels#channel-list-message

Finding: Channel list message in ui: chat channels

Opcode 0x9b, handled by 0x49c690: the channel name (at most 128 bytes), a flag byte, an i32 count of members, each a GUID and a flag byte; an unknown channel skips the rest. The flag byte goes to the slot's +0x90; each member becomes a 0x18-byte node appended to the slot's member list at +0x84, its name asked of the name cache with the callback 0x49ccc0. When every name is cached, or the count is 0 or less, the list prints at once (0x49c7e0); otherwise the callback prints it when a name arrives, first freeing the node of a member whose answer is a refusal. Nodes of an earlier message whose names never came print with the new ones.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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