//
// sub_1800C2E70 from 0x1800c2e70 to 0x1800c2ec2 (82 bytes)
//
// 2 xrefs:
// > sub_1800C2180 @ 0x1800c2235
// > ??> @ 0x1801fdd1c
//
// 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_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;
}