//
// FMOD_System_GetSpeakerPosition from 0x1800c6c70 to 0x1800c6cb0 (64 bytes)
//
// 3 xrefs:
// > FMOD5_System_GetSpeakerPosition @ 0x1800f4c40
// > ??> @ 0x180194348
// > ??> @ 0x1801fe058
//
// 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, unsigned int a2, __int64 a3, __int64 a4, _DWORD *a5)
{
__int64 result; // rax
char v6; // [rsp+40h] [rbp+8h] BYREF
if ( !a1 )
return 31;
result = FMOD::System::getSpeakerPosition(a1, a2, a3, a4, (__int64)&v6);
if ( !(_DWORD)result )
{
if ( a5 )
*a5 = v6 != 0;
}
return result;
}