benilla-re systems structs docs

ResetUiSoundListHead

function · sound · primitive

Address
0x45f030 · 12 bytes, up to 0x45f03b
Meaning
Links a list's head to itself
Confidence
verified, proof one
Finding
sound/overview#lists-and-growable-arrays

Finding: Lists and growable arrays in sound: overview

A list link is two words, the previous link and the next, with bit 0 of the next marking the end; an explicit list holds its link offset (0xdddddddd until set) and a head linked to itself. A growable array holds its capacity, count, buffer and granularity; a granularity of 0 takes the largest power of two not above the request, capped at 21 for bucket lists, 64 for pointer arrays, 256 for the string block and 8 for the reverb records, and a reserve rounds up to it.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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