//
// sub_1009A99E0 from 0x1009a99e0 to 0x1009a9a35 (85 bytes)
//
// 1 xrefs:
// > ??> @ 0x100853018
//
// 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:39:20 +0000
//
bool __fastcall sub_1009A99E0(__int64 a1, __int64 a2, __int64 a3, _BYTE *a4)
{
if ( (*(_BYTE *)a1 & 1) != 0 )
operator delete(*(void **)(a1 + 16));
if ( (*(_BYTE *)a2 & 1) != 0 )
operator delete(*(void **)(a2 + 16));
if ( (*(_BYTE *)a3 & 1) != 0 )
operator delete(*(void **)(a3 + 16));
return (*a4 & 1) == 0;
}