//
// sub_1800C14F0 from 0x1800c14f0 to 0x1800c1514 (36 bytes)
//
// 22 xrefs:
// > sub_1800B5F80 @ 0x1800b5f8a
// > sub_1800B8460 @ 0x1800b84ae
// > sub_1800B8460 @ 0x1800b8550
// > sub_1800B8560 @ 0x1800b8598
// > sub_1800BB9D0 @ 0x1800bbd68
// > sub_1800C9FF0 @ 0x1800ca305
// > sub_1800DF320 @ 0x1800df4a7
// > sub_1800E31C0 @ 0x1800e36bd
// > sub_1801122A0 @ 0x18011234d
// > sub_1801122A0 @ 0x18011235f
// > sub_1801122A0 @ 0x18011238a
// > sub_1801122A0 @ 0x18011239c
// > sub_1801123F0 @ 0x180112424
// > sub_180112460 @ 0x180112494
// > sub_1801125B0 @ 0x1801127d7
// > sub_180112AC0 @ 0x180112bf7
// > sub_180112D30 @ 0x180112e44
// > sub_180112F10 @ 0x180112f84
// > sub_180113720 @ 0x1801137ba
// > sub_180114BD0 @ 0x180114c99
// > sub_18011BE10 @ 0x18011bea3
// > ??> @ 0x1801fdbcc
//
// 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_1800C14F0(void *a1)
{
BOOL v1; // eax
unsigned int v2; // ecx
v1 = ReleaseSemaphore(a1, 1, nullptr);
v2 = 0;
if ( !v1 )
return 28;
return v2;
}