MultiplyMatrixDispatch
function · d3dx
- Address
0x74a7c0· 6 bytes, up to0x74a7c5- Meaning
- Jumps through a pointer to the matrix product routine
- Confidence
- verified, proof one
- Finding
- animation/kernel#world-matrix-and-frame
- Test
animation::m2_animate_difftest,models::m2_decal_projection_difftest
Finding: World matrix and frame in animation: the animate pass
The pass sets the world matrix +0xfc to the base matrix +0xbc times the parent matrix, through the
dispatched product 0x74a7c0(out, a, b), which computes out = a · b for row-major 4×4 matrices. It
then builds two identity matrices on its frame, the working parent matrix at ebp-0x70 and the bone
rotation matrix at ebp-0xe4, reads the bone count from header +0x34, and skips the bone loop to the
element loops when it is 0.
The derivation is in the doc.
Callers 14
- M2SceneRayHit models
- CM2Model::GetAttachmentMatrix models
- CM2Model::GetEventMatrix models
- CM2Model::Animate models
- CM2Model::UpdateAfterAnimate models
- CM2Model::GetSkinnedBounds models
- 0x74b849 d3dx
- 0x74bc8d d3dx
- 0x74bfb5 d3dx
- 0x74c0d8 d3dx
- 0x74df60 d3dx
- 0x74e0ea d3dx
- 0x74e2d7 d3dx
- 0x74e476 d3dx
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.