benilla-re systems structs docs

CGChatBubbleFrame::StartFadeIn

function · ui · primitive

Address
0x4b0ea0 · 59 bytes, up to 0x4b0eda
Signature
void __thiscall (CGChatBubbleFrame *this)
Meaning
Starts a 250 ms fade in and shows the frame unless it is fading in or in its final fade out
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 2

Callees 1

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