CGUnit_C::Dismount
function · objectlayer · orchestration
- Address
0x607ce0· 181 bytes, up to0x607d94- Meaning
- Detaches the body from the mount, clears the mount model and its sound data, re-picks the animation
- Confidence
- verified, proof one
- Finding
- objectlayer/unitdisplay#mounts
Finding: Mounts in objectlayer: unit display
The UNIT_FIELD_MOUNTDISPLAYID watcher passes the old id to 0x5ffa50, which dismounts from the
old mount and mounts the new one with effect kind 6. 0x607a00 loads the mount model, seats the
body at the mount's attachment 0 playing animation 91, scales the rider by its scale over the
mount's, and takes the mount's footprints and sound data. 0x607ce0 reverses it.
The derivation is in the doc.
Callers 2
- CGUnit_C::OnMountDisplayChanged objectlayer
- CGUnit_C::OnDisplayChanged objectlayer
Callees 9
- GetActiveCamera ui
- SetCameraTargetByGuid ui
- CGUnit_C::UpdateBaseAnimation objectlayer
- CGUnit_C::ComputeSelectionRadius objectlayer
- CGObject_C::SetModel2 objectlayer
- CGUnit_C::PlaySpiritWolfSound objectlayer
- CM2Model::PlayAnimation models
- CM2Model::GetParent models
- CM2Model::Detach models
Calls and jumps by a bare address, from tables/calls.tsv.