benilla-re systems structs docs

CGChatBubbleFrame::StartFadeOut

function · ui · primitive

Address
0x4b0ee0 · 70 bytes, up to 0x4b0f25
Signature
void __thiscall (CGChatBubbleFrame *this, bool final)
Meaning
Starts a 250 ms fade out, marking it final when asked
Confidence
verified, proof one
Finding
ui/chatbubble#fades

Finding: Fades in ui: the chat bubble

A bubble fades in over 250 ms and out over 250 ms, at the end of its life and whenever its speaker leaves range. Both ramps compute the alpha from their own start time +0x33c: in 255·t/250, out 255 − 255·t/250, integer division; past 250 ms the fade in sets 255 and the fade out hides the frame. Neither reads the alpha the frame holds, so a fade-out that interrupts a fade-in starts from 255. The state word +0x320 holds 1 fading in, 2 fading out, 4 the final fade-out and 8 a new bubble.

The derivation is in the doc.

Callers 1

Callees 1

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