benilla-re systems structs docs

CSimpleTop::OnLayerUpdate

function · ui · orchestration

Address
0x765650 · 377 bytes, up to 0x7657c8
Meaning
Deletes queued objects, drains the layout queue, runs every visible frame's update slot in order
Confidence
verified, proof two
Finding
ui/strata#the-update-pass
Test
ui::render_traverse_order

Finding: The update pass in ui: strata, levels and the per-frame passes

The pass function 0x764330 takes the elapsed time and runs the update, then the draw. The update first deletes the objects on the top's deletion list and drains the layout queue. Then for each stratum from 0 to 8, each level from 0 up and each frame of the level from the oldest link to the newest, it calls the frame's update slot 0x38 with the elapsed time, moving the cursor ahead so the frame may leave. Frames that joined the level during the walk are then appended to its list. The layout queue is drained again, and a pending hover pick is made from the last mouse position.

The derivation is in the doc.

Callers 1

Callees 4

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