benilla-re systems structs docs

CSimpleFrame::AddRegion

function · ui · orchestration

Address
0x76a750 · 154 bytes, up to 0x76a7e9
Meaning
Links a region node at the head of the frame's region list
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 2

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