//
// FMOD::Sound::getSubSoundParent from 0x1800a8720 to 0x1800a8751 (49 bytes)
//
// 3 xrefs:
// > FMOD_Sound_GetSubSoundParent @ 0x1800c66c9
// > ??> @ 0x180194348
// > ??> @ 0x1801fbb50
//
// This function is hookable on this platform (idp: pc, 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 10:53:54 +0000
//
__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;
}