//
// sub_CCAC4 from 0xccac4 to 0xccb10 (76 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getCPUUsage @ 0xd4c84
//
// 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_CCAC4(__int64 a1, _DWORD *a2, _DWORD *a3)
{
unsigned int v3; // w8
if ( (*(_BYTE *)(*(_QWORD *)(a1 + 168) + 122LL) & 1) != 0 || *((_BYTE *)off_168 + (_QWORD)off_114000) )
{
if ( a2 )
*a2 = *(_DWORD *)(a1 + 488);
v3 = 0;
if ( a3 )
*a3 = *(_DWORD *)(a1 + 492);
}
else
{
return 1;
}
return v3;
}