//
// sub_1800E1150 from 0x1800e1150 to 0x1800e11f5 (165 bytes)
//
// 9 xrefs:
// > sub_1800E0280 @ 0x1800e031b
// > sub_1800E0280 @ 0x1800e0352
// > sub_1800E0280 @ 0x1800e0538
// > sub_1800E0280 @ 0x1800e05dc
// > sub_1800E0750 @ 0x1800e0ab8
// > sub_1800E0750 @ 0x1800e0afe
// > sub_1800E1290 @ 0x1800e12c8
// > sub_1800E1290 @ 0x1800e1307
// > ??> @ 0x1801c516c
//
// 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
//
const char *__fastcall sub_1800E1150(int a1)
{
const char *result; // rax
switch ( a1 )
{
case 12288:
result = "Success";
break;
case 12289:
result = "EGL is not or could not be initialized";
break;
case 12290:
result = "EGL cannot access a requested resource";
break;
case 12291:
result = "EGL failed to allocate resources for the requested operation";
break;
case 12292:
result = "An unrecognized attribute or attribute value was passed in the attribute list";
break;
case 12293:
result = "An EGLConfig argument does not name a valid EGL frame buffer configuration";
break;
case 12294:
result = "An EGLContext argument does not name a valid EGL rendering context";
break;
case 12295:
result = "The current surface of the calling thread is a window, pixel buffer or pixmap that is no longer valid";
break;
case 12296:
result = "An EGLDisplay argument does not name a valid EGL display connection";
break;
case 12297:
result = "Arguments are inconsistent";
break;
case 12298:
result = "A NativePixmapType argument does not refer to a valid native pixmap";
break;
case 12299:
result = "A NativeWindowType argument does not refer to a valid native window";
break;
case 12300:
result = "One or more argument values are invalid";
break;
case 12301:
result = "An EGLSurface argument does not name a valid surface configured for GL rendering";
break;
case 12302:
result = "The application must destroy all contexts and reinitialise";
break;
default:
result = "ERROR: UNKNOWN EGL ERROR";
break;
}
return result;
}