//
// FMOD::System::attachFileSystem from 0xdb8c0 to 0xdb92c (108 bytes)
//
// 4 xrefs:
// > FMOD::System::attachFileSystem @ 0x106c5c
// > ??> @ 0x1228
// > FMOD::System::attachFileSystem @ 0x106c54
// > ??> @ 0x10fef0
//
// 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::attachFileSystem()
{
unsigned int v0; // w20
__int64 v1; // x0
__int64 v2; // x1
__int64 v3; // x2
__int64 v4; // x3
__int64 v5; // x4
__int64 v6; // x0
char v7; // w8
__int64 v8; // x0
__int64 v9; // x0
__int64 v11; // [xsp+118h] [xbp-38h]
v0 = sub_DF194();
if ( v0 || (v1 = sub_DF294(v11), v6 = sub_6BBE8(v1, v2, v3, v4, v5), (v0 = v6) != 0) )
{
v6 = sub_DEFD0();
if ( v7 < 0 )
{
v8 = sub_DF340(v6);
v9 = sub_DB92C(v8);
v6 = sub_DEFE4(v9);
}
}
sub_DF28C(v6);
return v0;
}