//
// FMOD_File_SetDiskBusy from 0x1005cefe4 to 0x1005cf034 (80 bytes)
//
// 3 xrefs:
// > j_FMOD_File_SetDiskBusy @ 0x10055d388
// > sub_1005D0DD8 @ 0x1005d0e10
// > sub_1005D0DD8 @ 0x1005d0e30
//
// 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 11:09:30 +0000
//
__int64 __fastcall FMOD_File_SetDiskBusy(int a1)
{
_QWORD *v1; // x8
v1 = off_1009DA5E8;
if ( a1 )
{
sub_1005DBDD8(*((_QWORD *)off_1009DA5E8 + 37));
*((_DWORD *)off_1009DA5E8 + 5) = 1;
}
else
{
*((_DWORD *)off_1009DA5E8 + 5) = 0;
sub_1005DBE08(v1[37]);
}
return 0;
}