{"type": "func", "start": 6442475744, "end": 6442475862, "name": "CCContentManager::sharedManager", "pseudocode": "// \n// CCContentManager::sharedManager from 0x1800060e0 to 0x180006156 (118 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCLabelAtlas::initWithString @ 0x1800476f8\n// > cocos2d::CCParticleSystem::initWithFile @ 0x18006ab2d\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094733\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x18009490f\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094e28\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b78b8\n// \n// This function is hookable on this platform (idp: pc, 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:21:18 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct CCContentManager *__fastcall CCContentManager::sharedManager()\n{\n  struct CCContentManager *result; // rax\n  _OWORD *v1; // rax\n  _QWORD *v2; // rbx\n  cocos2d::CCObject *v3; // rax\n\n  result = (struct CCContentManager *)qword_1801B2310;\n  if ( !qword_1801B2310 )\n  {\n    v1 = (_OWORD *)sub_1800E4AC0(0x40u);\n    v2 = v1;\n    if ( v1 )\n    {\n      *v1 = 0;\n      v1[1] = 0;\n      v1[2] = 0;\n      v1[3] = 0;\n      cocos2d::CCObject::CCObject((cocos2d::CCObject *)v1);\n      *v2 = &CCContentManager::`vftable';\n    }\n    else\n    {\n      v2 = nullptr;\n    }\n    qword_1801B2310 = (__int64)v2;\n    v3 = cocos2d::CCDictionary::create();\n    v2[7] = v3;\n    cocos2d::CCObject::retain(v3);\n    return (struct CCContentManager *)qword_1801B2310;\n  }\n  return result;\n}", "assembly": "; \n; CCContentManager::sharedManager from 0x1800060e0 to 0x180006156 (118 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCLabelAtlas::initWithString @ 0x1800476f8\n; > cocos2d::CCParticleSystem::initWithFile @ 0x18006ab2d\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094733\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x18009490f\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094e28\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b78b8\n; \n; This function is hookable on this platform (idp: pc, 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:21:18 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800060e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800060e2\nmov     rax, cs:qword_1801B2310                                        ; +0x6, 0x1800060e6\ntest    rax, rax                                                       ; +0xd, 0x1800060ed\njnz     short loc_180006150                                            ; +0x10, 0x1800060f0\nmov     ecx, 40h ; '@'; Size                                           ; +0x12, 0x1800060f2\ncall    sub_1800E4AC0                                                  ; +0x17, 0x1800060f7\nmov     rbx, rax                                                       ; +0x1c, 0x1800060fc\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1800060ff\ntest    rax, rax                                                       ; +0x24, 0x180006104\njz      short loc_18000612F                                            ; +0x27, 0x180006107\nxorps   xmm0, xmm0                                                     ; +0x29, 0x180006109\nmovups  xmmword ptr [rax], xmm0                                        ; +0x2c, 0x18000610c\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x2f, 0x18000610f\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x33, 0x180006113\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x37, 0x180006117\nmov     rcx, rax; this                                                 ; +0x3b, 0x18000611b\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x3e, 0x18000611e\nlea     rax, ??_7CCContentManager@@6B@; const CCContentManager::`vftable' ; +0x43, 0x180006123\nmov     [rbx], rax                                                     ; +0x4a, 0x18000612a\njmp     short loc_180006131                                            ; +0x4d, 0x18000612d\nxor     ebx, ebx                                                       ; +0x4f, 0x18000612f\nmov     cs:qword_1801B2310, rbx                                        ; +0x51, 0x180006131\ncall    ?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x58, 0x180006138\nmov     [rbx+38h], rax                                                 ; +0x5d, 0x18000613d\nmov     rcx, rax; this                                                 ; +0x61, 0x180006141\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x64, 0x180006144\nmov     rax, cs:qword_1801B2310                                        ; +0x69, 0x180006149\nadd     rsp, 20h                                                       ; +0x70, 0x180006150\npop     rbx                                                            ; +0x74, 0x180006154\nretn                                                                   ; +0x75, 0x180006155", "xrefs": ["cocos2d::CCLabelAtlas::initWithString @ 0x1800476f8", "cocos2d::CCParticleSystem::initWithFile @ 0x18006ab2d", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094733", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x18009490f", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094e28", "<???> @ 0x18014cf68", "<???> @ 0x1801b78b8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}