//
// 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 (idp: pc, 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 10:53:08 +0000
//
__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;
}