//
// sub_100108E80 from 0x100108e80 to 0x100108edd (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x100108e61
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_100108E80(__int64 a1)
{
__int64 v2; // r14
__int64 v3; // rax
__int64 v4; // rcx
void *v5; // rdi
v2 = *(_QWORD *)(a1 + 8);
v3 = *(_QWORD *)(a1 + 16);
if ( v3 != v2 )
{
do
{
v4 = v3 - 64;
*(_QWORD *)(a1 + 16) = v3 - 64;
v5 = *(void **)(v3 - 56);
if ( v5 )
{
*(_QWORD *)(v3 - 48) = v5;
operator delete(v5);
v4 = *(_QWORD *)(a1 + 16);
}
v3 = v4;
}
while ( v4 != v2 );
}
if ( *(_QWORD *)a1 )
operator delete(*(void **)a1);
}