benilla-re systems structs docs

ChannelNotifyHandler

function · ui · primitive

Address
0x49bf80 · 1675 bytes, up to 0x49c60a
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles the channel notify message: reads the notice and name, picks a token and chat type, and shows the line
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatchannels#the-channel-notify-message

Finding: The channel notify message in ui: chat channels

Opcode 0x99, handled by 0x49bf80: a u8 notice, the channel name (at most 128 bytes), then the fields the notice needs (tables/channel_notices.tsv). A notice above 31 shows an empty system line. Each arm picks a token and a chat type and calls the chat line function 0x49a870 with the token as the text and the channel name as the channel. Notices 0 and 1 read a GUID and show nothing unless the channel is joined and confirmed. Notice 12 reads a GUID and two bytes and calls 0x49e910, which shows its own lines (#mode-change-lines). Notice 2 reads two u32, discarding the first, and a topic string when bytes remain.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 13

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