//
// sub_1800B6100 from 0x1800b6100 to 0x1800b616b (107 bytes)
//
// 1 xrefs:
// > ??> @ 0x18016e7e8
//
// 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:59 +0000
//
__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;
}