//
// CCAnimateFrameCache::sharedSpriteFrameCache from 0x140044fe0 to 0x140045072 (146 bytes)
//
// 6 xrefs:
// > CCPartAnimSprite::initWithAnimDesc @ 0x140049702
// > CCPartAnimSprite::setDisplayFrame @ 0x140049e9c
// > CCPartAnimSprite::tweenToFrame @ 0x14004a19e
// > GameManager::reloadAllStep2 @ 0x1402878da
// > LoadingLayer::loadAssets @ 0x140469ecc
// > ??> @ 0x14090f800
//
// This function is hookable on this platform (idp: pc, 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 11:25:30 +0000
//
// Hidden C++ exception states: #wind=1
__int64 CCAnimateFrameCache::sharedSpriteFrameCache()
{
__int64 result; // rax
cocos2d::CCObject *v1; // rax
cocos2d::CCObject *v2; // rax
cocos2d::CCObject *v3; // rax
cocos2d::CCObject *v4; // [rsp+30h] [rbp+8h]
result = qword_14090BF58;
if ( !qword_14090BF58 )
{
v4 = (cocos2d::CCObject *)operator new(0x50u);
cocos2d::CCObject::CCObject(v4);
*(_QWORD *)v4 = &CCAnimateFrameCache::`vftable';
*((_QWORD *)v4 + 7) = 0;
*((_QWORD *)v4 + 8) = 0;
*((_QWORD *)v4 + 9) = 0;
qword_14090BF58 = (__int64)v4;
v1 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();
*((_QWORD *)v4 + 7) = v1;
cocos2d::CCObject::retain(v1);
v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();
*((_QWORD *)v4 + 8) = v2;
cocos2d::CCObject::retain(v2);
v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();
*((_QWORD *)v4 + 9) = v3;
cocos2d::CCObject::retain(v3);
return qword_14090BF58;
}
return result;
}