{"type": "func", "start": 6443242448, "end": 6443242564, "name": "cocos2d::CCConfiguration::sharedConfiguration", "pseudocode": "// \n// cocos2d::CCConfiguration::sharedConfiguration from 0x1800c13d0 to 0x1800c1444 (116 bytes)\n// \n// 18 xrefs:\n// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x18004b513\n// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x18004b6c1\n// > cocos2d::CCRenderTexture::begin @ 0x180061713\n// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800620ad\n// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800621df\n// > cocos2d::CCTexture2D::initWithImage @ 0x1800a9517\n// > cocos2d::CCTexture2D::initWithString @ 0x1800a96dd\n// > cocos2d::CCTexture2D::initWithString @ 0x1800a9858\n// > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad815\n// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcc7\n// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcff\n// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800addb2\n// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1800adeda\n// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1800adfb7\n// > cocos2d::CCDirector::setDefaultValues @ 0x1800c2cb2\n// > cocos2d::CCDirector::setOpenGLView @ 0x1800c30b2\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c33c0\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:22:25 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCConfiguration *__fastcall cocos2d::CCConfiguration::sharedConfiguration()\n{\n  struct cocos2d::CCConfiguration *result; // rax\n  cocos2d::CCObject *v1; // rax\n  cocos2d::CCObject *v2; // rbx\n\n  result = cocos2d::CCConfiguration::s_gSharedConfiguration;\n  if ( !cocos2d::CCConfiguration::s_gSharedConfiguration )\n  {\n    v1 = (cocos2d::CCObject *)sub_1800E4AC0(0x60u);\n    v2 = v1;\n    if ( v1 )\n    {\n      cocos2d::CCObject::CCObject(v1);\n      *(_QWORD *)v2 = &cocos2d::CCConfiguration::`vftable';\n      *((_QWORD *)v2 + 7) = 0;\n      *((_DWORD *)v2 + 16) = 0;\n      *((_BYTE *)v2 + 68) = 0;\n      *((_QWORD *)v2 + 9) = 0;\n      *((_QWORD *)v2 + 10) = 0;\n      *((_QWORD *)v2 + 11) = 0;\n    }\n    else\n    {\n      v2 = nullptr;\n    }\n    cocos2d::CCConfiguration::s_gSharedConfiguration = v2;\n    cocos2d::CCConfiguration::init(v2);\n    return cocos2d::CCConfiguration::s_gSharedConfiguration;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCConfiguration::sharedConfiguration from 0x1800c13d0 to 0x1800c1444 (116 bytes)\n; \n; 18 xrefs:\n; > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x18004b513\n; > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x18004b6c1\n; > cocos2d::CCRenderTexture::begin @ 0x180061713\n; > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800620ad\n; > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800621df\n; > cocos2d::CCTexture2D::initWithImage @ 0x1800a9517\n; > cocos2d::CCTexture2D::initWithString @ 0x1800a96dd\n; > cocos2d::CCTexture2D::initWithString @ 0x1800a9858\n; > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad815\n; > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcc7\n; > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcff\n; > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800addb2\n; > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1800adeda\n; > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1800adfb7\n; > cocos2d::CCDirector::setDefaultValues @ 0x1800c2cb2\n; > cocos2d::CCDirector::setOpenGLView @ 0x1800c30b2\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c33c0\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:22:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c13d0\nsub     rsp, 20h                                                       ; +0x2, 0x1800c13d2\nmov     rax, cs:?s_gSharedConfiguration@CCConfiguration@cocos2d@@0PEAV12@EA; cocos2d::CCConfiguration * cocos2d::CCConfiguration::s_gSharedConfiguration ; +0x6, 0x1800c13d6\ntest    rax, rax                                                       ; +0xd, 0x1800c13dd\njnz     short loc_1800C143E                                            ; +0x10, 0x1800c13e0\nmov     ecx, 60h ; '`'; Size                                           ; +0x12, 0x1800c13e2\ncall    sub_1800E4AC0                                                  ; +0x17, 0x1800c13e7\nmov     rbx, rax                                                       ; +0x1c, 0x1800c13ec\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1800c13ef\ntest    rax, rax                                                       ; +0x24, 0x1800c13f4\njz      short loc_1800C1425                                            ; +0x27, 0x1800c13f7\nmov     rcx, rax; this                                                 ; +0x29, 0x1800c13f9\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2c, 0x1800c13fc\nlea     rax, ??_7CCConfiguration@cocos2d@@6B@; const cocos2d::CCConfiguration::`vftable' ; +0x31, 0x1800c1401\nmov     [rbx], rax                                                     ; +0x38, 0x1800c1408\nxor     eax, eax                                                       ; +0x3b, 0x1800c140b\nmov     [rbx+38h], rax                                                 ; +0x3d, 0x1800c140d\nmov     [rbx+40h], eax                                                 ; +0x41, 0x1800c1411\nmov     [rbx+44h], al                                                  ; +0x44, 0x1800c1414\nmov     [rbx+48h], rax                                                 ; +0x47, 0x1800c1417\nmov     [rbx+50h], rax                                                 ; +0x4b, 0x1800c141b\nmov     [rbx+58h], rax                                                 ; +0x4f, 0x1800c141f\njmp     short loc_1800C1428                                            ; +0x53, 0x1800c1423\nmov     rbx, rax                                                       ; +0x55, 0x1800c1425\nmov     cs:?s_gSharedConfiguration@CCConfiguration@cocos2d@@0PEAV12@EA, rbx; cocos2d::CCConfiguration * cocos2d::CCConfiguration::s_gSharedConfiguration ; +0x58, 0x1800c1428\nmov     rcx, rbx; this                                                 ; +0x5f, 0x1800c142f\ncall    ?init@CCConfiguration@cocos2d@@QEAA_NXZ; cocos2d::CCConfiguration::init(void) ; +0x62, 0x1800c1432\nmov     rax, cs:?s_gSharedConfiguration@CCConfiguration@cocos2d@@0PEAV12@EA; cocos2d::CCConfiguration * cocos2d::CCConfiguration::s_gSharedConfiguration ; +0x67, 0x1800c1437\nadd     rsp, 20h                                                       ; +0x6e, 0x1800c143e\npop     rbx                                                            ; +0x72, 0x1800c1442\nretn                                                                   ; +0x73, 0x1800c1443", "xrefs": ["cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x18004b513", "cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x18004b6c1", "cocos2d::CCRenderTexture::begin @ 0x180061713", "cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800620ad", "cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800621df", "cocos2d::CCTexture2D::initWithImage @ 0x1800a9517", "cocos2d::CCTexture2D::initWithString @ 0x1800a96dd", "cocos2d::CCTexture2D::initWithString @ 0x1800a9858", "cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad815", "cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcc7", "cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcff", "cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800addb2", "cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1800adeda", "cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1800adfb7", "cocos2d::CCDirector::setDefaultValues @ 0x1800c2cb2", "cocos2d::CCDirector::setOpenGLView @ 0x1800c30b2", "<???> @ 0x18014cf68", "<???> @ 0x1801c33c0"], "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"}