; ; capture_previous_context from 0x1800e0188 to 0x1800e01f9 (113 bytes) ; ; 2 xrefs: ; > __report_gsfailure @ 0x1800e00da ; > @ 0x1801bb148 ; ; 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 ; push rbx ; +0x0, 0x1800e0188 push rsi ; +0x2, 0x1800e018a push rdi ; +0x3, 0x1800e018b sub rsp, 40h ; +0x4, 0x1800e018c mov rbx, rcx ; +0x8, 0x1800e0190 call cs:RtlCaptureContext ; +0xb, 0x1800e0193 mov rsi, [rbx+0F8h] ; +0x11, 0x1800e0199 xor edi, edi ; +0x18, 0x1800e01a0 xor r8d, r8d; HistoryTable ; +0x1a, 0x1800e01a2 lea rdx, [rsp+58h+ImageBase]; ImageBase ; +0x1d, 0x1800e01a5 mov rcx, rsi; ControlPc ; +0x22, 0x1800e01aa call cs:RtlLookupFunctionEntry ; +0x25, 0x1800e01ad test rax, rax ; +0x2b, 0x1800e01b3 jz short loc_1800E01F1 ; +0x2e, 0x1800e01b6 and [rsp+58h+var_20], 0 ; +0x30, 0x1800e01b8 lea rcx, [rsp+58h+arg_8] ; +0x36, 0x1800e01be mov rdx, [rsp+58h+ImageBase]; ImageBase ; +0x3b, 0x1800e01c3 mov r9, rax; FunctionEntry ; +0x40, 0x1800e01c8 mov [rsp+58h+EstablisherFrame], rcx; EstablisherFrame ; +0x43, 0x1800e01cb mov r8, rsi; ControlPc ; +0x48, 0x1800e01d0 lea rcx, [rsp+58h+arg_10] ; +0x4b, 0x1800e01d3 mov [rsp+58h+HandlerData], rcx; HandlerData ; +0x50, 0x1800e01d8 xor ecx, ecx; HandlerType ; +0x55, 0x1800e01dd mov [rsp+58h+ContextRecord], rbx; ContextRecord ; +0x57, 0x1800e01df call cs:RtlVirtualUnwind ; +0x5c, 0x1800e01e4 inc edi ; +0x62, 0x1800e01ea cmp edi, 2 ; +0x64, 0x1800e01ec jl short loc_1800E01A2 ; +0x67, 0x1800e01ef add rsp, 40h ; +0x69, 0x1800e01f1 pop rdi ; +0x6d, 0x1800e01f5 pop rsi ; +0x6e, 0x1800e01f6 pop rbx ; +0x6f, 0x1800e01f7 retn ; +0x70, 0x1800e01f8