//
// sub_1800C14D0 from 0x1800c14d0 to 0x1800c14ed (29 bytes)
//
// 8 xrefs:
// > sub_1800B6170 @ 0x1800b61c7
// > sub_1800B8560 @ 0x1800b85c7
// > sub_1800B8560 @ 0x1800b85e2
// > sub_180112960 @ 0x1801129a4
// > sub_180112960 @ 0x1801129b6
// > sub_180113B20 @ 0x180113b2d
// > sub_180114FB0 @ 0x180115033
// > ??> @ 0x1801fdbc0
//
// 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 sub_1800C14D0(void *a1)
{
BOOL v1; // eax
unsigned int v2; // ecx
v1 = CloseHandle(a1);
v2 = 0;
if ( !v1 )
return 28;
return v2;
}