//
// sub_10066A4B0 from 0x10066a4b0 to 0x10066a4ef (63 bytes)
//
// 3 xrefs:
// > ??> @ 0x10066a416
// > ??> @ 0x10066a818
// > ??> @ 0x10066a834
//
// 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:35:00 +0000
//
void __fastcall sub_10066A4B0(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // r14
if ( !*(_BYTE *)(a1 + 24) )
{
v1 = **(_QWORD **)(a1 + 16);
v2 = **(_QWORD **)(a1 + 8);
while ( v1 != v2 )
{
if ( (*(_BYTE *)(v1 - 24) & 1) != 0 )
operator delete(*(void **)(v1 - 8));
v1 -= 40;
}
}
}