// // sub_18001FC8C from 0x18001fc8c to 0x18001fcc5 (57 bytes) // // 3 xrefs: // > sub_18001F394 @ 0x18001f3be // > sub_18001F4AC @ 0x18001f4d8 // > @ 0x18004d19c // // 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 12:15:45 +0000 // char sub_18001FC8C() { int v0; // eax PVOID StackBase; // rcx signed __int64 v2; // rax LOBYTE(v0) = __uncaught_exception(); if ( v0 ) { StackBase = NtCurrentTeb()->NtTib.StackBase; while ( 1 ) { v2 = _InterlockedCompareExchange64(&qword_18004A580, (signed __int64)StackBase, 0); if ( !v2 ) break; if ( StackBase == (PVOID)v2 ) return 1; } } return 0; }