// // cocos2d::CCShaderCache::sharedShaderCache from 0x5e52a8 to 0x5e52de (54 bytes) // // 21 xrefs: // > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit @ 0x2bdb56 // > CCSpriteWithHue::initShader @ 0x306b52 // > CCSpriteWithHue::initShader @ 0x306bd2 // > ShaderLayer::setupShader @ 0x54eb6a // > ShaderLayer::setupShader @ 0x54eb8e // > cocos2d::CCAtlasNode::initWithTexture @ 0x5bc7bc // > cocos2d::ccDrawInit @ 0x5c3ed2 // > cocos2d::CCDrawNode::init @ 0x5c4e0c // > cocos2d::CCGridBase::initWithSize @ 0x5c715a // > cocos2d::CCLabelTTF::initWithString @ 0x5ce858 // > cocos2d::CCLabelTTF::initWithStringAndTextDefinition @ 0x5ce9b4 // > cocos2d::CCLayerColor::initWithColor @ 0x5cf7d2 // > cocos2d::CCClippingNode::visit @ 0x5d656c // > cocos2d::CCMotionStreak::initWithFade @ 0x5d6ede // > cocos2d::CCProgressTimer::initWithSprite @ 0x5d7e2c // > cocos2d::CCParticleBatchNode::initWithTexture @ 0x5dd206 // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x5de0de // > cocos2d::CCSprite::initWithTexture @ 0x5e6fcc // > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x5e8412 // > cocos2d::CCTexture2D::initWithData @ 0x5f3e76 // > cocos2d::CCTMXLayer::parseInternalProperties @ 0x5f70f0 // // 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::CCShaderCache *cocos2d::CCShaderCache::sharedShaderCache() { cocos2d::CCShaderCache *v0; // r5 if ( !dword_AC9278 ) { v0 = (cocos2d::CCShaderCache *)operator new(0x38u); cocos2d::CCShaderCache::CCShaderCache(v0); dword_AC9278 = (int)v0; if ( !cocos2d::CCShaderCache::init(v0) ) { if ( dword_AC9278 ) { (*(void (__fastcall **)(int))(*(_DWORD *)dword_AC9278 + 8))(dword_AC9278); dword_AC9278 = 0; } } } return (cocos2d::CCShaderCache *)dword_AC9278; }
GD Web Decomp Icon

GD Web Decomp

Raw Source