//
// __cxa_current_exception_type from 0xf886a4 to 0xf88700 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xb3488
//
// This function is hookable on this platform (idp: arm, 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 13:13:54 +0000
//
struct type_info *_cxa_current_exception_type()
{
struct type_info *result; // x0
__int64 v1; // x8
result = (struct type_info *)_cxa_get_globals_fast();
if ( result )
{
v1 = *(_QWORD *)result;
if ( *(_QWORD *)result )
{
if ( *(_QWORD *)(v1 + 88) >> 8 == 0x434C4E47432B2BLL )
return *(struct type_info **)(v1 + 8);
else
return nullptr;
}
else
{
return nullptr;
}
}
return result;
}