// // sub_1800DDA90 from 0x1800dda90 to 0x1800ddaf4 (100 bytes) // // 3 xrefs: // > sub_1800DC900 @ 0x1800dcce2 // > @ 0x1801bae3c // > @ 0x1801bae48 // // 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 // BOOL __fastcall sub_1800DDA90(__int64 a1) { void *v1; // rbx const char *v2; // rdx v1 = (void *)a1; if ( !a1 ) { if ( wglMakeCurrent(nullptr, nullptr) ) { LABEL_7: v1 = nullptr; return sub_1800D99D0((__int64)&unk_1801AB18C, v1); } v2 = "WGL: Failed to clear current context"; LABEL_6: sub_1800D9BA0(0x10008u, v2); goto LABEL_7; } if ( !wglMakeCurrent(*(HDC *)(a1 + 632), *(HGLRC *)(a1 + 640)) ) { v2 = "WGL: Failed to make context current"; goto LABEL_6; } return sub_1800D99D0((__int64)&unk_1801AB18C, v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source