CM2Model::GetSequenceInfo
function · models · primitive
- Address
0x711a20· 392 bytes, up to0x711ba7- Signature
void __thiscall (CM2Model *this, uint32_t id, uint32_t variation, M2SequenceInfo *out)- Meaning
- Fills a record with a resolved sequence's flags, length, scaled speed, box, centre, radius, id and class
- Confidence
- verified, proof one
- Finding
- models/model#sequence-info
- Test
models::attach_world_transform_difftest,models::sequence_info_difftest
Finding: Sequence info in models: the instance
GetSequenceInfo(id, variation, out) waits for the shared model, resolves id
(animation#animation-id-resolution) and fills a 0x3c-byte record: +0x34 and +0x38 get the
resolved dword's low and high words. The id goes through the sequence lookup, and the index then
moves variation times to its sequence's next variation +0x40, stopping at an index past the
table. A sequence in the table gives +0x0 its flags, +0x4 its end minus its start, +0x8 its
speed +0xc times the length of the base matrix's first row, +0xc its six bound floats, +0x24
the box centre and +0x30 its radius. An index past the table, a lookup miss included, zeroes
+0x0 to +0x33. No bone or pose enters.
The derivation is in the doc.
Callers 18
- UpdateChatBubble ui
- TabardModelModelReady ui
- CCamera::BuildPivotHeights uicamera
- PlayAnimatedHandlerState objectlayer
- QuestGiverHandlerOnFrameOpen objectlayer
- CGUnit_C::PlayTrack objectlayer
- CGUnit_C::PlayAnimation objectlayer
- GetModelTopPosition objectlayer
- CGUnit_C::ComputeSelectionRadius objectlayer
- CGUnit_C::UpdateEmoteQueue objectlayer
- CGUnit_C::PlayWoundAnimation objectlayer
- CMissile::Launch objectlayer
- CMissile::ArriveMiss objectlayer
- CMissile::Advance objectlayer
- UpdateSpellEffectObject objectlayer
- PlayBowPull objectlayer
- DrawBlobShadow lighting
- CM2Model::SetBaseTransformConformed models
Callees 5
- SetVector3 spline
- ScaleVector3 objectlayer
- M2LookupIndex models
- CM2Model::WaitForShared models
- CM2Model::ResolveAnimationId models
Calls and jumps by a bare address, from tables/calls.tsv.