SelectMathRoutines
function · d3dx
- Address
0x74fb49· 259 bytes, up to0x74fc4b- Meaning
- Fills the math routine slots once by registry values and processor features
- Confidence
- inferred
- Finding
- models/animation#dispatched-matrix-math
- Test
animation::math_slots_selection_difftest
Finding: Dispatched matrix math in models: animation
The bone product, the rotation matrix of a quaternion, the blend-slot quaternion blend and the
scene matrix are linked math routines called through writable slots. The first call fills the
slots once by processor and registry: with DisablePSGP or DisableD3DXPSGP under
HKLM\Software\Microsoft\Direct3D equal to 1, only the defaults; otherwise the 3DNow set when
that feature is present and the value is not 2, else the SSE2 set when CPUID reports SSE2, else the
SSE set when SSE is present. A modern SSE2 processor without the registry values runs the SSE2
product 0x754a66 and inverse 0x754cd2, and the default quaternion routines 0x74b6bb and
0x74d11a, which no set replaces but 3DNow.
| slot | thunk | default | SSE2 | SSE | 3DNow |
|---|---|---|---|---|---|
0x876504 | 0x74a7c0 | 0x7507bb | 0x754a66 | 0x751055 | 0x7580fb |
0x876544 | 0x74ad38 | 0x74ad3e | 0x754cd2 | 0x7512c1 | 3DNow set |
0x876588 | 0x74d114 | 0x74d11a | default | default | 3DNow set |
0x876594 | 0x74b6b5 | 0x74b6bb | default | default | 3DNow set |
The derivation is in the doc.
Callers 74
- 0x749298 unassigned
- 0x749353 unassigned
- 0x749413 unassigned
- 0x74942c unassigned
- 0x7494ee unassigned
- 0x7495d1 unassigned
- 0x74964d unassigned
- 0x749666 unassigned
- 0x7496a1 unassigned
- 0x7496c8 unassigned
- 0x749703 unassigned
- 0x749763 unassigned
- 0x7497d8 unassigned
- 0x749807 unassigned
- 0x749905 unassigned
- 0x749a2b unassigned
- 0x749ac1 unassigned
- 0x749b67 unassigned
- 0x749c45 unassigned
- 0x749ccb unassigned
- 0x749def unassigned
- 0x749e70 unassigned
- 0x749f09 unassigned
- 0x749f44 unassigned
- 0x749f8e unassigned
- 0x749fa7 unassigned
- 0x749fc0 unassigned
- 0x74a0cb unassigned
- 0x74a0e4 unassigned
- 0x74a1e9 unassigned
- 0x74a310 unassigned
- 0x74a3c0 unassigned
- 0x74a47a unassigned
- 0x74a554 unassigned
- 0x74a65b unassigned
- MultiplyMatrixFirstCall d3dx
- 0x74aa4a d3dx
- 0x74aad4 d3dx
- 0x74ad25 d3dx
- 0x74b104 d3dx
- 0x74b198 d3dx
- 0x74b2f5 d3dx
- 0x74b3c1 d3dx
- 0x74b464 d3dx
- 0x74b578 d3dx
- MatrixFromQuaternionFirstCall d3dx
- 0x74b7fa d3dx
- 0x74b830 d3dx
- 0x74bc54 d3dx
- 0x74bf86 d3dx
- 0x74c0a5 d3dx
- 0x74c9ed d3dx
- 0x74ca06 d3dx
- 0x74ca1f d3dx
- 0x74ca70 d3dx
- 0x74cbbf d3dx
- 0x74cc46 d3dx
- 0x74cd57 d3dx
- 0x74ce08 d3dx
- 0x74ced9 d3dx
- 0x74cfa5 d3dx
- 0x74d03b d3dx
- BlendQuaternionFirstCall d3dx
- 0x74d1ff d3dx
- 0x74d28a d3dx
- 0x74d2a3 d3dx
- 0x74d364 d3dx
- 0x74d420 d3dx
- 0x74d4ef d3dx
- 0x74d543 d3dx
- 0x74d600 d3dx
- 0x74d6ba d3dx
- 0x74db3a d3dx
- 0x74db53 d3dx
Callees 7
- ReadDirect3DValue d3dx
- GetCpuidSseFlags d3dx
- SetMathRoutinesSse d3dx
- SetMathRoutinesSse2 d3dx
- SetMathRoutines3DNow d3dx
- SetMathRoutinesBase d3dx
- 0x750aae d3dx
Calls and jumps by a bare address, from tables/calls.tsv.