UnequipCharacterSlot
function · charactermodel · orchestration
- Address
0x478960· 318 bytes, up to0x478a9d- Signature
void __thiscall (void *this, uint32_t bodySlot)- Meaning
- Removes the item from one of a character component's 12 outfit slots
- Confidence
- verified, proof one
- Finding
- charactermodel/equipment#unequip
- Test
charactermodel::cm_fanout_g_equip_slot_index,charactermodel::cm_fanout_g_equip_slot0_region
Finding: Unequip in charactermodel: equipment
0x478960(body slot) does nothing for an empty slot. Otherwise it marks +0x0a. Slot 0 puts the customization geosets back, detaches attachment 11 and clears the record; slot 1 detaches attachments 6 and 5; slot 11 detaches 0x1a. Slots 9 and 10 reset +0x180 to 0x5dd, and slot 9 clears the tabard
emblem cells. The other slots, and 9, clear the record and call all eight choosers with the old record and the store flag 0.
The derivation is in the doc.
Callers 9
- DressCreateCharacter glue
- UnequipEquipmentSlot charactermodel
- UnequipByInventoryType charactermodel
- DressUpModel::ClearModel ui
- DressUpModel::TryOnItem ui
- CGPlayer_C::OnVisibleItemChanged objectlayer
- CGUnit_C::ApplySheatheChange objectlayer
- CGUnit_C::AnimateSheatheChange objectlayer
- CGUnit_C::RefreshRangedWeaponModel objectlayer
Callees 4
- LookupHairGeoset charactermodel
- FindFacialHairRow charactermodel
- DetachAttachment charactermodel
- ClearEmblemCells charactermodel
Calls and jumps by a bare address, from tables/calls.tsv.