// // _exception_enabled from 0x180133970 to 0x180133a2a (186 bytes) // // 3 xrefs: // > _handle_error @ 0x180133a8a // > _handle_errorf @ 0x180133bb1 // > @ 0x1802031ac // // 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:59 +0000 // _BOOL8 __fastcall exception_enabled(char a1, __int16 a2) { int v3; // ebx v3 = a1 & 0x1F; if ( (a1 & 8) != 0 && (a2 & 0x80u) != 0 ) { set_statfp(1); v3 &= ~8u; } else if ( (a1 & 4) != 0 && (a2 & 0x200) != 0 ) { set_statfp(4); v3 &= ~4u; } else if ( (a1 & 1) != 0 && (a2 & 0x400) != 0 ) { set_statfp(8); v3 &= ~1u; } else if ( (a1 & 2) != 0 && (a2 & 0x800) != 0 ) { if ( (a1 & 0x10) != 0 ) set_statfp(16); v3 &= ~2u; } if ( (a1 & 0x10) != 0 && (a2 & 0x1000) != 0 ) { set_statfp(32); v3 &= ~0x10u; } return v3 == 0; }