//
// FMOD::Sound::getSubSoundParent from 0x1800a8720 to 0x1800a8751 (49 bytes)
//
// 3 xrefs:
// > FMOD_Sound_GetSubSoundParent @ 0x1800c66c9
// > ??> @ 0x180194348
// > ??> @ 0x1801fbb50
//
// 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 FMOD::Sound::getSubSoundParent(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v4; // [rsp+40h] [rbp+18h] BYREF
result = sub_1800E1460(a1, &v4, 0);
if ( !(_DWORD)result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 128LL))(v4, a2);
return result;
}