benilla-re systems structs docs

CLayoutFrame::SetClampedToScreen

function · ui · orchestration

Address
0x768cc0 · 47 bytes, up to 0x768cee
Meaning
Sets or clears flag 0x10 and lays the frame out
Confidence
verified, proof two
Finding
ui/anchors#size-scale-and-stored-rectangle

Finding: Size, scale and stored rectangle in ui: anchors and layout

Setting the width (+0x50) or height (+0x54) clears flag 8 and lays the frame out. Setting the scale refuses 0 with error 0x57, ignores a change below 2⁻²² unless forced, and otherwise stores it, zeroes the rectangle, clears flag 1 and lays the frame out. Reading the rectangle copies +0x40 to +0x4c and answers flag 1. A point is inside the rectangle when left ≤ x ≤ right and bottom ≤ y ≤ top; NaN is outside. Flag 0x10 is set and cleared by 0x768cc0, which lays the frame out.

The derivation is in the doc.

Callers 2

Callees 1

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