//
// get_unexpected_or_default from 0x180126ec8 to 0x180126eda (18 bytes)
//
// 2 xrefs:
// > ??> @ 0x180170bd8
// > ??> @ 0x180170c08
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:55 +0000
//
// 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;
}