//
// sub_1008F0A70 from 0x1008f0a70 to 0x1008f0aba (74 bytes)
//
// 0 xrefs:
//
// 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:37:55 +0000
//
__int64 __fastcall sub_1008F0A70(__int64 a1)
{
__int64 result; // rax
_BOOL4 v2; // ebx
result = *(_QWORD *)(a1 + 1088);
if ( result )
{
v2 = *(_DWORD *)(a1 + 1048) == 1;
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)result + 344LL))(result, *(_DWORD *)(a1 + 1048) == 1);
return (*(__int64 (__fastcall **)(_QWORD, _BOOL4))(**(_QWORD **)(a1 + 1088) + 1056LL))(*(_QWORD *)(a1 + 1088), v2);
}
return result;
}