benilla-re systems structs docs

s_skillLineRecListTag

global · spell

Address
0x86f8bc · 51 bytes, up to 0x86f8ee
Type
char[51]
Meaning
Holds the allocation tag of the ability slot arrays, the TSExplicitList type name
Confidence
verified, proof one
Finding
spell/tables#slot-array-growth

Finding: Slot array growth in spell: tables

The slot array grows by a step: unless set, the step is the largest power of two not above the wanted count (1 for 0) when it is below 21, and otherwise becomes 21 and stays; the capacity rounds up to a multiple of it. Setting a larger count reallocates when it exceeds the capacity and inits the new lists; a smaller count destroys the lists past it. Reallocation asks 0x646320 with flags 0x10; when that returns null it allocates anew, gives each surviving list an empty copy with its link offset, unlinks the old members, and frees the old block. Members do not carry over; every caller empties the slots first.

The derivation is in the doc.