//
// sub_C0EA98 from 0xc0ea98 to 0xc0eaf8 (96 bytes)
//
// 4 xrefs:
// > CheckpointObject::~CheckpointObject @ 0xc10cac
// > CheckpointObject::~CheckpointObject @ 0xc10d44
// > ReadArchive::process @ 0xc1c250
// > deserializeCheckpoint @ 0xc35814
//
// 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_C0EA98(_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[10];
v3 = (_QWORD *)*v1;
if ( v2 )
{
v4 = (char *)v1[11];
if ( v2 != v4 )
v1[11] = &v4[4 * ~((unsigned __int64)(v4 - 4 - v2) >> 2)];
operator delete(v2);
}
v5 = v1;
v1 = v3;
operator delete(v5);
}
while ( v3 );
}
}