{"type": "func", "start": 6275936, "end": 6275994, "name": "CCContentManager::sharedManager", "pseudocode": "// \n// CCContentManager::sharedManager from 0x5fc360 to 0x5fc39a (58 bytes)\n// \n// 9 xrefs:\n// > AppDelegate::applicationDidFinishLaunching @ 0x3079a8\n// > LoadingLayer::loadAssets @ 0x30b9c2\n// > LoadingLayer::loadAssets @ 0x30b9d0\n// > LoadingLayer::loadAssets @ 0x30b9de\n// > GameManager::reloadAllStep2 @ 0x3237ec\n// > cocos2d::CCLabelAtlas::initWithString @ 0x5cb324\n// > cocos2d::CCParticleSystem::initWithFile @ 0x5dce2a\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e957c\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e9a34\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nCCContentManager *CCContentManager::sharedManager()\n{\n  CCContentManager *v0; // r4\n\n  if ( !dword_ACAC94 )\n  {\n    v0 = (CCContentManager *)operator new(0x38u);\n    memset(v0, 0, 0x38u);\n    cocos2d::CCObject::CCObject(v0);\n    dword_ACAC94 = (int)v0;\n    v0->__vftable = (CCContentManager_vtbl *)&off_AAF288;\n    CCContentManager::init(v0);\n  }\n  return (CCContentManager *)dword_ACAC94;\n}", "assembly": "; \n; CCContentManager::sharedManager from 0x5fc360 to 0x5fc39a (58 bytes)\n; \n; 9 xrefs:\n; > AppDelegate::applicationDidFinishLaunching @ 0x3079a8\n; > LoadingLayer::loadAssets @ 0x30b9c2\n; > LoadingLayer::loadAssets @ 0x30b9d0\n; > LoadingLayer::loadAssets @ 0x30b9de\n; > GameManager::reloadAllStep2 @ 0x3237ec\n; > cocos2d::CCLabelAtlas::initWithString @ 0x5cb324\n; > cocos2d::CCParticleSystem::initWithFile @ 0x5dce2a\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e957c\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e9a34\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x5fc360\nLDR             R5, =(dword_ACAC94 - 0x5FC368)                         ; +0x2, 0x5fc362\nADD             R5, PC; dword_ACAC94                                   ; +0x4, 0x5fc364\nLDR             R6, [R5]                                               ; +0x6, 0x5fc366\nCBNZ            R6, loc_5FC392                                         ; +0x8, 0x5fc368\nMOVS            R0, #0x38 ; '8'; unsigned int                          ; +0xa, 0x5fc36a\nBL              _Znwj; operator new(uint)                              ; +0xc, 0x5fc36c\nMOV             R1, R6; int                                            ; +0x10, 0x5fc370\nMOVS            R2, #0x38 ; '8'; size_t                                ; +0x12, 0x5fc372\nMOV             R4, R0                                                 ; +0x14, 0x5fc374\nBLX             memset                                                 ; +0x16, 0x5fc376\nMOV             R0, R4; this                                           ; +0x1a, 0x5fc37a\nBL              _ZN7cocos2d8CCObjectC2Ev; cocos2d::CCObject::CCObject(void) ; +0x1c, 0x5fc37c\nLDR             R3, =(_ZTV16CCContentManager_ptr - 0x5FC38A)           ; +0x20, 0x5fc380\nMOV             R0, R4; this                                           ; +0x22, 0x5fc382\nSTR             R4, [R5]                                               ; +0x24, 0x5fc384\nADD             R3, PC; _ZTV16CCContentManager_ptr                     ; +0x26, 0x5fc386\nLDR             R3, [R3]; `vtable for'CCContentManager ...             ; +0x28, 0x5fc388\nADDS            R3, #8                                                 ; +0x2a, 0x5fc38a\nSTR             R3, [R4]                                               ; +0x2c, 0x5fc38c\nBL              _ZN16CCContentManager4initEv; CCContentManager::init(void) ; +0x2e, 0x5fc38e\nLDR             R3, =(dword_ACAC94 - 0x5FC398)                         ; +0x32, 0x5fc392\nADD             R3, PC; dword_ACAC94                                   ; +0x34, 0x5fc394\nLDR             R0, [R3]                                               ; +0x36, 0x5fc396\nPOP             {R4-R6,PC}                                             ; +0x38, 0x5fc398", "xrefs": ["AppDelegate::applicationDidFinishLaunching @ 0x3079a8", "LoadingLayer::loadAssets @ 0x30b9c2", "LoadingLayer::loadAssets @ 0x30b9d0", "LoadingLayer::loadAssets @ 0x30b9de", "GameManager::reloadAllStep2 @ 0x3237ec", "cocos2d::CCLabelAtlas::initWithString @ 0x5cb324", "cocos2d::CCParticleSystem::initWithFile @ 0x5dce2a", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e957c", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e9a34"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}