//
// cocos2d::CCConfiguration::sharedConfiguration from 0x100324f78 to 0x100324fd8 (96 bytes)
//
// 14 xrefs:
// > cocos2d::CCTexture2D::initWithImage @ 0x10012d820
// > cocos2d::CCDirector::setDefaultValues @ 0x1001751b8
// > cocos2d::CCDirector::setOpenGLView @ 0x1001759d8
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x1002f9f6c
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x1002fa044
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x10037037c
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x10037038c
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100370494
// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x1003705a8
// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x100370684
// > cocos2d::CCTexturePVR::createGLTexture @ 0x100370800
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1003c03ac
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1003c0464
// > cocos2d::CCRenderTexture::begin @ 0x1003c0870
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCConfiguration *__fastcall cocos2d::CCConfiguration::sharedConfiguration()
{
cocos2d::CCConfiguration *result; // x0
char *v1; // x19
result = (cocos2d::CCConfiguration *)qword_100886D90;
if ( !qword_100886D90 )
{
v1 = (char *)operator new(0x60u);
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_1007EFFD0;
*((_QWORD *)v1 + 7) = 0;
*(_QWORD *)(v1 + 61) = 0;
*((_QWORD *)v1 + 10) = 0;
*((_QWORD *)v1 + 11) = 0;
*((_QWORD *)v1 + 9) = 0;
qword_100886D90 = (__int64)v1;
cocos2d::CCConfiguration::init((cocos2d::CCConfiguration *)v1);
return (cocos2d::CCConfiguration *)qword_100886D90;
}
return result;
}