//
// cocos2d::CCShaderCache::programForKey from 0x1001524a8 to 0x1001524f8 (80 bytes)
//
// 12 xrefs:
// > cocos2d::CCDrawNode::init @ 0x100045cc4
// > cocos2d::CCLabelTTF::initWithString @ 0x100077034
// > cocos2d::CCTexture2D::initWithData @ 0x1001ab158
// > cocos2d::CCLayerColor::initWithColor_1 @ 0x1001c8468
// > cocos2d::CCMotionStreak::initWithFade @ 0x100208468
// > sub_1002384D8 @ 0x100238524
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x10026f620
// > cocos2d::CCSprite::initWithTexture @ 0x1002d4324
// > cocos2d::ccDrawInit @ 0x1002e9338
// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x1002f047c
// > sub_10030BA7C @ 0x10030bad0
// > cocos2d::CCProgressTimer::initWithSprite @ 0x10047e02c
//
// 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:40 +0000
//
__int64 __fastcall cocos2d::CCShaderCache::programForKey(__int64 a1, char *a2)
{
__int64 v2; // x19
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 56);
sub_100009900(__p, a2);
v3 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3;
}