// // cocos2d::CCGLProgram::compileShader from 0x7ee694 to 0x7ee71e (138 bytes) // // 2 xrefs: // > cocos2d::CCGLProgram::initWithVertexShaderByteArray @ 0x7ee74a // > cocos2d::CCGLProgram::initWithVertexShaderByteArray @ 0x7ee770 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:02 +0000 // bool __fastcall cocos2d::CCGLProgram::compileShader( cocos2d::CCGLProgram *this, unsigned int *a2, unsigned int a3, const char *a4) { void *v4; // r5 int v6; // [sp+4h] [bp-14h] size_t byte_count; // [sp+8h] [bp-10h] if ( !a4 ) return 0; *a2 = glCreateShader(); glShaderSource(); glCompileShader(); glGetShaderiv(); if ( !v6 ) { glGetShaderiv(); v4 = malloc(byte_count); glGetShaderSource(); free(v4); abort(); } return v6 == 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source