//
// FMOD::System::set3DSettings from 0xdcd18 to 0xdcdbc (164 bytes)
//
// 4 xrefs:
// > FMOD::System::set3DSettings @ 0x106dfc
// > ??> @ 0x67c0
// > FMOD::System::set3DSettings @ 0x106df4
// > ??> @ 0x10ffc0
//
// 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::set3DSettings(FMOD::System *this, float a2, float a3, float a4)
{
unsigned int v7; // w20
__int64 v8; // x0
char v9; // w8
__int16 *v10; // x0
__int64 v11; // x1
__int64 v12; // x0
_BYTE v14[8]; // [xsp+100h] [xbp-40h] BYREF
__int64 v15; // [xsp+108h] [xbp-38h] BYREF
v7 = sub_DF188(this, &v15, v14);
if ( v7 || (v8 = sub_6D254(v15, a2, a3, a4), (v7 = v8) != 0) )
{
v8 = sub_DEFD0();
if ( v9 < 0 )
{
v10 = (__int16 *)sub_DF4C8(v8);
v12 = sub_D12B4(v10, v11, a2, a3, a4);
v8 = sub_DEFE4(v12);
}
}
sub_DF27C(v8);
return v7;
}