//
// _IsExceptionObjectToBeDestroyed from 0x180124c24 to 0x180124c53 (47 bytes)
//
// 3 xrefs:
// > unknown_libname_19 @ 0x180126a3a
// > unknown_libname_19 @ 0x180142cad
// > ??> @ 0x1802026e4
//
// 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
//
__int64 __fastcall IsExceptionObjectToBeDestroyed(__int64 a1)
{
_QWORD *i; // rdx
for ( i = *(_QWORD **)(_vcrt_getptd() + 88); ; i = (_QWORD *)i[1] )
{
if ( !i )
return 1;
if ( *i == a1 )
break;
}
return 0;
}