//
// _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 (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:54 +0000
//
__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;
}