//
// FMOD_System_GetSpeakerPosition from 0x50528 to 0x50560 (56 bytes)
//
// 4 xrefs:
// > .FMOD_System_GetSpeakerPosition @ 0x10841c
// > ??> @ 0x1090
// > .FMOD_System_GetSpeakerPosition @ 0x108414
// > ??> @ 0x110ad0
//
// 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_System_GetSpeakerPosition(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
__int64 result; // x0
_BYTE v7[4]; // [xsp+Ch] [xbp-4h] BYREF
if ( !a1 )
return 31;
result = FMOD::System::getSpeakerPosition(a1, a2, a3, a4, v7);
if ( a5 )
{
if ( !(_DWORD)result )
return sub_519AC();
}
return result;
}