//
// sub_CF0C4 from 0xcf0c4 to 0xcf194 (208 bytes)
//
// 2 xrefs:
// > FMOD::Channel::setLoopPoints @ 0xcf09c
// > FMOD::Sound::setLoopPoints @ 0xd9e2c
//
// 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
//
__int64 __fastcall sub_CF0C4(_BYTE *a1, __int64 a2, unsigned int a3, unsigned int a4, unsigned int a5, unsigned int a6)
{
int v9; // w22
int v11; // w24
__int64 v12; // x24
int v13; // w21
int v14; // w21
int v15; // w20
int v16; // w20
v9 = a2;
v11 = sub_71514(a1, a2, a3);
v12 = (int)sub_715AC(&a1[v11], v9 - v11, ", ") + (__int64)v11;
v13 = v12 + sub_71514(&a1[v12], (unsigned int)(v9 - v12), a4);
v14 = v13 + sub_715AC(&a1[v13], v9 - v13, ", ");
v15 = v14 + sub_71514(&a1[v14], (unsigned int)(v9 - v14), a5);
v16 = v15 + sub_715AC(&a1[v15], v9 - v15, ", ");
return v16 + (unsigned int)sub_71514(&a1[v16], (unsigned int)(v9 - v16), a6);
}