//
// FMOD_System_GetSpeakerPosition from 0x1800c6c70 to 0x1800c6cb0 (64 bytes)
//
// 3 xrefs:
// > FMOD5_System_GetSpeakerPosition @ 0x1800f4c40
// > ??> @ 0x180194348
// > ??> @ 0x1801fe058
//
// 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:54:05 +0000
//
__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;
}