//
// sub_10016666C from 0x10016666c to 0x1001666bc (80 bytes)
//
// 9 xrefs:
// > sub_100166004 @ 0x1001660ac
// > sub_100168064 @ 0x100168070
// > sub_100168064 @ 0x100168118
// > sub_1001AEEB0 @ 0x1001aeeb8
// > sub_1001C20CC @ 0x1001c2140
// > sub_100210250 @ 0x10021038c
// > sub_1004DF488 @ 0x1004df51c
// > sub_100532DB0 @ 0x100532e38
// > sub_10053CB20 @ 0x10053cb40
//
// This function is hookable on this platform (idp: arm, 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 10:59:48 +0000
//
__int64 __fastcall sub_10016666C(__int64 a1)
{
if ( *(char *)(a1 + 151) < 0 )
operator delete(*(void **)(a1 + 128));
if ( *(char *)(a1 + 119) < 0 )
operator delete(*(void **)(a1 + 96));
if ( *(char *)(a1 + 31) < 0 )
operator delete(*(void **)(a1 + 8));
return a1;
}