//
// cocos2d::CCString::createWithContentsOfFile from 0x5c1ccc to 0x5c1d18 (76 bytes)
//
// 6 xrefs:
// > FontObject::parseConfigFile @ 0x2e09a0
// > GameManager::recountUserStats @ 0x327f8a
// > LocalLevelManager::tryLoadMainLevelString @ 0x4335f6
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x5cc446
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x5e4090
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x5e40b4
//
// 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::CCString *cocos2d::CCString::createWithContentsOfFile(const char *a1)
{
cocos2d::CCFileUtils *v2; // r0
unsigned __int8 *v3; // r5
cocos2d::CCString *v4; // r6
unsigned __int8 *v6; // [sp+0h] [bp-Ch] BYREF
v6 = nullptr;
v2 = cocos2d::CCFileUtils::sharedFileUtils();
v3 = (unsigned __int8 *)((int (__fastcall *)(cocos2d::CCFileUtils *, const char *, const char *, unsigned __int8 **))v2->addSearchResolutionsOrder)(
v2,
a1,
"rb",
&v6);
v4 = cocos2d::CCString::createWithData(v3, (unsigned int)v6);
if ( v3 )
operator delete[](v3);
return v4;
}