//
// sub_1009A67F0 from 0x1009a67f0 to 0x1009a6852 (98 bytes)
//
// 3 xrefs:
// > ??> @ 0x10042f0d5
// > ??> @ 0x100500933
// > ??> @ 0x1008b690e
//
// 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:19 +0000
//
void __fastcall sub_1009A67F0(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int a5, __int64 a6)
{
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));
*(_QWORD *)a6 = a4;
*(_DWORD *)(a6 + 8) = a5;
}