//
// 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!
//
// 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_1800C1520(void *a1)
{
DWORD v1; // eax
unsigned int v2; // ecx
v1 = WaitForSingleObject(a1, 0xFFFFFFFF);
v2 = 0;
if ( v1 == -1 )
return 28;
return v2;
}