//
// FMOD_File_SetDiskBusy from 0xbab98 to 0xbabc6 (46 bytes)
//
// 1 xrefs:
// > j_FMOD_File_SetDiskBusy @ 0xe1578
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:45 +0000
//
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;
}