//
// CCContentManager::sharedManager from 0x1001635f0 to 0x10016365d (109 bytes)
//
// 10 xrefs:
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100308123
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10030817d
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x100308285
// > GameManager::reloadAllStep2 @ 0x100376f67
// > LoadingLayer::loadAssets @ 0x10038cbc8
// > LoadingLayer::loadAssets @ 0x10038cbde
// > LoadingLayer::loadAssets @ 0x10038cbf4
// > AppDelegate::applicationDidFinishLaunching @ 0x10073b80a
// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x100879d1b
// > cocos2d::CCParticleSystem::initWithFile @ 0x1008ae51e
//
// 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 12:25:08 +0000
//
__int64 __fastcall CCContentManager::sharedManager(__int64 a1, __int64 a2)
{
__int64 result; // rax
_OWORD *v3; // rbx
__int64 v4; // rax
result = qword_100BE1398;
if ( !qword_100BE1398 )
{
v3 = operator new(0x40u);
*v3 = 0;
v3[1] = 0;
v3[2] = 0;
v3[3] = 0;
cocos2d::CCObject::CCObject(v3);
*(_QWORD *)v3 = off_100AC7630;
qword_100BE1398 = (__int64)v3;
v4 = cocos2d::CCDictionary::create(v3, a2);
*((_QWORD *)v3 + 7) = v4;
cocos2d::CCObject::retain(v4);
return qword_100BE1398;
}
return result;
}