benilla-re systems structs docs

CCharSelectInfo::Shutdown

function · glue · orchestration

Address
0x472090 · 102 bytes, up to 0x4720f5
Signature
void __cdecl (void)
Meaning
Destroys every roster record, frees the roster's storage and zeroes its capacity, count and pointer
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/select#roster-teardown

Finding: Roster teardown in glue: character select

Three functions empty the roster: each runs the record destructor 0x473700 on every record, which releases the pet model +0x114 (0x7103a0, leaving the pointer) and destroys the component +0x110 (0x476000, zeroing it), and zeroes the count. 0x4723d0 (GetCharacterListUpdate) then detaches scene attachments 0 and 1 and tail-calls 0x46b880. 0x472580 detaches both, selects −1 (UPDATE_SELECTED_CHARACTER with 1), calls 0x76cec0(0) on the model frame when one is set, and fires CHARACTER_LIST_UPDATE. 0x472090, from 0x46ac90, also frees the storage and zeroes the array, and detaches nothing. The detaches, 0x4722c0 and 0x4722e0, call 0x7130a0 with 0 and 1 on the frame's scene model +0x318.

The derivation is in the doc.

Callers 1

Callees 2

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