benilla-re systems structs docs

ScaleVector4

function · gxumath · unreached

Address
0x5c6560 · 43 bytes, up to 0x5c658a
Signature
void __thiscall (void *this, float s)
Meaning
Multiplies four floats at ecx by a float
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

Callees 0

None by a direct call or jump.

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