benilla-re systems structs docs

BuildRotationMatrix2

function · cmath · unreached

Address
0x7c42f0 · 66 bytes, up to 0x7c4331
Signature
Matrix2x2 * __thiscall (Matrix2x2 *this, float angle)
Meaning
Writes the 2x2 rotation [[cos, sin], [-sin, cos]] of an angle
Confidence
verified, proof two
Finding
cmath/geometry#rotation-of-an-angle

Finding: Rotation of an angle in cmath: intersections

0x7c42f0(angle) writes the 2×2 rotation [[cos, sin], [−sin, cos]] of an angle to the four floats at ecx, each of cosine and sine rounded to a float and the negated sine an exact negation. Its one caller, 0x68c17e, is in the unreached 0x68c0f0, so nothing reaches it.

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.