//
// sub_100979400 from 0x100979400 to 0x100979472 (114 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:38:56 +0000
//
__int64 __fastcall sub_100979400(__int64 a1)
{
__int64 v1; // rcx
unsigned __int8 v2; // al
__int64 *v4; // rcx
v1 = *(_QWORD *)(a1 + 1248);
if ( v1 || (v4 = *(__int64 **)(a1 + 1224), v2 = 1, v4 != *(__int64 **)(a1 + 1232)) && (v1 = *v4) != 0 )
v2 = *(_BYTE *)(v1 + 381) ^ 1;
(*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 1352LL))(a1, 1, v2);
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 1352LL))(
a1,
2,
*(unsigned __int8 *)(a1 + 1012) ^ 1u);
}