// // __except_validate_context_record from 0x180124d84 to 0x180124dbb (55 bytes) // // 3 xrefs: // > __C_specific_handler @ 0x180124953 // > __InternalCxxFrameHandler<__FrameHandler3> @ 0x180126560 // > unknown_libname_19 @ 0x180126919 // // 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 // struct _TEB *__fastcall _except_validate_context_record(__int64 a1) { struct _TEB *result; // rax PVOID v2; // rcx result = (struct _TEB *)_guard_check_icall_fptr[0]; if ( (void (*)())_guard_check_icall_fptr[0] != guard_check_icall_nop ) { result = NtCurrentTeb(); v2 = *(PVOID *)(a1 + 152); if ( v2 < result->NtTib.StackLimit || v2 > result->NtTib.StackBase ) __fastfail(0xDu); } return result; }