DestroyCharSelectRecord
function · glue · orchestration
- Address
0x473700· 45 bytes, up to0x47372c- Signature
void __thiscall (CharacterSelectionDisplay *this)- Meaning
- Releases a roster record's pet model and destroys its character component, zeroing the component pointer
- Confidence
- verified, proof one
- 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 6
- ReleaseRoster glue
- CCharSelectInfo::Shutdown glue
- RequestCharSelectList glue
- LoadCharSelectRoster glue
- ClearCharSelectRoster glue
- ReserveRosterRecords glue
Callees 2
- DeleteCharacterComponent charactermodel
- HandleClose2 models
Calls and jumps by a bare address, from tables/calls.tsv.