//
// sub_1800C2360 from 0x1800c2360 to 0x1800c23aa (74 bytes)
//
// 2 xrefs:
// > sub_1800C2180 @ 0x1800c21cc
// > ??> @ 0x1801fdc80
//
// 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_1800C2360(__int64 a1, _DWORD *a2)
{
__int64 v2; // rdi
__int64 result; // rax
v2 = a1 - 8;
if ( !a1 )
v2 = 0;
result = sub_1800C1C80(v2);
if ( !(_DWORD)result )
{
if ( a2 )
*a2 = *(_DWORD *)(v2 + 1132);
return 0;
}
return result;
}