NormalizeThreeDoubles
function · cmath · unreached
- Address
0x4562b0· 62 bytes, up to0x4562ed- Signature
void __fastcall (double *x, double *y, double *z)- Meaning
- Scales three doubles in place by 1 over the length of the triple
- Confidence
- verified, proof two
- Finding
- cmath/scalars#normalizing-vectors
Finding: Normalizing vectors in cmath: scalars
0x456280 takes the addresses of x in ecx and y in edx, both floats, and replaces them with
x·r and y·r, where r = 1/√(x² + y²) at 53 bits and each product is stored as a float. There is no
zero test. 0x456250 does the same for two doubles; 0x4562f0 and 0x4562b0 take three addresses
(ecx, edx and one on the stack) for floats and doubles.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.