//
// sub_1800A6230 from 0x1800a6230 to 0x1800a6259 (41 bytes)
//
// 2 xrefs:
// > sub_1800A6260 @ 0x1800a6395
// > ??> @ 0x1801fb7fc
//
// 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:53:54 +0000
//
__int64 __fastcall sub_1800A6230(__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;
}