//
// cocos2d::CCString::createWithContentsOfFile from 0x100306638 to 0x1003066a0 (104 bytes)
//
// 8 xrefs:
// > GJKeybindManager::parseImportFile @ 0x10018df54
// > MusicDownloadManager::importCustomSFXFromFile @ 0x1001d94e8
// > LocalLevelManager::tryLoadMainLevelString @ 0x10025e3e0
// > LocalLevelManager::tryRecoverAutoSaves @ 0x10025fd84
// > LocalLevelManager::importLevelsFromPaths @ 0x100261668
// > sub_10038FEB0 @ 0x10038feec
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x10039589c
// > GameManager::recountUserStats @ 0x1003b6d98
//
// 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 11:03:08 +0000
//
void *__fastcall cocos2d::CCString::createWithContentsOfFile(__int64 a1)
{
__int64 v2; // x0
void *v3; // x19
void *v4; // x20
size_t v6; // [xsp+8h] [xbp-18h] BYREF
v6 = 0;
v2 = cocos2d::CCFileUtils::sharedFileUtils();
v3 = (void *)(*(__int64 (__fastcall **)(__int64, __int64, const char *, size_t *))(*(_QWORD *)v2 + 32LL))(
v2,
a1,
"rb",
&v6);
v4 = cocos2d::CCString::createWithData(v3, v6);
if ( v3 )
operator delete[](v3);
return v4;
}