benilla-re systems structs docs

SetFrameScale

function · ui · primitive

Address
0x76ac10 · 62 bytes, up to 0x76ac4d
Meaning
Stores the frame's own scale and recomputes the effective scale
Confidence
verified, proof two
Finding
ui/visibility#scale
Test
ui::glue_767_76ac10_rsub_change_detect

Finding: Scale in ui: visibility, alpha and scale

A frame keeps its own scale at +0xb8 and its parent's effective scale at +0xbc, both 1.0 at construction. Setting either ignores a change below 2⁻²² unless forced, then recomputes the effective scale, +0xbc · +0xb8 rounded to a float. When that differs from the layout scale by 2⁻²² or more, or when forced, it becomes the layout scale of the frame unless it is exactly 0, which the layout setter refuses and leaves the layout scale as it was; it is passed as the layout scale of each region, and as the parent scale of each child, 0 included.

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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