//
// cocos2d::CCString::createWithContentsOfFile from 0xd46768 to 0xd46804 (156 bytes)
//
// 11 xrefs:
// > FontObject::parseConfigFile @ 0x686c90
// > GameManager::recountUserStats @ 0x726808
// > LocalLevelManager::importLevelsFromPaths @ 0x911604
// > LocalLevelManager::tryRecoverAutoSaves @ 0x912954
// > LocalLevelManager::tryLoadMainLevelString @ 0x91468c
// > MusicDownloadManager::importCustomSFXFromFile @ 0x970928
// > GJKeybindManager::parseImportFile @ 0xc0c19c
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xd59140
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0xd825e4
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0xd82624
// > ??> @ 0xbf410
//
// This function is hookable on this platform (idp: arm, 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 13:07:34 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCString::createWithContentsOfFile(cocos2d::CCString *this, const char *a2)
{
__int64 v2; // x0
cocos2d::CCString *v3; // x20
cocos2d::CCObject *v4; // x21
unsigned __int8 *v7; // [xsp+50h] [xbp+50h] BYREF
v7 = nullptr;
v2 = cocos2d::CCFileUtils::sharedFileUtils(_stack_chk_guard);
v3 = (cocos2d::CCString *)(*(__int64 (__fastcall **)(__int64, cocos2d::CCString *, char *, unsigned __int8 **))(*(_QWORD *)v2 + 32LL))(
v2,
this,
"rb",
&v7);
v4 = cocos2d::CCString::createWithData(v3, v7);
if ( v3 )
operator delete[](v3);
return v4;
}