//
// sub_1800C1820 from 0x1800c1820 to 0x1800c187e (94 bytes)
//
// 2 xrefs:
// > sub_1800E7B20 @ 0x1800e7bc0
// > ??> @ 0x1801fdc38
//
// 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_1800C1820(__int64 a1)
{
__int64 v2; // rax
__int64 result; // rax
__int64 v4; // rax
__int64 *v5; // rax
v2 = sub_1800C3960();
result = sub_1800D95A0(a1, v2, 0, 0);
if ( !(_DWORD)result )
{
v4 = sub_1800C2180();
result = sub_1800D95A0(a1, v4, 0, 0);
if ( !(_DWORD)result )
{
v5 = sub_1800A6260();
return sub_1800D95A0(a1, v5, 0, 0);
}
}
return result;
}