//
// sub_1000E5280 from 0x1000e5280 to 0x1000e52e7 (103 bytes)
//
// 2 xrefs:
// > ??> @ 0x1000e526d
// > ??> @ 0x10014666d
//
// 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:21:04 +0000
//
void __fastcall sub_1000E5280(__int64 a1)
{
_QWORD *v1; // rbx
_QWORD *v2; // rdi
_QWORD *v3; // r14
void *v4; // rdi
v1 = *(_QWORD **)a1;
*(_QWORD *)a1 = 0;
if ( v1 )
{
if ( *(_BYTE *)(a1 + 16) == 1 )
{
v2 = (_QWORD *)v1[5];
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
v4 = (void *)v1[3];
v1[3] = 0;
if ( v4 )
operator delete(v4);
}
operator delete(v1);
}
}