benilla-re systems structs docs

SetStrataNodeCapacity

function · ui · orchestration

Address
0x766b30 · 133 bytes, up to 0x766bb4
Meaning
Reallocates a level node array to a capacity, copying when it must move
Confidence
verified, proof one
Finding
ui/strata#strata-records-and-level-nodes

Finding: Strata records and level nodes in ui: strata, levels and the per-frame passes

The top holds nine pointers at +0xcd4, one 0x18-byte record per stratum: a draw-dirty flag, a levels-dirty flag, the count of levels in use, and an array of level nodes. A level node, CFrameStrataNode, is 0x11c bytes: two frame lists linked through each frame's +0x30c, a cursor at +0x18, five draw batches of 0x30 bytes from +0x1c, a dirty-layer mask at +0x10c and the list of batches to draw at +0x110. The second list holds the level's frames; the first holds frames added while the update pass walks the level.

The derivation is in the doc.

Callers 1

Callees 3

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