//
// FMOD::System::setFileSystem from 0xdb6ac to 0xdb748 (156 bytes)
//
// 4 xrefs:
// > FMOD::System::setFileSystem @ 0x106c4c
// > ??> @ 0x1ba0
// > FMOD::System::setFileSystem @ 0x106c44
// > ??> @ 0x10fee8
//
// 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 FMOD::System::setFileSystem()
{
__int64 v0; // x26
__int64 v1; // x29
__int64 v2; // x0
__int64 v3; // x1
__int64 v4; // x27
__int64 v5; // x0
int v6; // w7
int v7; // w24
__int64 v8; // x0
__int64 v9; // x3
__int64 v10; // x25
unsigned int v11; // w23
__int64 v12; // x0
__int64 v13; // x1
__int64 v14; // x2
__int64 v15; // x3
__int64 v16; // x4
__int64 v17; // x5
__int64 v18; // x6
__int64 v19; // x0
char v20; // w8
__int64 v21; // x0
__int64 v22; // x1
__int64 v23; // x0
v2 = sub_DF4AC();
v4 = v3;
v5 = sub_DF3D0(v2);
v7 = v6;
v8 = sub_DF3C0(v5);
v10 = v9;
v11 = sub_DF378(v8);
if ( v11
|| (v12 = sub_DF3B0(*(_QWORD *)(v1 - 96), v4, v0, v10),
v19 = sub_6BB60(v12, v13, v14, v15, v16, v17, v18, v7),
(v11 = v19) != 0) )
{
v19 = sub_DEFD0();
if ( v20 < 0 )
{
v21 = sub_DF478(v19);
v23 = sub_DF3A0(v21, v22, v4, v0, v10);
sub_DB748(v23);
v19 = sub_DF070(v11, 1);
}
}
sub_DF470(v19);
return v11;
}