//
// rotateCCPoint from 0x9990d8 to 0x999168 (144 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::spawnParticleTrigger @ 0x9af238
// > ??> @ 0x5bcd8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:58:03 +0000
//
void __fastcall rotateCCPoint(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));
}
}