//
// sub_1005CE9F8 from 0x1005ce9f8 to 0x1005ceaa0 (168 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:29 +0000
//
__int64 __fastcall sub_1005CE9F8(__int64 *a1)
{
__int64 v2; // x19
__int64 v3; // x0
_QWORD *v4; // x1
__int64 v5; // x20
v2 = a1[21];
if ( v2 )
sub_100568CC4(a1[21], 7u);
v3 = sub_1005D7660(
*((_QWORD *)off_1009DA5E8 + 54),
1104,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_dspi.cpp",
5934,
0);
a1[65] = v3;
if ( !v3 )
{
v5 = 38;
if ( !v2 )
return v5;
goto LABEL_5;
}
v4 = (_QWORD *)((v3 + 15) & 0xFFFFFFFFFFFFFFF0LL);
v4[134] = v4 + 133;
v4[133] = v4 + 133;
v4[135] = v4;
a1[66] = (__int64)v4;
v5 = sub_100569EF0(a1[21], (__int64)v4);
if ( v2 )
LABEL_5:
sub_100568CE4(v2, 7u);
return v5;
}