MultiplyMatrix4InPlace
function · cmath · primitive
- Address
0x7bce30· 61 bytes, up to0x7bce6c- Signature
NTempest::C44Matrix * __thiscall (NTempest::C44Matrix *this, const NTempest::C44Matrix *b)- Meaning
- Sets a 4×4 matrix to its product with another and returns it
- Confidence
- verified, proof two
- Finding
- cmath/matrices#sum-scalar-and-product
Finding: Sum, scalar and product in cmath: matrices
0x7bc290 (ecx out, edx a, b on the stack, ret 4) stores a[i] + b[i] for the 16 entries;
0x7bc8e0 (ecx out, edx m, s on the stack) stores s·m[i]; 0x7bc1a0 (ecx a, edx b) returns
in al whether any pair differs under the float compare, so −0 equals 0 and NaN differs.
0x7bc6a0 (ecx out, edx a, b on the stack) stores the product a·b, out[4i + j] row i of a
by column j of b, and returns out; 0x7bc8c0 gives entry 0 and 0x7bce30 (ecx A, B on the stack)
sets A = A·B in place and returns A. 0x7bdf50 stores sixteen floats from the stack.
The derivation is in the doc.
Callers 7
- 0x5928b0 gx
- CGxStringBatch::EmitGlyphQuads font
- CreateGroupDoodadDef terrain
- PLAYERNAMEDESC::UpdatePlate playername
- BuildDecalTransforms lighting
- CParticleEmitter2::DrawModelParticle models
- CRibbonEmitter::SetFrame models
Callees 1
- MultiplyMatrix4 cmath
Calls and jumps by a bare address, from tables/calls.tsv.