//
// FMOD::System::getSpeakerModeChannels from 0xdd2b0 to 0xdd308 (88 bytes)
//
// 4 xrefs:
// > FMOD::System::getSpeakerModeChannels @ 0x106e9c
// > ??> @ 0x6628
// > FMOD::System::getSpeakerModeChannels @ 0x106e94
// > ??> @ 0x110010
//
// This function is hookable on this platform (idp: arm, 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 12:14:56 +0000
//
__int64 __fastcall FMOD::System::getSpeakerModeChannels(__int64 a1)
{
unsigned int v1; // w20
__int64 v2; // x0
__int64 v3; // x1
_DWORD *v4; // x2
__int64 v5; // x0
char v6; // w8
v1 = sub_DEFF4(a1);
if ( v1 || (v2 = sub_DF12C(), v5 = sub_7B528(v2, v3, v4), (v1 = v5) != 0) )
{
v5 = sub_DEFD0();
if ( v6 < 0 )
v5 = sub_DF0B4(v5);
}
sub_DF124(v5);
return v1;
}