//
// cocos2d::CCAnimationCache::sharedAnimationCache from 0x10046d040 to 0x10046d0af (111 bytes)
//
// 3 xrefs:
// > cocos2d::CCSprite::setDisplayFrameWithAnimationName @ 0x10028ae72
// > SpriteAnimationManager::createAnimations @ 0x100721326
// > SpriteAnimationManager::loadAnimations @ 0x10072229c
//
// 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 *__fastcall cocos2d::CCAnimationCache::sharedAnimationCache()
{
cocos2d::CCAnimationCache *result; // rax
_QWORD *v1; // rbx
void *v2; // r14
result = (cocos2d::CCAnimationCache *)qword_1009A4FA8;
if ( !qword_1009A4FA8 )
{
v1 = operator new(0x40u);
cocos2d::CCObject::CCObject(v1);
*v1 = off_100939850;
v1[7] = 0;
qword_1009A4FA8 = (__int64)v1;
v2 = operator new(0x48u);
cocos2d::CCDictionary::CCDictionary((__int64)v2);
v1[7] = v2;
return (cocos2d::CCAnimationCache *)qword_1009A4FA8;
}
return result;
}