//
// __cxa_current_exception_type from 0x785a00 to 0x785a1a (26 bytes)
//
// 1 xrefs:
// > __gnu_cxx::__verbose_terminate_handler @ 0x779d6a
//
// 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()
{
struct type_info *result; // r0
result = (struct type_info *)*_cxa_get_globals();
if ( result )
{
if ( *((_BYTE *)result + 39) == 1 )
result = (struct type_info *)(*(_DWORD *)result - 120);
return *(struct type_info **)result;
}
return result;
}