{"type": "func", "start": 4299237036, "end": 4299237132, "name": "CCContentManager::sharedManager", "pseudocode": "// \n// CCContentManager::sharedManager from 0x1004126ac to 0x10041270c (96 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCParticleSystem::initWithFile @ 0x1001933c8\n// > LoadingLayer::loadAssets @ 0x1001d6dc0\n// > LoadingLayer::loadAssets @ 0x1001d6dd4\n// > LoadingLayer::loadAssets @ 0x1001d6de8\n// > AppDelegate::applicationDidFinishLaunching @ 0x100269328\n// > GameManager::reloadAllStep2 @ 0x10031d9e0\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1003bc904\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 *__fastcall CCContentManager::sharedManager()\n{\n  CCContentManager *result; // x0\n  _OWORD *v1; // x19\n  cocos2d::CCDictionary *v2; // x0\n\n  result = (CCContentManager *)qword_10086EAA0;\n  if ( !qword_10086EAA0 )\n  {\n    v1 = operator new(0x40u);\n    *v1 = 0u;\n    v1[1] = 0u;\n    v1[2] = 0u;\n    v1[3] = 0u;\n    cocos2d::CCObject::CCObject((__int64)v1);\n    *(_QWORD *)v1 = off_100821BC8;\n    qword_10086EAA0 = (__int64)v1;\n    v2 = cocos2d::CCDictionary::create();\n    *((_QWORD *)v1 + 7) = v2;\n    cocos2d::CCObject::retain(v2);\n    return (CCContentManager *)qword_10086EAA0;\n  }\n  return result;\n}", "assembly": "; \n; CCContentManager::sharedManager from 0x1004126ac to 0x10041270c (96 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCParticleSystem::initWithFile @ 0x1001933c8\n; > LoadingLayer::loadAssets @ 0x1001d6dc0\n; > LoadingLayer::loadAssets @ 0x1001d6dd4\n; > LoadingLayer::loadAssets @ 0x1001d6de8\n; > AppDelegate::applicationDidFinishLaunching @ 0x100269328\n; > GameManager::reloadAllStep2 @ 0x10031d9e0\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1003bc904\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004126ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004126b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004126b4\nADRP            X20, #qword_10086EAA0@PAGE                             ; +0xc, 0x1004126b8\nLDR             X0, [X20,#qword_10086EAA0@PAGEOFF]                     ; +0x10, 0x1004126bc\nCBNZ            X0, loc_100412700                                      ; +0x14, 0x1004126c0\nMOV             W0, #0x40 ; '@'; __sz                                  ; +0x18, 0x1004126c4\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x1004126c8\nMOV             X19, X0                                                ; +0x20, 0x1004126cc\nMOVI            V0.16B, #0                                             ; +0x24, 0x1004126d0\nSTP             Q0, Q0, [X0]                                           ; +0x28, 0x1004126d4\nSTP             Q0, Q0, [X0,#0x20]                                     ; +0x2c, 0x1004126d8\nBL              cocos2d__CCObject__CCObject                            ; +0x30, 0x1004126dc\nADRL            X8, off_100821BC8                                      ; +0x34, 0x1004126e0\nSTR             X8, [X19]                                              ; +0x3c, 0x1004126e8\nSTR             X19, [X20,#qword_10086EAA0@PAGEOFF]                    ; +0x40, 0x1004126ec\nBL              cocos2d__CCDictionary__create                          ; +0x44, 0x1004126f0\nSTR             X0, [X19,#0x38]                                        ; +0x48, 0x1004126f4\nBL              cocos2d__CCObject__retain                              ; +0x4c, 0x1004126f8\nLDR             X0, [X20,#qword_10086EAA0@PAGEOFF]                     ; +0x50, 0x1004126fc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100412700\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100412704\nRET                                                                    ; +0x5c, 0x100412708", "xrefs": ["cocos2d::CCParticleSystem::initWithFile @ 0x1001933c8", "LoadingLayer::loadAssets @ 0x1001d6dc0", "LoadingLayer::loadAssets @ 0x1001d6dd4", "LoadingLayer::loadAssets @ 0x1001d6de8", "AppDelegate::applicationDidFinishLaunching @ 0x100269328", "GameManager::reloadAllStep2 @ 0x10031d9e0", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1003bc904"], "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"}