//
// FMOD::Sound::getSubSoundParent from 0x1005e5864 to 0x1005e58ac (72 bytes)
//
// 1 xrefs:
// > sub_1005791BC @ 0x1005791c0
//
// 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:42 +0000
//
__int64 __fastcall FMOD::Sound::getSubSoundParent(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
result = sub_1005E9E48(a1, &v4, 0);
if ( !(_DWORD)result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 128LL))(v4, a2);
return result;
}