//
// __cxa_current_exception_type from 0xd2f4dc to 0xd2f518 (60 bytes)
//
// 2 xrefs:
// > __gnu_cxx::__verbose_terminate_handler @ 0xd1f33c
// > ??> @ 0x87240
//
// 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
//
struct type_info *_cxa_current_exception_type()
{
__int64 v0; // x0
v0 = *(_QWORD *)_cxa_get_globals();
if ( !v0 )
return nullptr;
if ( (*(_QWORD *)(v0 + 80) & 1) != 0 )
v0 = *(_QWORD *)v0 - 112LL;
return *(struct type_info **)v0;
}