//
// sub_1800B6100 from 0x1800b6100 to 0x1800b616b (107 bytes)
//
// 1 xrefs:
// > ??> @ 0x18016e7e8
//
// 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_1800B6100(_QWORD *a1, __int64 a2)
{
__int64 (__fastcall *v2)(__int64, _QWORD); // rax
__int64 (__fastcall *v4)(__int64, _QWORD); // r8
if ( !a1[67] && (a1[65] || !*(_QWORD *)(a1[51] + 70144LL)) || !*(_QWORD *)(a2 + 48) )
return 0;
v2 = (__int64 (__fastcall *)(__int64, _QWORD))a1[68];
if ( v2 )
return v2(a2, a1[70]);
v4 = *(__int64 (__fastcall **)(__int64, _QWORD))(a1[51] + 70152LL);
if ( v4 )
return v4(a2, a1[70]);
else
return 0;
}