// // cocos2d::CCShaderCache::sharedShaderCache from 0xd84778 to 0xd847f0 (120 bytes) // // 23 xrefs: // > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit @ 0x63f9c8 // > CCSpriteWithHue::initShader @ 0x6dd8c0 // > CCSpriteWithHue::initShader @ 0x6dd9f0 // > ShaderLayer::setupShader @ 0xb2dcac // > ShaderLayer::setupShader @ 0xb2e07c // > cocos2d::CCAtlasNode::initWithTexture @ 0xd3c2c4 // > sub_D4A780 @ 0xd4a78c // > cocos2d::ccDrawInit @ 0xd4a814 // > cocos2d::CCDrawNode::init @ 0xd4bd2c // > cocos2d::CCGridBase::initWithSize @ 0xd4eb84 // > cocos2d::CCLabelTTF::initWithString @ 0xd5b6d4 // > cocos2d::CCLabelTTF::initWithStringAndTextDefinition @ 0xd5b8e0 // > cocos2d::CCLayerColor::initWithColor @ 0xd5cd60 // > cocos2d::CCClippingNode::visit @ 0xd68054 // > cocos2d::CCMotionStreak::initWithFade @ 0xd68674 // > cocos2d::CCProgressTimer::initWithSprite @ 0xd6a2a4 // > cocos2d::CCParticleBatchNode::initWithTexture @ 0xd72618 // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0xd73f80 // > cocos2d::CCSprite::initWithTexture @ 0xd87614 // > cocos2d::CCSpriteBatchNode::initWithTexture @ 0xd89764 // > cocos2d::CCTexture2D::initWithData @ 0xda2e30 // > cocos2d::CCTMXLayer::parseInternalProperties @ 0xdaafb8 // > @ 0xb10e8 // // 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:11 +0000 // __int64 __fastcall cocos2d::CCShaderCache::sharedShaderCache(cocos2d::CCShaderCache *this) { __int64 v1; // x19 cocos2d::CCShaderCache *v3; // x21 v1 = qword_1560A38; if ( !qword_1560A38 ) { v3 = (cocos2d::CCShaderCache *)operator new(0x40u); cocos2d::CCShaderCache::CCShaderCache(v3); qword_1560A38 = (__int64)v3; if ( (unsigned __int8)cocos2d::CCShaderCache::init(v3) ) { return qword_1560A38; } else if ( qword_1560A38 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1560A38 + 16LL))(qword_1560A38); qword_1560A38 = 0; } } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source