SimpleModelDoneCallback
function · ui · orchestration
- Address
0x76cdc0· 39 bytes, up to0x76cde6- Signature
void __fastcall (CM2Model *model, uint32_t key_bone, uint32_t anim_id, uint32_t mode, uint32_t overshoot, CSimpleModel *frame, uint32_t guid_hi)- Meaning
- Runs the frame's OnAnimFinished handler when a track completes with mode 0
- Confidence
- verified, proof one
- Finding
- ui/modelanim#completion-and-onanimfinished
Finding: Completion and OnAnimFinished in ui: Model frames, animation, light and fog
A model frame's OnAnimFinished handler runs once per arm, when the frame's clock reaches the track's end
(start plus length times repeats), for looping sequences too. Only natural completion runs the handler;
a re-arm that cuts a running track does not. After a clamping sequence ends, the model holds the last
frame as long as the slot stays armed; a looping one keeps looping.
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.