benilla-re systems structs docs

MultiplyMatrixDispatch

function · d3dx

Address
0x74a7c0 · 6 bytes, up to 0x74a7c5
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

Callees 0

None by a direct call or jump.

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