//
// cocos2d::CCAnimationCache::addAnimation from 0x1001d426c to 0x1001d42c0 (84 bytes)
//
// 2 xrefs:
// > SpriteAnimationManager::createAnimations @ 0x100323000
// > SpriteAnimationManager::createAnimations @ 0x100323314
//
// 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 __fastcall cocos2d::CCAnimationCache::addAnimation(
cocos2d::CCAnimationCache *a1,
cocos2d::CCAnimation *a2,
const char *a3)
{
cocos2d::CCAnimationCache_vtbl *v4; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v4 = a1[1].__vftable;
sub_100009900(__p, (char *)a3);
cocos2d::CCDictionary::setObject_1(v4, a2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
}