//
// sub_1800E5094 from 0x1800e5094 to 0x1800e50b8 (36 bytes)
//
// 6 xrefs:
// > sub_1800E5488 @ 0x1800e5531
// > sub_1800E55A0 @ 0x1800e55fb
// > sub_1800E5488 @ 0x1800e902a
// > sub_1800E55A0 @ 0x1800e903c
// > ??> @ 0x1801c555c
// > ??> @ 0x1801c5568
//
// 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 11:22:38 +0000
//
char __fastcall sub_1800E5094(char a1)
{
int v2; // eax
LOBYTE(v2) = __uncaught_exception();
if ( v2 && !a1 )
_InterlockedExchange64(&qword_1801B6740, 0);
return v2;
}