//
// sub_10043E88C from 0x10043e88c to 0x10043e8fc (112 bytes)
//
// 9 xrefs:
// > sub_1004CEE58 @ 0x1004cf2bc
// > sub_1004CEE58 @ 0x1004cf2d0
// > sub_1004CEE58 @ 0x1004cf2e4
// > sub_1004CEE58 @ 0x1004cf2f8
// > sub_1004CEE58 @ 0x1004cf30c
// > sub_1004CEE58 @ 0x1004cf320
// > sub_1004CEE58 @ 0x1004cf334
// > sub_1004CEE58 @ 0x1004cf348
// > sub_1004CEE58 @ 0x1004cf35c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10043E88C(__int64 a1, unsigned int a2)
{
_QWORD *v2; // x20
__int64 v3; // x19
__int64 result; // x0
v2 = (_QWORD *)(a1 + 8LL * a2 + 67968);
v3 = *v2;
if ( !*v2 )
return 0;
result = sub_100489390(*v2);
if ( !(_DWORD)result )
{
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v3,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_systemi_dsp.cpp",
658,
1);
*v2 = 0;
return 0;
}
return result;
}