//
// cocos2d::CCShaderCache::sharedShaderCache from 0x100202120 to 0x100202197 (119 bytes)
//
// 32 xrefs:
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x1001764ca
// > cocos2d::ccDrawInit @ 0x1002080cd
// > cocos2d::ccDrawPoint @ 0x100208182
// > cocos2d::ccDrawPoints @ 0x100208295
// > cocos2d::ccDrawLines @ 0x1002083a5
// > cocos2d::ccDrawLine @ 0x1002084c8
// > cocos2d::ccDrawSolidPoly @ 0x100208790
// > cocos2d::ccDrawPoly @ 0x10020888b
// > cocos2d::ccDrawCircle @ 0x1002089bc
// > cocos2d::ccDrawCircleSegment @ 0x100208e30
// > cocos2d::ccDrawFilledCircle @ 0x10020925e
// > cocos2d::ccDrawQuadBezier @ 0x100209624
// > cocos2d::ccDrawCardinalSpline @ 0x100209835
// > cocos2d::ccDrawCubicBezier @ 0x100209add
// > cocos2d::CCTMXLayer::parseInternalProperties @ 0x10025a42f
// > cocos2d::CCSprite::initWithTexture @ 0x100288873
// > cocos2d::CCAtlasNode::initWithTexture @ 0x10032aca5
// > cocos2d::CCLabelTTF::initWithString @ 0x1003bd6e9
// > cocos2d::CCLabelTTF::createWithFontDefinition @ 0x1003bd8db
// > cocos2d::CCLabelTTF::initWithStringAndTextDefinition @ 0x1003bd9b0
// > cocos2d::CCParticleBatchNode::initWithTexture @ 0x1003c8a86
// > ShaderLayer::setupShader @ 0x1003ca78f
// > ShaderLayer::setupShader @ 0x1003ca7de
// > cocos2d::CCTexture2D::initWithData @ 0x100478568
// > cocos2d::CCLayerColor::initWithColor_1 @ 0x1004b2fbe
// > cocos2d::CCGridBase::initWithSize @ 0x1004e37fe
// > cocos2d::CCMotionStreak::initWithFade @ 0x100576788
// > CCSpriteWithHue::initShader @ 0x1005effd0
// > CCSpriteWithHue::initShader @ 0x1005f009d
// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x10060213f
// > cocos2d::CCProgressTimer::initWithSprite @ 0x100604379
// > cocos2d::CCDrawNode::init @ 0x100610efa
//
// 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 *__fastcall cocos2d::CCShaderCache::sharedShaderCache()
{
cocos2d::CCShaderCache *result; // rax
cocos2d::CCShaderCache *v1; // rbx
cocos2d::CCShaderCache_vtbl *v2; // r14
result = (cocos2d::CCShaderCache *)qword_10099F250;
if ( !qword_10099F250 )
{
v1 = (cocos2d::CCShaderCache *)operator new(0x40u);
cocos2d::CCObject::CCObject(v1);
v1->__vftable = (cocos2d::CCShaderCache_vtbl *)off_1008DBE00;
v1[1].__vftable = nullptr;
qword_10099F250 = (__int64)v1;
v2 = (cocos2d::CCShaderCache_vtbl *)operator new(0x48u);
cocos2d::CCDictionary::CCDictionary(v2);
v1[1].__vftable = v2;
cocos2d::CCShaderCache::loadDefaultShaders(v1);
return (cocos2d::CCShaderCache *)qword_10099F250;
}
return result;
}