//
// sub_CC238 from 0xcc238 to 0xcc2d4 (156 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getParameterBool @ 0xd41fc
//
// 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:48 +0000
//
__int64 sub_CC238()
{
__int64 v0; // x20
bool *v1; // x21
__int64 v2; // x29
__int64 v3; // x0
int v4; // w1
__int64 v5; // x8
__int64 v6; // x0
__int64 result; // x0
v3 = sub_CD340();
if ( v4 < 0 )
return 31;
v5 = *(_QWORD *)(v3 + 232);
if ( !v5 || *(_DWORD *)(v5 + 96) <= v4 )
return 31;
if ( !*(_QWORD *)(v5 + 160) )
return 68;
if ( **(_DWORD **)(*(_QWORD *)(v5 + 104) + 8LL * v4) != 2 )
return 31;
v6 = sub_CD134(v3);
result = sub_CD244(v6);
if ( !(_DWORD)result )
{
if ( v1 )
*v1 = *(_DWORD *)(v2 - 36) != 0;
if ( v0 )
sub_CD210();
return 0;
}
return result;
}