UpdateChatBubbles
function · ui · primitive
- Address
0x4b1060· 757 bytes, up to0x4b1354- Meaning
- Walks the bubble list each frame, hiding and freeing bubbles that fail the gates
- Confidence
- inferred
- Finding
- ui/chatbubble#the-bubble-lists
- Test
ui::dist2_4b1060
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 13
- SetVector3 spline
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- GetActiveCamera ui
- UpdateChatBubble ui
- InsertBubbleByDistance ui
- NextLink4b1960 ui
- Unlink4b1990 ui
- 0x4b1d70 ui
- 0x4b1d90 ui
- InitEndLink4b1de0 ui
- CGUnit_C::ReleaseChatBubble objectlayer
- CSimpleFrame::SetFrameLevel ui
Calls and jumps by a bare address, from tables/calls.tsv.