//
// sub_10031E2E4 from 0x10031e2e4 to 0x10031e3d0 (236 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall __noreturn sub_10031E2E4(_Unwind_Exception *a1)
{
__int64 v1; // x19
void **v2; // x21
void **v3; // x22
void **v4; // x23
_QWORD **v5; // x24
void **v6; // x25
void *v8; // x0
if ( *(char *)(v1 + 1559) < 0 )
operator delete(*(void **)(v1 + 1536));
if ( *(char *)(v1 + 1535) < 0 )
operator delete(*(void **)(v1 + 1512));
if ( *(char *)(v1 + 1511) < 0 )
operator delete(*(void **)(v1 + 1488));
if ( *(char *)(v1 + 1487) < 0 )
operator delete(*(void **)(v1 + 1464));
if ( *(char *)(v1 + 1463) < 0 )
operator delete(*(void **)(v1 + 1440));
if ( *(char *)(v1 + 1439) < 0 )
operator delete(*v6);
sub_100017E64(v1 + 1152, *v5);
v8 = *v4;
if ( *v4 )
{
*(_QWORD *)(v1 + 1136) = v8;
operator delete(v8);
}
sub_100017D70(v1 + 1104, *(_QWORD **)(v1 + 1112));
sub_10031E3D0(v1 + 1080, *(_QWORD *)(v1 + 1088));
sub_100017D70(v1 + 1056, *(_QWORD **)(v1 + 1064));
if ( *(char *)(v1 + 615) < 0 )
operator delete(*(void **)(v1 + 592));
if ( *(char *)(v1 + 591) < 0 )
operator delete(*v3);
if ( *(char *)(v1 + 495) < 0 )
operator delete(*v2);
sub_10031DF80(v1);
_Unwind_Resume(a1);
}