//
// __cxa_call_unexpected from 0x7799e4 to 0x779a1c (56 bytes)
//
// 29 xrefs:
// > ??> @ 0x743116
// > ??> @ 0x7432a4
// > ??> @ 0x7432fa
// > ??> @ 0x743928
// > ??> @ 0x743c8a
// > ??> @ 0x743ce0
// > ??> @ 0x743ea8
// > ??> @ 0x745374
// > ??> @ 0x75662e
// > ??> @ 0x756810
// > sub_756A4C @ 0x756b2c
// > ??> @ 0x756d8e
// > ??> @ 0x756d92
// > ??> @ 0x757918
// > sub_757BA0 @ 0x757cec
// > sub_757DB4 @ 0x757ebc
// > ??> @ 0x76192e
// > ??> @ 0x761c80
// > __cxa_allocate_exception @ 0x7796ce
// > __cxa_free_exception @ 0x779768
// > __cxa_free_exception @ 0x77976c
// > __cxa_allocate_dependent_exception @ 0x77980a
// > __cxa_free_dependent_exception @ 0x7798ac
// > ??> @ 0x77a058
// > ??> @ 0x77a1c2
// > ??> @ 0x77a31a
// > ??> @ 0x77a3f2
// > ??> @ 0x77a4d6
// > ??> @ 0x77b78e
//
// 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)(); // r9
if ( sub_779988(a1) )
{
v2 = *((void (**)())a1 - 6);
_cxa_begin_catch(a1);
__cxxabiv1::__unexpected(v2);
}
_cxa_begin_catch(a1);
std::unexpected();
}