{"type": "func", "start": 4296557056, "end": 4296557165, "name": "CCContentManager::sharedManager", "pseudocode": "// \n// CCContentManager::sharedManager from 0x100184200 to 0x10018426d (109 bytes)\n// \n// 10 xrefs:\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x10031ce73\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10031cecd\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x10031cfd5\n// > GameManager::reloadAllStep2 @ 0x10038c4f7\n// > LoadingLayer::loadAssets @ 0x1003a35a8\n// > LoadingLayer::loadAssets @ 0x1003a35be\n// > LoadingLayer::loadAssets @ 0x1003a35d4\n// > AppDelegate::applicationDidFinishLaunching @ 0x10065c16a\n// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x10079955b\n// > cocos2d::CCParticleSystem::initWithFile @ 0x1007c6c7e\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; // rax\n  _OWORD *v1; // rbx\n  cocos2d::CCDictionary *v2; // rax\n\n  result = (CCContentManager *)qword_10099F120;\n  if ( !qword_10099F120 )\n  {\n    v1 = operator new(0x40u);\n    *v1 = 0;\n    v1[1] = 0;\n    v1[2] = 0;\n    v1[3] = 0;\n    cocos2d::CCObject::CCObject(v1);\n    *(_QWORD *)v1 = off_1008C3FF0;\n    qword_10099F120 = (__int64)v1;\n    v2 = cocos2d::CCDictionary::create();\n    *((_QWORD *)v1 + 7) = v2;\n    cocos2d::CCObject::retain(v2);\n    return (CCContentManager *)qword_10099F120;\n  }\n  return result;\n}", "assembly": "; \n; CCContentManager::sharedManager from 0x100184200 to 0x10018426d (109 bytes)\n; \n; 10 xrefs:\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x10031ce73\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10031cecd\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x10031cfd5\n; > GameManager::reloadAllStep2 @ 0x10038c4f7\n; > LoadingLayer::loadAssets @ 0x1003a35a8\n; > LoadingLayer::loadAssets @ 0x1003a35be\n; > LoadingLayer::loadAssets @ 0x1003a35d4\n; > AppDelegate::applicationDidFinishLaunching @ 0x10065c16a\n; > cocos2d::CCLabelAtlas::initWithString_2 @ 0x10079955b\n; > cocos2d::CCParticleSystem::initWithFile @ 0x1007c6c7e\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    rbp                                                            ; +0x0, 0x100184200\nmov     rbp, rsp                                                       ; +0x1, 0x100184201\npush    r14                                                            ; +0x4, 0x100184204\npush    rbx                                                            ; +0x6, 0x100184206\nmov     rax, cs:qword_10099F120                                        ; +0x7, 0x100184207\ntest    rax, rax                                                       ; +0xe, 0x10018420e\njz      short loc_100184218                                            ; +0x11, 0x100184211\npop     rbx                                                            ; +0x13, 0x100184213\npop     r14                                                            ; +0x14, 0x100184214\npop     rbp                                                            ; +0x16, 0x100184216\nretn                                                                   ; +0x17, 0x100184217\nmov     edi, 40h ; '@'; __sz                                           ; +0x18, 0x100184218\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x10018421d\nmov     rbx, rax                                                       ; +0x22, 0x100184222\nxorps   xmm0, xmm0                                                     ; +0x25, 0x100184225\nmovaps  xmmword ptr [rax], xmm0                                        ; +0x28, 0x100184228\nmovaps  xmmword ptr [rax+10h], xmm0                                    ; +0x2b, 0x10018422b\nmovaps  xmmword ptr [rax+20h], xmm0                                    ; +0x2f, 0x10018422f\nmovaps  xmmword ptr [rax+30h], xmm0                                    ; +0x33, 0x100184233\nmov     rdi, rax                                                       ; +0x37, 0x100184237\ncall    cocos2d__CCObject__CCObject                                    ; +0x3a, 0x10018423a\nlea     rax, off_1008C3FF0                                             ; +0x3f, 0x10018423f\nmov     [rbx], rax                                                     ; +0x46, 0x100184246\nmov     cs:qword_10099F120, rbx                                        ; +0x49, 0x100184249\ncall    cocos2d__CCDictionary__create                                  ; +0x50, 0x100184250\nmov     [rbx+38h], rax                                                 ; +0x55, 0x100184255\nmov     rdi, rax                                                       ; +0x59, 0x100184259\ncall    cocos2d__CCObject__retain                                      ; +0x5c, 0x10018425c\nmov     rax, cs:qword_10099F120                                        ; +0x61, 0x100184261\npop     rbx                                                            ; +0x68, 0x100184268\npop     r14                                                            ; +0x69, 0x100184269\npop     rbp                                                            ; +0x6b, 0x10018426b\nretn                                                                   ; +0x6c, 0x10018426c", "xrefs": ["cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x10031ce73", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10031cecd", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x10031cfd5", "GameManager::reloadAllStep2 @ 0x10038c4f7", "LoadingLayer::loadAssets @ 0x1003a35a8", "LoadingLayer::loadAssets @ 0x1003a35be", "LoadingLayer::loadAssets @ 0x1003a35d4", "AppDelegate::applicationDidFinishLaunching @ 0x10065c16a", "cocos2d::CCLabelAtlas::initWithString_2 @ 0x10079955b", "cocos2d::CCParticleSystem::initWithFile @ 0x1007c6c7e"], "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"}