//
// sub_1800C2E70 from 0x1800c2e70 to 0x1800c2ec2 (82 bytes)
//
// 2 xrefs:
// > sub_1800C2180 @ 0x1800c2235
// > ??> @ 0x1801fdd1c
//
// 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_1800C2E70(__int64 a1)
{
__int64 v2; // rcx
__int64 v4; // rax
v2 = a1 + 1096;
if ( !a1 )
v2 = 1104;
if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)v2 + 56LL))(*(_QWORD *)v2) )
return 49;
v4 = a1 + 1113;
if ( !a1 )
v4 = 1121;
*(_BYTE *)v4 = 1;
return 0;
}