//
// cocos2d::CCAnimationCache::sharedAnimationCache from 0xb138c4 to 0xb13918 (84 bytes)
//
// 6 xrefs:
// > SpriteAnimationManager::createAnimations @ 0x58e68c
// > SpriteAnimationManager::loadAnimations @ 0x590b64
// > cocos2d::CCAnimationCache::parseVersion1 @ 0xb13d50
// > cocos2d::CCAnimationCache::parseVersion2 @ 0xb14144
// > cocos2d::CCSprite::setDisplayFrameWithAnimationName @ 0xb1531c
// > ??> @ 0xa2af8
//
// 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
//
cocos2d::CCAnimationCache *cocos2d::CCAnimationCache::sharedAnimationCache()
{
cocos2d::CCAnimationCache *result; // x0
cocos2d::CCAnimationCache *v1; // x20
result = (cocos2d::CCAnimationCache *)cocos2d::CCAnimationCache::s_pSharedAnimationCache;
if ( !cocos2d::CCAnimationCache::s_pSharedAnimationCache )
{
v1 = (cocos2d::CCAnimationCache *)operator new(0x40u);
cocos2d::CCAnimationCache::CCAnimationCache(v1);
cocos2d::CCAnimationCache::s_pSharedAnimationCache = (__int64)v1;
cocos2d::CCAnimationCache::init(v1);
return (cocos2d::CCAnimationCache *)cocos2d::CCAnimationCache::s_pSharedAnimationCache;
}
return result;
}