//
// sub_100290B70 from 0x100290b70 to 0x100290bc5 (85 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b06af0
// > ??> @ 0x100ba5718
//
// 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 12:27:49 +0000
//
__int64 __fastcall sub_100290B70(__int64 a1)
{
__int64 (__fastcall ***v2)(_QWORD, __int64); // rdi
__int64 v3; // rbx
v2 = *(__int64 (__fastcall ****)(_QWORD, __int64))(a1 + 328);
v3 = a1 - 336;
if ( v2 )
return (**v2)(v2, v3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1072LL))(v3, 0);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 528LL))(v3, 1);
}