//
// cocos2d::CCConfiguration::sharedConfiguration from 0x1800c13d0 to 0x1800c1444 (116 bytes)
//
// 18 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
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:25 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCConfiguration *__fastcall cocos2d::CCConfiguration::sharedConfiguration()
{
struct cocos2d::CCConfiguration *result; // rax
cocos2d::CCObject *v1; // rax
cocos2d::CCObject *v2; // rbx
result = cocos2d::CCConfiguration::s_gSharedConfiguration;
if ( !cocos2d::CCConfiguration::s_gSharedConfiguration )
{
v1 = (cocos2d::CCObject *)sub_1800E4AC0(0x60u);
v2 = v1;
if ( v1 )
{
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v2 = &cocos2d::CCConfiguration::`vftable';
*((_QWORD *)v2 + 7) = 0;
*((_DWORD *)v2 + 16) = 0;
*((_BYTE *)v2 + 68) = 0;
*((_QWORD *)v2 + 9) = 0;
*((_QWORD *)v2 + 10) = 0;
*((_QWORD *)v2 + 11) = 0;
}
else
{
v2 = nullptr;
}
cocos2d::CCConfiguration::s_gSharedConfiguration = v2;
cocos2d::CCConfiguration::init(v2);
return cocos2d::CCConfiguration::s_gSharedConfiguration;
}
return result;
}