benilla-re systems structs docs

InvertMatrixDispatch

function · d3dx

Address
0x74ad38 · 6 bytes, up to 0x74ad3d
Meaning
Jumps through a pointer to the routine that sets the scene matrix from a view
Confidence
inferred
Finding
models/scene#view-rebase

Finding: View rebase in models: the scene

The collect pass increments the frame counter and clears the shader id memo when the cache's mode changed. It reads the device view into +0x9c and moves its translation so the view is relative to the origin p the caller passes: m30 −= (m10·py + m20·pz) + m00·px, `m31 −= (m11·py + m01·px)

  • m21·pz, m32 −= (m12·py + m02·px) + m22·pz, each sum at the FPU's 53-bit precision (control word 0x023F) and each result rounded to a float. It then sets the scene matrix +0xdcwith the dispatched routine0x74ad38(+0xdc, 0, view), which has a matrix inverse's arguments and whose result is not transcribed (animation, Dispatched matrix math`).

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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