//
// cocos2d::CCFileUtils::sharedFileUtils from 0x1002d2c1c to 0x1002d2c88 (108 bytes)
//
// 54 xrefs:
// > cocos2d::CCImage::initWithImageFile @ 0x10002e990
// > cocos2d::CCImage::initWithImageFile @ 0x10002e998
// > cocos2d::CCImage::initWithImageFileThreadSafe @ 0x10002ecb0
// > sub_10004E540 @ 0x10004e598
// > sub_10004EB10 @ 0x10004eb20
// > sub_10004F6F8 @ 0x10004f744
// > sub_10004F820 @ 0x10004f86c
// > sub_1000AF258 @ 0x1000af274
// > sub_1000D79F4 @ 0x1000d7a08
// > cocos2d::CCTextureCache::addImageAsync @ 0x10013be58
// > cocos2d::CCTextureCache::addImage @ 0x10013c89c
// > cocos2d::CCTextureCache::addPVRImage @ 0x10013cf08
// > cocos2d::CCTextureCache::addETCImage @ 0x10013d0cc
// > cocos2d::CCTextureCache::addUIImage @ 0x10013d250
// > cocos2d::CCTextureCache::removeTextureForKey @ 0x10013d3d0
// > cocos2d::CCTextureCache::textureForKey @ 0x10013d48c
// > sub_1001984BC @ 0x100198614
// > sub_1001987F0 @ 0x100198950
// > FMODAudioEngine::preloadEffect @ 0x1001b51c4
// > sub_1001B8CEC @ 0x1001b8d40
// > FMODAudioEngine::createStream @ 0x1001bb844
// > MusicDownloadManager::isSongDownloaded @ 0x1001d4964
// > MusicDownloadManager::pathForSongFolder @ 0x1001d56c8
// > MusicDownloadManager::pathForSongFolder @ 0x1001d5710
// > MusicDownloadManager::isSFXDownloaded @ 0x1001d57b4
// > MusicDownloadManager::pathForSFXFolder @ 0x1001d59a4
// > MusicDownloadManager::pathForSFXFolder @ 0x1001d59ec
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dbcd8
// > sub_1001DF084 @ 0x1001df0c8
// > sub_1001E05B4 @ 0x1001e05c4
// > sub_1001E0638 @ 0x1001e0678
// > sub_1001E1488 @ 0x1001e149c
// > cocos2d::CCParticleSystem::initWithFile @ 0x100226658
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002274e4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002274f8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100227530
// > LocalLevelManager::tryLoadMainLevelString @ 0x10025e374
// > LocalLevelManager::tryRecoverAutoSaves @ 0x100260154
// > LocalLevelManager::exportLevelsToFile @ 0x100260aa4
// > cocos2d::CCFileUtilsIOS::createCCDictionaryWithContentsOfFile @ 0x1002d30d4
// > cocos2d::CCFileUtilsIOS::createCCArrayWithContentsOfFile @ 0x1002d3924
// > sub_1002DBBE0 @ 0x1002dbc00
// > cocos2d::CCString::createWithContentsOfFile @ 0x100306650
// > AppDelegate::applicationDidFinishLaunching @ 0x100306f9c
// > sub_10031642C @ 0x100316448
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x10039586c
// > cocos2d::CCBMFontConfiguration::parseImageFileName @ 0x100396b58
// > sub_1003B5110 @ 0x1003b5174
// > GameManager::recountUserStats @ 0x1003b6d64
// > GameManager::reloadAllStep2 @ 0x1003bb6b4
// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x1004158cc
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x10046385c
// > cocos2d::CCDictionary::createWithContentsOfFileThreadSafe @ 0x1004a6950
// > sub_1004CBA00 @ 0x1004cba54
//
// 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:02:39 +0000
//
__int64 cocos2d::CCFileUtils::sharedFileUtils()
{
__int64 result; // x0
_OWORD *v1; // x19
result = qword_100A0F868;
if ( !qword_100A0F868 )
{
v1 = operator new(0x88u);
*v1 = 0u;
v1[1] = 0u;
v1[2] = 0u;
v1[3] = 0u;
v1[4] = 0u;
v1[5] = 0u;
v1[6] = 0u;
v1[7] = 0u;
*((_QWORD *)v1 + 16) = 0;
cocos2d::CCFileUtils::CCFileUtils((__int64)v1);
*(_QWORD *)v1 = &off_1009202E8;
qword_100A0F868 = (__int64)v1;
cocos2d::CCFileUtils::init((__int64)v1);
return qword_100A0F868;
}
return result;
}