//
// rotatePoint from 0x9f3610 to 0x9f36a0 (144 bytes)
//
// 8 xrefs:
// > ShaderLayer::updateEffectOffsets @ 0x9f3fc0
// > ShaderLayer::updateEffectOffsets @ 0x9f404c
// > ShaderLayer::updateEffectOffsets @ 0x9f40dc
// > ShaderLayer::updateEffectOffsets @ 0x9f4168
// > ShaderLayer::updateEffectOffsets @ 0x9f41f0
// > ShaderLayer::updateEffectOffsets @ 0x9f43f0
// > ShaderLayer::updateEffectOffsets @ 0x9f447c
// > ??> @ 0x99cc0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall rotatePoint(float *a1, float *a2, float a3)
{
float v4; // s11
float v5; // s8
float v6; // s12
float v7; // s9
float v8; // s10
float v9; // s13
float v10; // s0
if ( a3 != 0.0 )
{
v4 = *a2;
v5 = a3 * 0.017453;
v6 = a2[1];
v7 = *a1 - *a2;
v8 = a1[1] - v6;
v9 = cosf(a3 * 0.017453);
v10 = sinf(v5);
a1[1] = v6 + (float)((float)(v8 * v9) + (float)(v7 * v10));
*a1 = v4 - (float)((float)(v8 * v10) - (float)(v7 * v9));
}
}