//
// sub_1005CBEE0 from 0x1005cbee0 to 0x1005cbf80 (160 bytes)
//
// 0 xrefs:
//
// 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 11:09:28 +0000
//
__int64 __fastcall sub_1005CBEE0(__int64 *a1)
{
__int64 v2; // x19
__int64 v3; // x1
__int64 v4; // x21
__int64 v5; // x1
v2 = a1[21];
if ( v2 )
sub_100568CC4(a1[21], 7u);
v3 = a1[66];
if ( !v3 || (v4 = sub_100569F1C(a1[21], v3), !(_DWORD)v4) )
{
v5 = a1[65];
*(_OWORD *)(a1 + 65) = 0u;
if ( v5 )
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v5,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_dspi.cpp",
5974,
1);
v4 = 0;
}
if ( v2 )
sub_100568CE4(v2, 7u);
return v4;
}