//
// 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!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}