//
// sub_1800976F0 from 0x1800976f0 to 0x180097791 (161 bytes)
//
// 2 xrefs:
// > FMOD::DSP::getOutputChannelFormat @ 0x1800a2724
// > ??> @ 0x1801faa04
//
// 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 sub_1800976F0(__int64 a1, __int64 a2, int a3, int a4, _DWORD *a5, __int64 a6, __int64 a7)
{
if ( a5 )
*a5 = 0;
if ( *(_QWORD *)(a1 + 288) && (*(_BYTE *)(a1 + 282) & 1) != 0 )
{
sub_1801023B0(*(_QWORD *)(a1 + 168), a2);
*(_QWORD *)(a1 + 176) = a1;
(*(void (__fastcall **)(__int64, __int64, _QWORD))(a1 + 288))(a1 + 176, 1, 0);
sub_1801023F0(*(_QWORD *)(a1 + 168));
}
return sub_1800977A0(a1, a3, a4, a6, a7, 0);
}