//
// FMOD::System::setStreamBufferSize from 0xdcc48 to 0xdccb4 (108 bytes)
//
// 4 xrefs:
// > FMOD::System::setStreamBufferSize @ 0x106ddc
// > ??> @ 0x6520
// > FMOD::System::setStreamBufferSize @ 0x106dd4
// > ??> @ 0x10ffb0
//
// 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::setStreamBufferSize(FMOD::System *this, int a2, unsigned int a3)
{
unsigned int v5; // w20
__int64 v6; // x0
char v7; // w8
_BYTE *v8; // x0
__int64 v9; // x1
unsigned int v10; // w2
unsigned int v11; // w3
__int64 v12; // x0
__int64 v14; // [xsp+118h] [xbp-28h]
v5 = sub_DEFF4(this);
if ( v5 || (v6 = sub_6D1E8(v14, a2, a3), (v5 = v6) != 0) )
{
v6 = sub_DEFD0();
if ( v7 < 0 )
{
v8 = (_BYTE *)sub_DF498(v6);
v12 = sub_CEAE8(v8, v9, v10, v11);
v6 = sub_DEFE4(v12);
}
}
sub_DF124(v6);
return v5;
}