//
// sub_18003B250 from 0x18003b250 to 0x18003b470 (544 bytes)
//
// 5 xrefs:
// > sub_1800BEE10 @ 0x1800bee43
// > sub_1800BEF40 @ 0x1800bf0c1
// > sub_1800BF280 @ 0x1800bf2b3
// > sub_1800BF3B0 @ 0x1800bf504
// > ??> @ 0x1801f7d58
//
// 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 __fastcall sub_18003B250(HANDLE hFile)
{
__int64 result; // rax
result = FMOD_OS_File_Seek(hFile, 0);
if ( !(_DWORD)result )
{
result = FMOD_OS_File_Write(hFile);
if ( !(_DWORD)result )
{
result = FMOD_OS_File_Write(hFile);
if ( !(_DWORD)result )
{
result = FMOD_OS_File_Write(hFile);
if ( !(_DWORD)result )
{
result = FMOD_OS_File_Write(hFile);
if ( !(_DWORD)result )
return FMOD_OS_File_Write(hFile);
}
}
}
}
return result;
}