benilla-re systems structs docs

InsertBubbleByDistance

function · ui · primitive

Address
0x4b1360 · 251 bytes, up to 0x4b145a
Signature
void __thiscall (void *this)
Meaning
Links a bubble into the live list before the first bubble that is nearer the camera
Confidence
verified, proof one
Finding
ui/chatbubble#the-bubble-lists

Finding: The bubble lists in ui: the chat bubble

The live bubbles are on a list kept farthest first and the retired ones on a free list that is reused first in, first out. The nearest bubble draws on top: the walk gives the frame levels 2, 3, 4 in list order. A new bubble is placed by its distance to the camera and is placed again, with all the others, whenever the camera moves. Each walk retires a bubble whose speaker does not resolve and destroys one the update rejects. A frame taken from the free list was hidden, so its fade-in shows it and runs OnShow.

The derivation is in the doc.

Callers 1

Callees 1

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