//
// sub_10062ECF8 from 0x10062ecf8 to 0x10062ed50 (88 bytes)
//
// 1 xrefs:
// > cocos2d::CCGLProgram::compileShader @ 0x1001353bc
//
// 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
//
void __fastcall __noreturn sub_10062ECF8(GLint *params, GLuint *a2)
{
GLint *v3; // x20
GLchar *v4; // x21
v3 = params;
glGetShaderiv(*a2, 0x8B88u, params);
LODWORD(v3) = *v3;
v4 = (GLchar *)malloc((int)v3);
glGetShaderSource(*a2, (GLsizei)v3, nullptr, v4);
free(v4);
abort();
}