benilla-re systems structs docs

ParseAnchorPoint

function · ui · primitive

Address
0x6f1840 · 69 bytes, up to 0x6f1884
Meaning
Finds an anchor point name in 0x811a38, ignoring case, and writes its index
Confidence
verified, proof two
Finding
ui/anchors#point-slots-and-point-names

Finding: Point slots and point names in ui: anchors and layout

A CLayoutFrame keeps its anchor points in nine slots at +0x04 to +0x24, one per point, so a frame has at most one anchor per point. The index of a point is fixed by the name table the XML loader and the Lua methods share:

indexpointindexpointindexpoint
0TOPLEFT3LEFT6BOTTOMLEFT
1TOP4CENTER7BOTTOM
2TOPRIGHT5RIGHT8BOTTOMRIGHT

Name lookup ignores case.

The derivation is in the doc.

Callers 5

Callees 1

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