//
// FMOD_OS_File_Close from 0x1800c0d20 to 0x1800c0d3d (29 bytes)
//
// 10 xrefs:
// > sub_1800B41B0 @ 0x1800b41b7
// > sub_1800BEE10 @ 0x1800bee50
// > sub_1800BF280 @ 0x1800bf2c0
// > sub_180113720 @ 0x180113868
// > sub_180113F70 @ 0x180114000
// > sub_180113F70 @ 0x1801140c7
// > sub_180114370 @ 0x180114464
// > sub_180114FB0 @ 0x18011511b
// > ??> @ 0x180194348
// > ??> @ 0x1801fdb3c
//
// 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:54:03 +0000
//
__int64 __fastcall FMOD_OS_File_Close(void *a1)
{
BOOL v1; // eax
unsigned int v2; // ecx
v1 = CloseHandle(a1);
v2 = 0;
if ( !v1 )
return 13;
return v2;
}