//
// sub_1009A6720 from 0x1009a6720 to 0x1009a676c (76 bytes)
//
// 1 xrefs:
// > cocos2d::CCGLProgram::compileShader @ 0x1004176e2
//
// 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 12:39:19 +0000
//
void __fastcall __noreturn sub_1009A6720(GLint *params, GLuint *a2)
{
GLsizei v2; // r14d
GLchar *v3; // r15
glGetShaderiv(*a2, 0x8B88u, params);
v2 = *params;
v3 = (GLchar *)malloc(*params);
glGetShaderSource(*a2, v2, nullptr, v3);
free(v3);
abort();
}