benilla-re systems structs docs

LayoutCacheWrite

function · ui · orchestration

Address
0x490e10 · 75 bytes, up to 0x490e5a
Signature
void __fastcall (void *unused, void *file, CSimpleTop *top)
Meaning
Writes a record for every frame of the top's list that passes the saved-frame test
Confidence
verified, proof two
Finding
ui/layoutcache#which-frames-are-saved

Finding: Which frames are saved in ui: the layout cache

The writer walks every frame of the top's list in registration order and writes a frame that has a name, whose user-placed bit 0x1000 of +0xb4 is set and that is movable (0x100) or resizable (0x200). A frame failing any of the four writes nothing. The user-placed bit is set by dragging, by a record being applied and by SetUserPlaced, which raises Frame %s is not movable or resizable for a frame that is neither. Nothing clears it but SetUserPlaced(false), and it governs nothing but this file.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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