//
// FMOD::System::getFileUsage from 0xdd504 to 0xdd59c (152 bytes)
//
// 4 xrefs:
// > FMOD::System::getFileUsage @ 0x106eec
// > ??> @ 0x8530
// > FMOD::System::getFileUsage @ 0x106ee4
// > ??> @ 0x110038
//
// 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:56 +0000
//
__int64 __fastcall FMOD::System::getFileUsage(
FMOD::System *this,
unsigned __int64 *a2,
unsigned __int64 *a3,
unsigned __int64 *a4)
{
unsigned int v7; // w21
char v8; // w8
_BYTE v10[256]; // [xsp+8h] [xbp-138h] BYREF
unsigned __int64 *v11; // [xsp+108h] [xbp-38h] BYREF
v7 = sub_DF284(this, &v11, 0);
if ( v7 || (v7 = sub_6DB34(v11, a2, a3, a4)) != 0 )
{
sub_DEFD0();
if ( v8 < 0 )
{
sub_DD59C(v10, 256, a2, a3, a4);
sub_DF070(v7, 1);
}
}
return v7;
}