//
// cocos2d::CCConfiguration::sharedConfiguration from 0x100519cb0 to 0x100519d21 (113 bytes)
//
// 16 xrefs:
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100284c35
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100284c52
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100284dd3
// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x100284eac
// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x100285101
// > cocos2d::CCTexturePVR::createGLTexture @ 0x10028524d
// > cocos2d::CCTexturePVR::createGLTexture @ 0x1002852e0
// > cocos2d::CCTexture2D::initWithImage @ 0x10047863f
// > cocos2d::CCTexture2D::initWithString @ 0x100479069
// > cocos2d::CCDirector::setDefaultValues @ 0x10048285d
// > cocos2d::CCDirector::setOpenGLView @ 0x10048367d
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x1005d6537
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x1005d66d7
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1005f5463
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1005f5547
// > cocos2d::CCRenderTexture::begin @ 0x1005f59e2
//
// 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; // rax
char *v1; // rbx
result = (cocos2d::CCConfiguration *)qword_1009A4FC0;
if ( !qword_1009A4FC0 )
{
v1 = (char *)operator new(0x60u);
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_100960788;
*((_QWORD *)v1 + 7) = 0;
*(_QWORD *)(v1 + 61) = 0;
*(_OWORD *)(v1 + 72) = 0;
*((_QWORD *)v1 + 11) = 0;
qword_1009A4FC0 = (__int64)v1;
cocos2d::CCConfiguration::init((cocos2d::CCConfiguration *)v1);
return (cocos2d::CCConfiguration *)qword_1009A4FC0;
}
return result;
}