benilla-re systems structs docs

CSimpleFrame::AddChild

function · ui · orchestration

Address
0x76aa20 · 142 bytes, up to 0x76aaad
Meaning
Adds a child frame node to the frame's children
Confidence
verified, proof two
Finding
ui/frames#child-and-region-lists

Finding: Child and region lists in ui: the frame object model

A frame keeps its child frames and its regions in two lists of the same shape, headers at +0x2fc and +0x1b4, and links each new member at the head, so a walk from the tail, by previous links, visits them in creation order (head and tail as in draworder). A list node is 12 bytes: the next link, the previous link and the object. A link's low bit marks the end of the list, so an empty list holds a tagged pointer to its own header, never 0. Attaching a frame to the parent it already has changes nothing and does not move it to the end.

The derivation is in the doc.

Callers 1

Callees 1

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