//
// cocos2d::CCConfiguration::sharedConfiguration from 0x10051ad80 to 0x10051adf1 (113 bytes)
//
// 16 xrefs:
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1002717e5
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100271802
// > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100271983
// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x100271a5c
// > cocos2d::CCTexturePVR::unpackPVRv3Data @ 0x100271cb1
// > cocos2d::CCTexturePVR::createGLTexture @ 0x100271dfd
// > cocos2d::CCTexturePVR::createGLTexture @ 0x100271e90
// > cocos2d::CCTexture2D::initWithImage @ 0x10046cf9f
// > cocos2d::CCTexture2D::initWithString @ 0x10046d9c9
// > cocos2d::CCDirector::setDefaultValues @ 0x1004771cd
// > cocos2d::CCDirector::setOpenGLView @ 0x10047800d
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x1006a7e87
// > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0x1006a8027
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1006c81b3
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1006c8297
// > cocos2d::CCRenderTexture::begin @ 0x1006c8732
//
// 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 12:31:41 +0000
//
__int64 cocos2d::CCConfiguration::sharedConfiguration()
{
__int64 result; // rax
char *v1; // rbx
result = qword_100BE8BF8;
if ( !qword_100BE8BF8 )
{
v1 = (char *)operator new(0x60u);
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_100B6D310;
*((_QWORD *)v1 + 7) = 0;
*(_QWORD *)(v1 + 61) = 0;
*(_OWORD *)(v1 + 72) = 0;
*((_QWORD *)v1 + 11) = 0;
qword_100BE8BF8 = (__int64)v1;
cocos2d::CCConfiguration::init((__int64)v1);
return qword_100BE8BF8;
}
return result;
}