// // cocos2d::CCGLProgram::link from 0xd826a0 to 0xd826ec (76 bytes) // // 7 xrefs: // > CCSpriteWithHue::initShader @ 0x6dd9e4 // > ShaderLayer::setupShader @ 0xb2e044 // > cocos2d::extension::CCControlSwitchSprite::initWithMaskSprite @ 0xd11374 // > cocos2d::CCShaderCache::loadDefaultShader @ 0xd83e18 // > cocos2d::CCShaderCache::loadDefaultShader @ 0xd83e8c // > cocos2d::CCShaderCache::loadDefaultShader @ 0xd83fa0 // > @ 0x64b70 // // 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 // __int64 __fastcall cocos2d::CCGLProgram::link(cocos2d::CCGLProgram *this) { glLinkProgram(); if ( *((_DWORD *)this + 15) ) glDeleteShader(); if ( *((_DWORD *)this + 16) ) glDeleteShader(); *((_DWORD *)this + 16) = 0; *((_DWORD *)this + 15) = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source