DivideVector3
function · spline · primitive
- Address
0x4549c0· 38 bytes, up to0x4549e5- Signature
float * __thiscall (float *this, float divisor)- Meaning
- Multiplies a 3D vector by the reciprocal of a divisor
- Confidence
- verified, proof one
- Finding
- spline#vector-leaves
- Test
spline::vec_div_scalar_diff
Finding: Vector leaves in spline
0x4549a0(x, y, z) stores three floats at ecx and is the constructor of the file's vector type,
with 401 call sites. 0x454980 leaves x² + y² of a vector in st0, and 0x4549f0 leaves
(x² + y²) + z², both at 53 bits. 0x4549c0(s) divides a vector in place: it computes 1/s at
53 bits once and stores each component times it as a float.
The derivation is in the doc.
Callers 4
- CatmullRomFrame spline
- CMissile::Aim objectlayer
- CMissile::Advance objectlayer
- M2LightingDeriveDominantLight models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.