benilla-re systems structs docs

ReservePassList

function · ffxeffects · primitive

Address
0x6cc940 · 226 bytes, up to 0x6cca21
Meaning
Grows a pass list to hold its count plus an extra count, rounded up to its quantum
Confidence
verified, proof one
Finding
ffxeffects/objects#pass-list-container

Finding: Pass list container in ffxeffects: pass objects and effects

The pass lists are growable arrays of pass pointers with the tag .PAVPass@FFX@@: 0x6cc940 (ecx the list, an extra count and a flag) grows the capacity to hold count + n, rounded up to a multiple of the quantum; 0x6cca30 sets the quantum (0x40 when the request is 0x40 or more, else the largest power of 2 not above it, at least 1); 0x6cca70 rounds a size up to a multiple; 0x6cca90 reallocates to a capacity, keeping the first min(old, new) pointers.

The derivation is in the doc.

Callers 2

Callees 3

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