//
// sub_CCAC4 from 0xccac4 to 0xccb10 (76 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getCPUUsage @ 0xd4c84
//
// 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:49 +0000
//
__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;
}