//
// cocos2d::CCShaderCache::sharedShaderCache from 0x100151d84 to 0x100151dd8 (84 bytes)
//
// 14 xrefs:
// > cocos2d::CCDrawNode::init @ 0x100045cb8
// > cocos2d::CCLabelTTF::initWithString @ 0x100077028
// > cocos2d::CCTexture2D::initWithData @ 0x1001ab14c
// > cocos2d::CCLayerColor::initWithColor_1 @ 0x1001c845c
// > cocos2d::CCMotionStreak::initWithFade @ 0x10020845c
// > sub_1002384D8 @ 0x1002384f0
// > sub_1002384D8 @ 0x1002385d0
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x10026f614
// > cocos2d::CCSprite::initWithTexture @ 0x1002d4318
// > cocos2d::ccDrawInit @ 0x1002e932c
// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x1002f0470
// > sub_10030BA7C @ 0x10030bac4
// > sub_10030BA7C @ 0x10030bafc
// > cocos2d::CCProgressTimer::initWithSprite @ 0x10047e020
//
// 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 10:59:39 +0000
//
__int64 cocos2d::CCShaderCache::sharedShaderCache()
{
__int64 result; // x0
_QWORD *v1; // x19
result = qword_1009F3E20;
if ( !qword_1009F3E20 )
{
v1 = operator new(0x40u);
cocos2d::CCObject::CCObject((__int64)v1);
*v1 = off_1008E0560;
v1[7] = 0;
qword_1009F3E20 = (__int64)v1;
cocos2d::CCShaderCache::init(v1);
return qword_1009F3E20;
}
return result;
}