benilla-re systems structs docs

CLayoutFrame::DestroyLayout

function · ui · orchestration

Address
0x768e20 · 167 bytes, up to 0x768ec6
Meaning
Clears the frame's points, every point relative to it, its dependents and its queue link
Confidence
verified, proof two
Finding
ui/anchors#dependents

Finding: Dependents in ui: anchors and layout

A frame anchored to another is recorded in the other's dependents list at +0x30, one 0x10-byte node {links, frame, point mask} per dependent frame; a second point to the same frame ORs its bit into the node. Freeing a point clears its bit, and the node is freed when the mask reaches 0. A frame being destroyed clears its own points, then every dependent's points that name it, and leaves the layout queue. 0x768010 answers whether a frame depends on another through any chain of relative points.

The derivation is in the doc.

Callers 1

Callees 4

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