// // cocos2d::CCGLProgram::compileShader from 0xd823d4 to 0xd824b4 (224 bytes) // // 3 xrefs: // > cocos2d::CCGLProgram::initWithVertexShaderByteArray @ 0xd824f4 // > cocos2d::CCGLProgram::initWithVertexShaderByteArray @ 0xd82514 // > @ 0x516b8 // // 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 13:08:10 +0000 // bool __fastcall cocos2d::CCGLProgram::compileShader( cocos2d::CCGLProgram *this, unsigned int *a2, unsigned int a3, const char *a4) { _BOOL8 result; // x0 void *v5; // x19 int v6; // [xsp+20h] [xbp+20h] int byte_count; // [xsp+24h] [xbp+24h] if ( !a4 ) return 0; *a2 = glCreateShader(); glShaderSource(); glCompileShader(); glGetShaderiv(); result = v6 == 1; if ( !v6 ) { glGetShaderiv(); v5 = malloc(byte_count); glGetShaderSource(); free(v5); abort(); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source