//
// get_unexpected_or_default from 0x180126ec8 to 0x180126eda (18 bytes)
//
// 2 xrefs:
// > ??> @ 0x180170bd8
// > ??> @ 0x180170c08
//
// 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
//
// Microsoft VisualC v7/14 64bit runtime
void (*__fastcall get_unexpected_or_default(const struct __vcrt_ptd *const a1))()
{
void (*result)(); // rax
result = (void (*)())"Unknown exception";
if ( *((_QWORD *)a1 + 1) )
return *((void (**)())a1 + 1);
return result;
}