//
// sub_1800C4B00 from 0x1800c4b00 to 0x1800c4b29 (41 bytes)
//
// 2 xrefs:
// > sub_1800C3960 @ 0x1800c3a31
// > ??> @ 0x1801fde9c
//
// 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_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;
}