SquadBlend
function · cmath · unreached
- Address
0x7c1270· 86 bytes, up to0x7c12c5- Meaning
- Blends four quaternions by nested spherical interpolation
- Confidence
- inferred
- Finding
- cmath/quaternions#squad
Finding: Squad in cmath: quaternions
The squad family builds spline control quaternions from keys and blends them; none of it is
called. 0x7c06c0 takes three keys, q1 in ecx, q2 in edx and q3 on the stack, and two
output pointers. It forms d = log(q1⁻¹⊗q2) − log(q2⁻¹⊗q3), scales it by 0.25, and writes
q2 ⊗ exp(0.25·d) to the first output and q2 ⊗ exp(−0.25·d) to the second. 0x7c0940 is the same setup
with one product and one output. 0x7c1270 is three slerps (0x7c0570) with the weight
2·(1 − t)·t. 0x7c0b60 evaluates a segment from keys and control points with clamps on two time
arguments, logs, exponentials and the constants 0.5 and −0.5.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- SlerpQuaternions cmath
Calls and jumps by a bare address, from tables/calls.tsv.