// // CCContentManager::sharedManager from 0x1800060e0 to 0x180006156 (118 bytes) // // 7 xrefs: // > cocos2d::CCLabelAtlas::initWithString @ 0x1800476f8 // > cocos2d::CCParticleSystem::initWithFile @ 0x18006ab2d // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094733 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x18009490f // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094e28 // > @ 0x18014cf68 // > @ 0x1801b78b8 // // 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:21:18 +0000 // // Hidden C++ exception states: #wind=1 struct CCContentManager *__fastcall CCContentManager::sharedManager() { struct CCContentManager *result; // rax _OWORD *v1; // rax _QWORD *v2; // rbx cocos2d::CCObject *v3; // rax result = (struct CCContentManager *)qword_1801B2310; if ( !qword_1801B2310 ) { v1 = (_OWORD *)sub_1800E4AC0(0x40u); v2 = v1; if ( v1 ) { *v1 = 0; v1[1] = 0; v1[2] = 0; v1[3] = 0; cocos2d::CCObject::CCObject((cocos2d::CCObject *)v1); *v2 = &CCContentManager::`vftable'; } else { v2 = nullptr; } qword_1801B2310 = (__int64)v2; v3 = cocos2d::CCDictionary::create(); v2[7] = v3; cocos2d::CCObject::retain(v3); return (struct CCContentManager *)qword_1801B2310; } return result; }