//
// FMOD::System::setDSPBufferSize from 0xdb514 to 0xdb580 (108 bytes)
//
// 4 xrefs:
// > FMOD::System::setDSPBufferSize @ 0x106c2c
// > ??> @ 0x1a80
// > FMOD::System::setDSPBufferSize @ 0x106c24
// > ??> @ 0x10fed8
//
// 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::setDSPBufferSize(FMOD::System *this, unsigned int a2, int a3)
{
unsigned int v5; // w20
__int64 v6; // x0
char v7; // w8
__int64 v8; // x0
__int64 v9; // x0
__int64 v11; // [xsp+118h] [xbp-28h]
v5 = sub_DEFF4(this);
if ( v5 || (v6 = sub_6BB00(v11, a2, a3), (v5 = v6) != 0) )
{
v6 = sub_DEFD0();
if ( v7 < 0 )
{
v8 = sub_DF498(v6);
v9 = sub_DB580(v8);
v6 = sub_DEFE4(v9);
}
}
sub_DF124(v6);
return v5;
}