//
// sub_1005EB65C from 0x1005eb65c to 0x1005eb6c4 (104 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009abca0
// > ??> @ 0x1009abe48
// > ??> @ 0x1009abff0
// > ??> @ 0x1009ac180
//
// 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:45 +0000
//
__int64 __fastcall sub_1005EB65C(__int64 a1)
{
void *v2; // x0
__int64 v3; // x8
v2 = *(void **)(a1 + 56);
if ( !v2 )
{
v2 = sub_1005D7660(
*((__int64 **)off_1009DA5E8 + 54),
256,
(char)"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_soundi.cpp",
1440,
0);
*(_QWORD *)(a1 + 56) = v2;
if ( !v2 )
return 38;
}
v3 = 0;
*(_QWORD *)(a1 + 48) = v2;
return v3;
}