//
// cocos2d::CCShaderCache::addProgram from 0x5e5420 to 0x5e545e (62 bytes)
//
// 2 xrefs:
// > CCSpriteWithHue::initShader @ 0x306bea
// > ShaderLayer::setupShader @ 0x54eb9a
//
// 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
//
void cocos2d::CCShaderCache::addProgram(cocos2d::CCShaderCache *a1, cocos2d::CCGLProgram *a2, const char *a3)
{
cocos2d::CCShaderCache_vtbl *v3; // r7
const char *v5; // [sp+8h] [bp-Ch] BYREF
v3 = a1[1].__vftable;
sub_776584((int)&v5, (char *)a3);
cocos2d::CCDictionary::setObject((int)v3, a2, &v5);
sub_774008(&v5);
}