//
// FMOD::System::set3DSettings from 0xb8ac8 to 0xb8b4e (134 bytes)
//
// 1 xrefs:
// > FMOD::System::set3DSettings @ 0xe0148
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:44 +0000
//
int __fastcall FMOD::System::set3DSettings(FMOD::System *this, float a2, float a3, float a4)
{
int v9; // r5
__int16 v11[128]; // [sp+8h] [bp-128h] BYREF
int v12; // [sp+108h] [bp-28h] BYREF
float *v13; // [sp+10Ch] [bp-24h] BYREF
v12 = 0;
v9 = FMOD::SystemI::validate((int)this, (int *)&v13, &v12);
if ( v9 || (v9 = sub_597E8(v13, a2, a3, a4)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_AF5F4(v11, 256, a2, a3, a4);
sub_BAB40(v9, 1, this, "System::set3DSettings", v11);
}
}
else
{
v9 = 0;
}
sub_444C0(&v12);
return v9;
}