//
// sub_1800C0AF0 from 0x1800c0af0 to 0x1800c0b41 (81 bytes)
//
// 2 xrefs:
// > sub_1800FB2A0 @ 0x1800fb326
// > ??> @ 0x1801fdadc
//
// 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_1800C0AF0(_BYTE *a1)
{
__int64 v1; // rbx
v1 = qword_1801EF758;
if ( *(_DWORD *)(qword_1801EF758 + 8) && timeGetTime() - *(_DWORD *)(v1 + 8) > 0x3E8 )
{
*(_DWORD *)(v1 + 8) = 0;
*a1 = 1;
return 0;
}
else
{
*a1 = 0;
return 0;
}
}