{"type": "func", "start": 4299764984, "end": 4299765080, "name": "CCContentManager::sharedManager", "pseudocode": "// \n// CCContentManager::sharedManager from 0x1004934f8 to 0x100493558 (96 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCParticleSystem::initWithFile @ 0x100226698\n// > LoadingLayer::loadAssets @ 0x10026f324\n// > LoadingLayer::loadAssets @ 0x10026f338\n// > LoadingLayer::loadAssets @ 0x10026f34c\n// > AppDelegate::applicationDidFinishLaunching @ 0x100306fe4\n// > GameManager::reloadAllStep2 @ 0x1003bb690\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100463634\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:05:54 +0000\n// \n\n__int64 CCContentManager::sharedManager()\n{\n  __int64 result; // x0\n  _OWORD *v1; // x19\n  __int64 v2; // x0\n  __int64 v3; // x0\n\n  result = qword_1009F79F0;\n  if ( !qword_1009F79F0 )\n  {\n    v1 = operator new(0x40u);\n    *v1 = 0u;\n    v1[1] = 0u;\n    v1[2] = 0u;\n    v1[3] = 0u;\n    v2 = cocos2d::CCObject::CCObject((__int64)v1);\n    *(_QWORD *)v1 = off_10097A5F0;\n    qword_1009F79F0 = (__int64)v1;\n    v3 = cocos2d::CCDictionary::create(v2);\n    *((_QWORD *)v1 + 7) = v3;\n    cocos2d::CCObject::retain(v3);\n    return qword_1009F79F0;\n  }\n  return result;\n}", "assembly": "; \n; CCContentManager::sharedManager from 0x1004934f8 to 0x100493558 (96 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCParticleSystem::initWithFile @ 0x100226698\n; > LoadingLayer::loadAssets @ 0x10026f324\n; > LoadingLayer::loadAssets @ 0x10026f338\n; > LoadingLayer::loadAssets @ 0x10026f34c\n; > AppDelegate::applicationDidFinishLaunching @ 0x100306fe4\n; > GameManager::reloadAllStep2 @ 0x1003bb690\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100463634\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:05:54 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004934f8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004934fc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100493500\nADRP            X20, #qword_1009F79F0@PAGE                             ; +0xc, 0x100493504\nLDR             X0, [X20,#qword_1009F79F0@PAGEOFF]                     ; +0x10, 0x100493508\nCBNZ            X0, loc_10049354C                                      ; +0x14, 0x10049350c\nMOV             W0, #0x40 ; '@'; __sz                                  ; +0x18, 0x100493510\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x100493514\nMOV             X19, X0                                                ; +0x20, 0x100493518\nMOVI            V0.16B, #0                                             ; +0x24, 0x10049351c\nSTP             Q0, Q0, [X0]                                           ; +0x28, 0x100493520\nSTP             Q0, Q0, [X0,#0x20]                                     ; +0x2c, 0x100493524\nBL              cocos2d__CCObject__CCObject                            ; +0x30, 0x100493528\nADRL            X8, off_10097A5F0                                      ; +0x34, 0x10049352c\nSTR             X8, [X19]                                              ; +0x3c, 0x100493534\nSTR             X19, [X20,#qword_1009F79F0@PAGEOFF]                    ; +0x40, 0x100493538\nBL              cocos2d__CCDictionary__create                          ; +0x44, 0x10049353c\nSTR             X0, [X19,#0x38]                                        ; +0x48, 0x100493540\nBL              cocos2d__CCObject__retain                              ; +0x4c, 0x100493544\nLDR             X0, [X20,#qword_1009F79F0@PAGEOFF]                     ; +0x50, 0x100493548\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x10049354c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100493550\nRET                                                                    ; +0x5c, 0x100493554", "xrefs": ["cocos2d::CCParticleSystem::initWithFile @ 0x100226698", "LoadingLayer::loadAssets @ 0x10026f324", "LoadingLayer::loadAssets @ 0x10026f338", "LoadingLayer::loadAssets @ 0x10026f34c", "AppDelegate::applicationDidFinishLaunching @ 0x100306fe4", "GameManager::reloadAllStep2 @ 0x1003bb690", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100463634"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}