//
// CCAnimateFrameCache::sharedSpriteFrameCache from 0x10056add0 to 0x10056ae5c (140 bytes)
//
// 5 xrefs:
// > CCPartAnimSprite::initWithAnimDesc @ 0x100373bd8
// > CCPartAnimSprite::setDisplayFrame @ 0x100374e73
// > CCPartAnimSprite::tweenToFrame @ 0x10037508e
// > GameManager::reloadAllStep2 @ 0x10038c518
// > LoadingLayer::loadAssets @ 0x1003a3594
//
// 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
//
CCAnimateFrameCache *__fastcall CCAnimateFrameCache::sharedSpriteFrameCache()
{
CCAnimateFrameCache *result; // rax
char *v1; // rbx
cocos2d::CCDictionary *v2; // rax
cocos2d::CCDictionary *v3; // rax
cocos2d::CCDictionary *v4; // rax
result = (CCAnimateFrameCache *)qword_1009A2A08;
if ( !qword_1009A2A08 )
{
v1 = (char *)operator new(0x50u);
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_1009640A0;
*(_OWORD *)(v1 + 56) = 0;
*((_QWORD *)v1 + 9) = 0;
qword_1009A2A08 = (__int64)v1;
v2 = cocos2d::CCDictionary::create();
*((_QWORD *)v1 + 7) = v2;
cocos2d::CCObject::retain(v2);
v3 = cocos2d::CCDictionary::create();
*((_QWORD *)v1 + 8) = v3;
cocos2d::CCObject::retain(v3);
v4 = cocos2d::CCDictionary::create();
*((_QWORD *)v1 + 9) = v4;
cocos2d::CCObject::retain(v4);
return (CCAnimateFrameCache *)qword_1009A2A08;
}
return result;
}