benilla-re systems structs docs

StartChatBubble

function · ui · primitive

Address
0x4b1600 · 517 bytes, up to 0x4b1804
Meaning
Spawns a bubble: strips the line, sizes its frame and starts its lifetime
Confidence
inferred
Finding
ui/chatbubble#spawning-a-bubble
Test
ui::glue_4b0_4b1600_hi_bound

Finding: Spawning a bubble in ui: the chat bubble

0x608ac0(kind, text) is called once in the image, by the chat line function (0x49acd9), when a line that passes ui/chatfilter has a speaker that resolves to a unit of the client. A unit gets a bubble when, in order: it has no nameplate (+0xe60 is 0), the text is non-empty, it has a scene node (+0xe0), the CVar is on (ChatBubblesParty for kind 1, ChatBubbles for every other kind; defaults 0 and 1), the active player resolves, and the squared distance to the active player is at most 400 or NaN. The speaker may be the active player. A bubble that is not drawn by the scene does not stop the spawn.

The derivation is in the doc.

Callers 1

Callees 12

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