//
// cocos2d::CCString::createWithContentsOfFile from 0x100268fd4 to 0x10026903c (104 bytes)
//
// 4 xrefs:
// > LocalLevelManager::tryLoadMainLevelString @ 0x1001c8774
// > FontObject::parseConfigFile @ 0x1002f3bf4
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x1002f8f78
// > GameManager::recountUserStats @ 0x100319d18
//
// 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 *__fastcall cocos2d::CCString::createWithContentsOfFile(const char *a1)
{
cocos2d::CCFileUtils *v2; // x0
unsigned __int8 *v3; // x19
cocos2d::CCString *v4; // x20
unsigned __int64 v6; // [xsp+8h] [xbp-18h] BYREF
v6 = 0;
v2 = cocos2d::CCFileUtils::sharedFileUtils();
v3 = (unsigned __int8 *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, const char *, const char *, unsigned __int64 *))v2->addSearchResolutionsOrder)(
v2,
a1,
"rb",
&v6);
v4 = cocos2d::CCString::createWithData(v3, v6);
if ( v3 )
operator delete[](v3);
return v4;
}