//
// CCContentManager::sharedManager from 0xdb47f0 to 0xdb4888 (152 bytes)
//
// 10 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x6e6a08
// > LoadingLayer::loadAssets @ 0x6ee00c
// > LoadingLayer::loadAssets @ 0x6ee020
// > LoadingLayer::loadAssets @ 0x6ee034
// > GameManager::reloadAllStep2 @ 0x71bbc0
// > cocos2d::CCLabelAtlas::initWithString @ 0xd5489c
// > cocos2d::CCParticleSystem::initWithFile @ 0xd72108
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0xd8b94c
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0xd8c554
// > ??> @ 0xe7aa8
//
// This function is hookable on this platform (idp: arm, 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 13:08:41 +0000
//
__int64 __fastcall CCContentManager::sharedManager(CCContentManager *this)
{
__int64 result; // x0
__int64 v2; // x0
CCContentManager *v3; // x20
result = qword_15625B8;
if ( !qword_15625B8 )
{
v2 = operator new(0x40u);
*(_QWORD *)v2 = 0;
*(_DWORD *)(v2 + 8) = 0;
v3 = (CCContentManager *)v2;
*(_DWORD *)(v2 + 12) = 0;
*(_DWORD *)(v2 + 16) = 0;
*(_DWORD *)(v2 + 20) = 0;
*(_DWORD *)(v2 + 24) = 0;
*(_DWORD *)(v2 + 28) = 0;
*(_DWORD *)(v2 + 32) = 0;
*(_DWORD *)(v2 + 36) = 0;
*(_DWORD *)(v2 + 40) = 0;
*(_DWORD *)(v2 + 44) = 0;
*(_DWORD *)(v2 + 48) = 0;
*(_DWORD *)(v2 + 52) = 0;
*(_QWORD *)(v2 + 56) = 0;
cocos2d::CCObject::CCObject(v2);
qword_15625B8 = (__int64)v3;
*(_QWORD *)v3 = &off_1531E40;
CCContentManager::init(v3);
return qword_15625B8;
}
return result;
}