benilla-re systems structs docs

IsAncestorOf

function · ui · orchestration

Address
0x767010 · 45 bytes, up to 0x76703c
Meaning
Answers whether a frame appears in another frame's parent chain
Confidence
verified, proof two
Finding
ui/strata#raising-a-frame
Test
ui::is_descendant

Finding: Raising a frame in ui: strata, levels and the per-frame passes

Raising a frame acts on it or its nearest ancestor with the toplevel flag (bit 1 of +0xb4); without one nothing happens. With the overlap check, the frame is first laid out if needed and bit 0x10 is set when any frame at the same or a higher level of its stratum, other than itself and its descendants, has a rectangle that intersects its own with positive area. When bit 0x10 is set, the stratum's levels are compacted and the frame moves to the level just above the highest in use, its children following. Lower does nothing.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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