//
// FMOD::System::setSoftwareChannels from 0xdb1f8 to 0xdb254 (92 bytes)
//
// 4 xrefs:
// > FMOD::System::setSoftwareChannels @ 0x106bec
// > ??> @ 0x1c18
// > FMOD::System::setSoftwareChannels @ 0x106be4
// > ??> @ 0x10feb8
//
// 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:55 +0000
//
__int64 __fastcall FMOD::System::setSoftwareChannels(FMOD::System *this)
{
unsigned int v1; // w20
__int64 v2; // x0
int v3; // w1
__int64 v4; // x0
char v5; // w8
__int64 v6; // x0
v1 = sub_DF034(this);
if ( v1 || (v2 = sub_DF2F4(), v4 = sub_6BACC(v2, v3), (v1 = v4) != 0) )
{
v4 = sub_DEFD0();
if ( v5 < 0 )
{
v6 = sub_DF1BC(v4);
v4 = sub_DEFE4(v6);
}
}
sub_DF11C(v4);
return v1;
}