//
// __cxa_call_unexpected from 0xcccc18 to 0xcccd08 (240 bytes)
//
// 33 xrefs:
// > ??> @ 0xccc23c
// > ??> @ 0xccc2c0
// > __cxxabiv1::__terminate @ 0xcccd40
// > ??> @ 0xccd114
// > ??> @ 0xccd194
// > operator new[] @ 0xccd448
// > ??> @ 0xcce388
// > ??> @ 0xcce42c
// > ??> @ 0xcce538
// > ??> @ 0xcce578
// > ??> @ 0xcce69c
// > ??> @ 0xcce77c
// > ??> @ 0xccfd70
// > sub_CE9FEC @ 0xcea1e0
// > ??> @ 0xcea4c8
// > sub_CEA7E4 @ 0xcea968
// > ??> @ 0xcead10
// > sub_CEAFF4 @ 0xcebc44
// > sub_CEBD04 @ 0xcebf3c
// > sub_CEBFFC @ 0xcec1ac
// > ??> @ 0xcfa330
// > ??> @ 0xcfa738
// > __cxa_allocate_exception @ 0xd1ebcc
// > __cxa_free_exception @ 0xd1ec9c
// > __cxa_allocate_dependent_exception @ 0xd1ed84
// > __cxa_free_dependent_exception @ 0xd1ee64
// > ??> @ 0xd1f5b8
// > ??> @ 0xd1f6d8
// > ??> @ 0xd1f830
// > ??> @ 0xd1fe84
// > ??> @ 0xd1fea8
// > sub_D21954 @ 0xd219a4
// > ??> @ 0xa02c0
//
// 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 __noreturn _cxa_call_unexpected(void *a1)
{
void (*v2)(); // x0
__int64 v3; // [xsp+60h] [xbp+60h]
_cxa_begin_catch(a1);
v2 = *((void (**)())a1 - 8);
v3 = *((_QWORD *)a1 - 2);
__cxxabiv1::__unexpected(v2);
}