//
// sub_C0EB58 from 0xc0eb58 to 0xc0ebb8 (96 bytes)
//
// 2 xrefs:
// > CheckpointObject::~CheckpointObject @ 0xc11704
// > ReadArchive::process @ 0xc1b01c
//
// 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 13:03:56 +0000
//
void __fastcall sub_C0EB58(_QWORD *a1)
{
_QWORD *v1; // x19
char *v2; // x0
_QWORD *v3; // x20
char *v4; // x2
void *v5; // x0
v1 = a1;
if ( a1 )
{
do
{
v2 = (char *)v1[3];
v3 = (_QWORD *)*v1;
if ( v2 )
{
v4 = (char *)v1[4];
if ( v2 != v4 )
v1[4] = &v4[16 * ~((unsigned __int64)(v4 - 16 - v2) >> 4)];
operator delete(v2);
}
v5 = v1;
v1 = v3;
operator delete(v5);
}
while ( v3 );
}
}