benilla-re systems structs docs

SetVector4

function · gxumath · orchestration

Address
0x5c6540 · 32 bytes, up to 0x5c655f
Signature
void __thiscall (void *this, float x, float y, float z, float w)
Meaning
Stores four floats at ecx
Confidence
verified, proof one
Finding
gxumath#vector-helpers
Test
gxumath::vec_helpers_difftest

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 6

Callees 0

None by a direct call or jump.

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