{"type": "func", "start": 4296422896, "end": 4296423005, "name": "CCContentManager::sharedManager", "pseudocode": "// \n// CCContentManager::sharedManager from 0x1001635f0 to 0x10016365d (109 bytes)\n// \n// 10 xrefs:\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100308123\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10030817d\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x100308285\n// > GameManager::reloadAllStep2 @ 0x100376f67\n// > LoadingLayer::loadAssets @ 0x10038cbc8\n// > LoadingLayer::loadAssets @ 0x10038cbde\n// > LoadingLayer::loadAssets @ 0x10038cbf4\n// > AppDelegate::applicationDidFinishLaunching @ 0x10073b80a\n// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x100879d1b\n// > cocos2d::CCParticleSystem::initWithFile @ 0x1008ae51e\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 12:25:08 +0000\n// \n\n__int64 __fastcall CCContentManager::sharedManager(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  _OWORD *v3; // rbx\n  __int64 v4; // rax\n\n  result = qword_100BE1398;\n  if ( !qword_100BE1398 )\n  {\n    v3 = operator new(0x40u);\n    *v3 = 0;\n    v3[1] = 0;\n    v3[2] = 0;\n    v3[3] = 0;\n    cocos2d::CCObject::CCObject(v3);\n    *(_QWORD *)v3 = off_100AC7630;\n    qword_100BE1398 = (__int64)v3;\n    v4 = cocos2d::CCDictionary::create(v3, a2);\n    *((_QWORD *)v3 + 7) = v4;\n    cocos2d::CCObject::retain(v4);\n    return qword_100BE1398;\n  }\n  return result;\n}", "assembly": "; \n; CCContentManager::sharedManager from 0x1001635f0 to 0x10016365d (109 bytes)\n; \n; 10 xrefs:\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100308123\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10030817d\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x100308285\n; > GameManager::reloadAllStep2 @ 0x100376f67\n; > LoadingLayer::loadAssets @ 0x10038cbc8\n; > LoadingLayer::loadAssets @ 0x10038cbde\n; > LoadingLayer::loadAssets @ 0x10038cbf4\n; > AppDelegate::applicationDidFinishLaunching @ 0x10073b80a\n; > cocos2d::CCLabelAtlas::initWithString_2 @ 0x100879d1b\n; > cocos2d::CCParticleSystem::initWithFile @ 0x1008ae51e\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 12:25:08 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001635f0\nmov     rbp, rsp                                                       ; +0x1, 0x1001635f1\npush    r14                                                            ; +0x4, 0x1001635f4\npush    rbx                                                            ; +0x6, 0x1001635f6\nmov     rax, cs:qword_100BE1398                                        ; +0x7, 0x1001635f7\ntest    rax, rax                                                       ; +0xe, 0x1001635fe\njz      short loc_100163608                                            ; +0x11, 0x100163601\npop     rbx                                                            ; +0x13, 0x100163603\npop     r14                                                            ; +0x14, 0x100163604\npop     rbp                                                            ; +0x16, 0x100163606\nretn                                                                   ; +0x17, 0x100163607\nmov     edi, 40h ; '@'; __sz                                           ; +0x18, 0x100163608\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x10016360d\nmov     rbx, rax                                                       ; +0x22, 0x100163612\nxorps   xmm0, xmm0                                                     ; +0x25, 0x100163615\nmovaps  xmmword ptr [rax], xmm0                                        ; +0x28, 0x100163618\nmovaps  xmmword ptr [rax+10h], xmm0                                    ; +0x2b, 0x10016361b\nmovaps  xmmword ptr [rax+20h], xmm0                                    ; +0x2f, 0x10016361f\nmovaps  xmmword ptr [rax+30h], xmm0                                    ; +0x33, 0x100163623\nmov     rdi, rax                                                       ; +0x37, 0x100163627\ncall    cocos2d__CCObject__CCObject                                    ; +0x3a, 0x10016362a\nlea     rax, off_100AC7630                                             ; +0x3f, 0x10016362f\nmov     [rbx], rax                                                     ; +0x46, 0x100163636\nmov     cs:qword_100BE1398, rbx                                        ; +0x49, 0x100163639\ncall    cocos2d__CCDictionary__create                                  ; +0x50, 0x100163640\nmov     [rbx+38h], rax                                                 ; +0x55, 0x100163645\nmov     rdi, rax                                                       ; +0x59, 0x100163649\ncall    cocos2d__CCObject__retain                                      ; +0x5c, 0x10016364c\nmov     rax, cs:qword_100BE1398                                        ; +0x61, 0x100163651\npop     rbx                                                            ; +0x68, 0x100163658\npop     r14                                                            ; +0x69, 0x100163659\npop     rbp                                                            ; +0x6b, 0x10016365b\nretn                                                                   ; +0x6c, 0x10016365c", "xrefs": ["cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x100308123", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10030817d", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x100308285", "GameManager::reloadAllStep2 @ 0x100376f67", "LoadingLayer::loadAssets @ 0x10038cbc8", "LoadingLayer::loadAssets @ 0x10038cbde", "LoadingLayer::loadAssets @ 0x10038cbf4", "AppDelegate::applicationDidFinishLaunching @ 0x10073b80a", "cocos2d::CCLabelAtlas::initWithString_2 @ 0x100879d1b", "cocos2d::CCParticleSystem::initWithFile @ 0x1008ae51e"], "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"}