//
// sub_1008F1AD0 from 0x1008f1ad0 to 0x1008f1b18 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb53e0
//
// 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:56 +0000
//
void __fastcall sub_1008F1AD0(__int64 a1, __int64 a2)
{
int v2; // eax
int v3; // ecx
bool v4; // zf
unsigned int v5; // eax
__int64 v6; // rax
if ( a2 )
{
v2 = *(_DWORD *)(a1 + 24);
v3 = 2 * (v2 == 1);
v4 = v2 == 0;
v5 = 1;
if ( !v4 )
v5 = v3;
v6 = sub_1008F3580(a2, v5, a1 - 1024);
if ( v6 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}
}