//
// sub_1800C1520 from 0x1800c1520 to 0x1800c1543 (35 bytes)
//
// 9 xrefs:
// > sub_1800B5FA0 @ 0x1800b609c
// > sub_1800B8460 @ 0x1800b84cc
// > sub_1800B8560 @ 0x1800b85ac
// > sub_1800B8690 @ 0x1800b87ae
// > sub_180112D30 @ 0x180112e7f
// > sub_180112F10 @ 0x180113013
// > sub_180114120 @ 0x1801142c7
// > sub_180114590 @ 0x180114677
// > ??> @ 0x1801fdbd8
//
// 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_1800C1520(void *a1)
{
DWORD v1; // eax
unsigned int v2; // ecx
v1 = WaitForSingleObject(a1, 0xFFFFFFFF);
v2 = 0;
if ( v1 == -1 )
return 28;
return v2;
}