//
// sub_1005E003C from 0x1005e003c to 0x1005e00b4 (120 bytes)
//
// 1 xrefs:
// > sub_1005DFE70 @ 0x1005dfef8
//
// 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:39 +0000
//
__int64 __fastcall sub_1005E003C(__int64 a1)
{
__int64 v1; // x19
__int64 result; // x0
if ( a1 )
v1 = a1 - 8;
else
v1 = 0;
result = sub_1005FB59C(v1 + 1104, "FMOD mixer thread", sub_1005E0724, v1, 0, 1, 0, *(_QWORD *)(v1 + 72), 1);
if ( !(_DWORD)result )
{
if ( AudioOutputUnitStart(*(AudioUnit *)(v1 + 1048)) )
return 51;
else
return 0;
}
return result;
}