benilla-re systems structs docs

CGCharacterModelBase::OnAnimDone

function · ui · orchestration

Address
0x5062a0 · 77 bytes, up to 0x5062ec
Signature
void __fastcall (CM2Model *model, uint32_t key_bone, uint32_t anim_id, uint32_t mode, uint32_t overshoot, CGCharacterModelBase *frame, uint32_t guid_hi)
Meaning
Arms Stand when a whole-body track completes, or stops the track on another key bone
Confidence
verified, proof one
Finding
ui/playermodel#stand-is-the-resting-state

Finding: Stand is the resting state in ui: PlayerModel, DressUpModel and TabardModel

Any sequence armed on bone 0 of a pane other than Stand is replaced by Stand on the next paint outside a rotation: SetSequence(n) does not hold on a PlayerModel, DressUpModel or TabardModel, while on a plain Model it does. When a track completes, the pane's completion callback arms Stand again for whole-body or Ready1H tracks, ignores HandsClosed, and stops the track on any other key bone.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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