// // sub_1800DEC20 from 0x1800dec20 to 0x1800decc9 (169 bytes) // // 2 xrefs: // > sub_1800DDC10 @ 0x1800de066 // > @ 0x1801baf20 // // 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 // unsigned int __fastcall sub_1800DEC20(_QWORD *a1) { __int64 v2; // rdx __int64 v3; // rcx __int64 v4; // r8 int Error; // eax const char *v6; // rax __int64 v8; // rdx __int64 v9; // rcx __int64 v10; // r8 int v11; // eax const char *v12; // rax if ( a1 ) { if ( !(unsigned int)eglMakeCurrent(qword_1801AC168, a1[84], a1[84], a1[83]) ) { Error = eglGetError(v3, v2, v4); v6 = sub_1800DEAE0(Error); return (unsigned int)sub_1800D3530(0x10008u, "EGL: Failed to make context current: %s", v6); } } else if ( !(unsigned int)eglMakeCurrent(qword_1801AC168, 0, 0, 0) ) { v11 = eglGetError(v9, v8, v10); v12 = sub_1800DEAE0(v11); return (unsigned int)sub_1800D3530(0x10008u, "EGL: Failed to clear current context: %s", v12); } return sub_1800D99D0((__int64)&unk_1801AB18C, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source