benilla-re systems structs docs

HandleGossipMessagePacket

function · ui · primitive

Address
0x4e26e0 · 274 bytes, up to 0x4e27f1
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles the gossip message: latches the target, reads options and quests, builds the greeting
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/gossip#the-gossip-message

Finding: The gossip message in ui: the gossip window

Opcode 0x17d, handled by 0x4e26e0: u64 guid, u32 textId, u32 optionCount, the options, u32 questCount and the quests. The guid is latched as the gossip target (a zero guid closes the window). An option is u32 index, u8 icon, u8 coded and a C string of up to 0x800 bytes. A quest is u32 questId, u32 icon, u32 level and a C string of up to 0x200 bytes. The option count above 15 is read as 15; the quest count has no upper limit though 32 rows exist.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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