//
// sub_CD9218 from 0xcd9218 to 0xcd9270 (88 bytes)
//
// 2 xrefs:
// > sub_CD9378 @ 0xcd9388
// > ??> @ 0x111e280
//
// 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
//
__int64 __fastcall sub_CD9218(__int64 a1)
{
int v2; // w1
void *v3; // x0
void *v4; // x0
void *v5; // x0
v2 = *(unsigned __int8 *)(a1 + 136);
*(_QWORD *)a1 = off_111E280;
if ( v2 )
{
v3 = *(void **)(a1 + 16);
if ( v3 )
operator delete[](v3);
v4 = *(void **)(a1 + 40);
if ( v4 )
operator delete[](v4);
v5 = *(void **)(a1 + 56);
if ( v5 )
operator delete[](v5);
}
return nullsub_23(a1);
}