//
// cocos2d::CCShaderCache::addProgram from 0x100152514 to 0x100152568 (84 bytes)
//
// 2 xrefs:
// > sub_1002384D8 @ 0x100238608
// > sub_10030BA7C @ 0x10030bb0c
//
// 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
//
void __fastcall cocos2d::CCShaderCache::addProgram(__int64 a1, __int64 a2, char *__s)
{
__int64 v4; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v4 = *(_QWORD *)(a1 + 56);
sub_100009900(__p, __s);
cocos2d::CCDictionary::setObject(v4, a2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
}