benilla-re systems structs docs

SetPassListCapacity

function · ffxeffects · host

Address
0x6cca90 · 133 bytes, up to 0x6ccb14
Meaning
Reallocates a pass list to a capacity and keeps its leading pointers
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.