// // _exception_enabled from 0x180133970 to 0x180133a2a (186 bytes) // // 3 xrefs: // > _handle_error @ 0x180133a8a // > _handle_errorf @ 0x180133bb1 // > @ 0x1802031ac // // 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 // _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; }