// // cocos2d::CCShaderCache::programForKey from 0x100128a80 to 0x100128ad0 (80 bytes) // // 12 xrefs: // > cocos2d::CCDrawNode::init @ 0x100041f20 // > cocos2d::CCLabelTTF::initWithString @ 0x10006e8b4 // > cocos2d::CCTexture2D::initWithData @ 0x10012d754 // > cocos2d::CCLayerColor::initWithColor_1 @ 0x100149b74 // > cocos2d::CCMotionStreak::initWithFade @ 0x100176e88 // > CCSpriteWithHue::initShader @ 0x1001a36f4 // > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x1001d70bc // > cocos2d::CCSprite::initWithTexture @ 0x100237914 // > cocos2d::ccDrawInit @ 0x10024c1c8 // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x100253324 // > ShaderLayer::setupShader @ 0x10026dcb8 // > cocos2d::CCProgressTimer::initWithSprite @ 0x1003fd6b0 // // 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 // cocos2d::CCGLProgram *__fastcall cocos2d::CCShaderCache::programForKey(cocos2d::CCShaderCache *a1, const char *a2) { cocos2d::CCShaderCache_vtbl *v2; // x19 cocos2d::CCGLProgram *v3; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] v2 = a1[1].__vftable; sub_100009900(__p, (char *)a2); v3 = (cocos2d::CCGLProgram *)cocos2d::CCDictionary::objectForKey_1(v2, __p); if ( v6 < 0 ) operator delete(__p[0]); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source