//
// CCContentManager::sharedManager from 0x100184200 to 0x10018426d (109 bytes)
//
// 10 xrefs:
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x10031ce73
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10031cecd
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x10031cfd5
// > GameManager::reloadAllStep2 @ 0x10038c4f7
// > LoadingLayer::loadAssets @ 0x1003a35a8
// > LoadingLayer::loadAssets @ 0x1003a35be
// > LoadingLayer::loadAssets @ 0x1003a35d4
// > AppDelegate::applicationDidFinishLaunching @ 0x10065c16a
// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x10079955b
// > cocos2d::CCParticleSystem::initWithFile @ 0x1007c6c7e
//
// 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
//
CCContentManager *__fastcall CCContentManager::sharedManager()
{
CCContentManager *result; // rax
_OWORD *v1; // rbx
cocos2d::CCDictionary *v2; // rax
result = (CCContentManager *)qword_10099F120;
if ( !qword_10099F120 )
{
v1 = operator new(0x40u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_1008C3FF0;
qword_10099F120 = (__int64)v1;
v2 = cocos2d::CCDictionary::create();
*((_QWORD *)v1 + 7) = v2;
cocos2d::CCObject::retain(v2);
return (CCContentManager *)qword_10099F120;
}
return result;
}