//
// sub_1800C4B00 from 0x1800c4b00 to 0x1800c4b29 (41 bytes)
//
// 2 xrefs:
// > sub_1800C3960 @ 0x1800c3a31
// > ??> @ 0x1801fde9c
//
// 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:04 +0000
//
__int64 __fastcall sub_1800C4B00(__int64 a1, __int64 a2)
{
int v2; // eax
unsigned int v3; // ecx
v2 = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*(_QWORD *)(a2 + 40) + 8LL) + 32LL))(
*(_QWORD *)(*(_QWORD *)(a2 + 40) + 8LL),
*(unsigned int *)(*(_QWORD *)(a2 + 40) + 16LL));
v3 = 0;
if ( v2 < 0 )
return 49;
return v3;
}