//
// FMOD::System::close from 0xdc8d8 to 0xdc92c (84 bytes)
//
// 4 xrefs:
// > FMOD::System::close @ 0x106d9c
// > ??> @ 0x73d8
// > FMOD::System::close @ 0x106d94
// > ??> @ 0x10ff90
//
// 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::close(FMOD::System *this)
{
__int64 v1; // x29
__int64 v2; // x0
unsigned int v3; // w20
__int64 v4; // x0
char v5; // w8
v2 = sub_DF0FC(this);
v3 = v2;
if ( (_DWORD)v2 || (sub_DF300(v2), v4 = sub_6B6EC(*(_QWORD *)(v1 - 24)), (v3 = v4) != 0) )
{
v4 = sub_DEFD0();
if ( v5 < 0 )
v4 = sub_DF0B4(v4);
}
sub_DF300(v4);
return v3;
}