//
// FMOD_File_SetDiskBusy from 0xbab98 to 0xbabc6 (46 bytes)
//
// 1 xrefs:
// > j_FMOD_File_SetDiskBusy @ 0xe1578
//
// 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
//
int __fastcall FMOD_File_SetDiskBusy(int a1)
{
void *v1; // r1
v1 = off_E8000;
if ( a1 )
{
j_FMOD_OS_CriticalSection_Enter(*(int *)((char *)&dword_108 + (_DWORD)off_E8000));
*(_DWORD *)&byte_9[(_DWORD)off_E8000 + 3] = 1;
}
else
{
*(_DWORD *)&byte_9[(_DWORD)off_E8000 + 3] = 0;
j_FMOD_OS_CriticalSection_Leave(*(int *)((char *)&dword_108 + (_DWORD)v1));
}
return 0;
}