//
// sub_C6204 from 0xc6204 to 0xc62ac (168 bytes)
//
// 2 xrefs:
// > sub_C60F4 @ 0xc61a4
// > sub_C68BC @ 0xc6a50
//
// 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:14:46 +0000
//
void __fastcall sub_C6204(__int64 a1)
{
float v1; // s9
float v2; // s8
__int64 v4; // x20
__int64 v5; // x21
float v6; // s10
float v7; // s14
float v8; // s0
v1 = *(float *)(a1 + 660);
v2 = -1.5708;
v4 = 0;
v5 = a1 + 920;
v6 = 0.0;
while ( v4 != 68 )
{
v7 = *(float *)(a1 + 552);
v8 = (float)(v7 * (float)((float)(sinf(v2) * 0.5) + 0.5)) + (float)((float)(1.0 - v7) * v6);
v2 = v2 + (float)(v1 * 3.1416);
v6 = v6 + v1;
*(float *)(v5 + v4) = v8;
v4 += 4;
}
}