//
// sub_100754EC8 from 0x100754ec8 to 0x100754f20 (88 bytes)
//
// 1 xrefs:
// > cocos2d::CCGLProgram::compileShader @ 0x1001b36a8
//
// This function is hookable on this platform (idp: arm, 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:13:32 +0000
//
void __fastcall __noreturn sub_100754EC8(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();
}