// // cocos2d::CCGLProgram::link from 0x5e40f0 to 0x5e4114 (36 bytes) // // 4 xrefs: // > CCSpriteWithHue::initShader @ 0x306bc8 // > ShaderLayer::setupShader @ 0x54ebfc // > cocos2d::extension::CCControlSwitchSprite::initWithMaskSprite @ 0x5a4798 // > cocos2d::CCShaderCache::loadDefaultShader @ 0x5e4f74 // // 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 // bool cocos2d::CCGLProgram::link(cocos2d::CCGLProgram *a1) { glLinkProgram(); if ( a1->m_uVertShader ) glDeleteShader(); if ( a1->m_uFragShader ) glDeleteShader(); a1->m_uFragShader = 0; a1->m_uVertShader = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source