// // sub_1800E0100 from 0x1800e0100 to 0x1800e0164 (100 bytes) // // 3 xrefs: // > sub_1800DEF70 @ 0x1800df352 // > @ 0x1801c50a0 // > @ 0x1801c50ac // // 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:36 +0000 // BOOL __fastcall sub_1800E0100(__int64 a1) { void *v1; // rbx const char *v2; // rdx v1 = (void *)a1; if ( !a1 ) { if ( wglMakeCurrent(nullptr, nullptr) ) { LABEL_7: v1 = nullptr; return sub_1800DE130((__int64)&unk_1801B520C, v1); } v2 = "WGL: Failed to clear current context"; LABEL_6: sub_1800E1AF0(65544, v2); goto LABEL_7; } if ( !wglMakeCurrent(*(HDC *)(a1 + 632), *(HGLRC *)(a1 + 640)) ) { v2 = "WGL: Failed to make context current"; goto LABEL_6; } return sub_1800DE130((__int64)&unk_1801B520C, v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source