// // cocos2d::CCShaderCache::sharedShaderCache from 0x18008c600 to 0x18008c68f (143 bytes) // // 19 xrefs: // > cocos2d::CCAtlasNode::initWithTexture @ 0x180001cbf // > cocos2d::ccDrawInit @ 0x180011fad // > cocos2d::CCDrawNode::init @ 0x180015204 // > cocos2d::CCGridBase::initWithSize @ 0x180023bef // > cocos2d::CCLabelTTF::init @ 0x1800501ed // > cocos2d::CCLabelTTF::initWithString @ 0x180050345 // > cocos2d::CCLabelTTF::initWithStringAndTextDefinition @ 0x180050439 // > cocos2d::CCLayerColor::initWithColor @ 0x180052007 // > cocos2d::CCClippingNode::visit @ 0x18005e809 // > cocos2d::CCMotionStreak::initWithFade @ 0x18005f068 // > cocos2d::CCProgressTimer::initWithSprite @ 0x180060137 // > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180063b9c // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006cc03 // > cocos2d::CCSprite::initWithTexture @ 0x18008efea // > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091998 // > cocos2d::CCTexture2D::initWithData @ 0x1800a93c1 // > cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800afeab // > @ 0x18014cf68 // > @ 0x1801bfc1c // // This function is hookable on this platform (idp: pc, 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 11:22:06 +0000 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCShaderCache *__fastcall cocos2d::CCShaderCache::sharedShaderCache() { struct cocos2d::CCShaderCache *result; // rax cocos2d::CCObject *v1; // rax cocos2d::CCObject *v2; // rbx cocos2d::CCDictionary *v3; // rdi cocos2d::CCDictionary *v4; // rax result = qword_1801B2810; if ( !qword_1801B2810 ) { v1 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u); v2 = v1; if ( v1 ) { cocos2d::CCObject::CCObject(v1); *(_QWORD *)v2 = &cocos2d::CCShaderCache::`vftable'; v3 = nullptr; *((_QWORD *)v2 + 7) = 0; } else { v3 = nullptr; v2 = nullptr; } qword_1801B2810 = v2; v4 = (cocos2d::CCDictionary *)sub_1800E4AC0(0x48u); if ( v4 ) v3 = cocos2d::CCDictionary::CCDictionary(v4); *((_QWORD *)v2 + 7) = v3; cocos2d::CCShaderCache::loadDefaultShaders(v2); return qword_1801B2810; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source