CopyMatrixColumn3
function · gxumath · unreached
- Address
0x5c6620· 33 bytes, up to0x5c6640- Signature
float * __thiscall (void *this, float *out)- Meaning
- Copies elements 3, 7, 11 and 15 of a matrix, its fourth column, to the pointer on the stack
- Confidence
- verified, proof one
- Finding
- gxumath#vector-helpers
Finding: Vector helpers in gxumath
0x5c6540 stores four floats at ecx (ret 0x10). 0x5c6560 multiplies the four floats at ecx
by a float. 0x5c6590 stores them negated through the pointer on the stack. 0x5c65c0 stores a − b
of two vectors of four, a in edx and b on the stack. 0x5c65f0 and 0x5c6620 copy a matrix's
column 2 (+0x8, +0x18, +0x28, +0x38) and column 3 (+0xc, +0x1c, +0x2c, +0x3c) to the
stack pointer. The plane extraction uses all of them; 0x5c6540 is also called from the world and
scene code.
The derivation is in the doc.
Callers 1
- BuildFrustumPlanes gxumath
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.