//
// sub_CD91B4 from 0xcd91b4 to 0xcd9218 (100 bytes)
//
// 2 xrefs:
// > sub_CD9294 @ 0xcd92a4
// > ??> @ 0x111e260
//
// 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_CD91B4(__int64 a1)
{
int v2; // w1
void *v3; // x0
void *v4; // x0
void *v5; // x0
void *v6; // x0
v2 = *(unsigned __int8 *)(a1 + 111);
*(_QWORD *)a1 = off_111E260;
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);
v6 = *(void **)(a1 + 72);
if ( v6 )
operator delete[](v6);
}
return nullsub_23(a1);
}