//
// FMOD_File_SetDiskBusy from 0xdf584 to 0xdf5c4 (64 bytes)
//
// 4 xrefs:
// > .FMOD_File_SetDiskBusy @ 0x10819c
// > ??> @ 0x1750
// > .FMOD_File_SetDiskBusy @ 0x108194
// > ??> @ 0x110990
//
// 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:57 +0000
//
__int64 FMOD_File_SetDiskBusy()
{
__int64 v0; // x19
__int64 v1; // x8
__int64 v2; // x0
if ( (unsigned int)sub_E0D1C() )
{
FMOD_OS_CriticalSection_Enter(*(_QWORD *)(v1 + 296));
*(_DWORD *)(*(_QWORD *)v0 + 20LL) = 1;
}
else
{
v2 = *(_QWORD *)(v1 + 296);
*(_DWORD *)(v1 + 20) = 0;
FMOD_OS_CriticalSection_Leave(v2);
}
return 0;
}