benilla-re systems structs docs

CSimpleFrame::vftable

global · ui

Address
0x81c498 · 144 bytes, up to 0x81c527
Type
void *[36]
Meaning
Holds the vtable of CSimpleFrame
Confidence
verified, proof two
Finding
ui/visibility#alpha

Finding: Alpha in ui: visibility, alpha and scale

A frame's alpha is a byte at +0xc8, 255 at construction. Setting it stores the byte and, when it changed, refreshes each region and sets every child's alpha to the same byte, recursively: a parent's alpha replaces its children's, it does not multiply them. The Lua SetAlpha clamps its number to 0 to 1, NaN going to 1, multiplies by 255 and truncates.

The derivation is in the doc.