//
// FMOD::System::setOutputByPlugin from 0xdc2c4 to 0xdc320 (92 bytes)
//
// 4 xrefs:
// > FMOD::System::setOutputByPlugin @ 0x106d1c
// > ??> @ 0x5518
// > FMOD::System::setOutputByPlugin @ 0x106d14
// > ??> @ 0x10ff50
//
// 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::setOutputByPlugin(FMOD::System *this)
{
unsigned int v1; // w20
__int64 v2; // x0
unsigned int v3; // w1
__int64 v4; // x0
char v5; // w8
__int64 v6; // x0
v1 = sub_DF034(this);
if ( v1 || (v2 = sub_DF2F4(), v4 = sub_6C288(v2, v3), (v1 = v4) != 0) )
{
v4 = sub_DEFD0();
if ( v5 < 0 )
{
v6 = sub_DF430(v4);
v4 = sub_DEFE4(v6);
}
}
sub_DF11C(v4);
return v1;
}