//
// cocos2d::CCFileUtils::sharedFileUtils from 0x10060b8d0 to 0x10060b94a (122 bytes)
//
// 62 xrefs:
// > cocos2d::CCSAXParser::parse_1 @ 0x100176190
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10017ac63
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10017ac83
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10017ad08
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x10017b00b
// > sub_100206820 @ 0x10020683d
// > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x10022ca20
// > cocos2d::CCTileMapAtlas::loadTGAfile @ 0x10022cc11
// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x100285694
// > sub_1002BA5A0 @ 0x1002ba5bc
// > cocos2d::CCDictionary::createWithContentsOfFileThreadSafe @ 0x100310014
// > cocos2d::CCDictionary::writeToFile @ 0x100310147
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x10031d777
// > cocos2d::CCApplication::setResourceRootPath @ 0x1003297bf
// > GameManager::unloadBackground @ 0x1003832d8
// > GameManager::recountUserStats @ 0x1003856b3
// > GameManager::reloadAllStep2 @ 0x10038c52a
// > FMODAudioEngine::preloadEffect @ 0x1003dd5f3
// > FMODAudioEngine::preloadEffectAsync @ 0x1003e4ca3
// > FMODAudioEngine::createStream @ 0x1003ea0ca
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x10042aa96
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x10042aadd
// > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x10046dd48
// > cocos2d::CCAnimationCache::addAnimationsWithFile @ 0x10046de1c
// > cocos2d::CCImage::initWithImageFile @ 0x100489838
// > cocos2d::CCImage::initWithImageFile @ 0x100489989
// > cocos2d::CCImage::initWithImageFileThreadSafe @ 0x10048a01e
// > cocos2d::CCTMXMapInfo::internalInit @ 0x1004cd55d
// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x1004cd752
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cf584
// > GameToolbox::saveStringToFile @ 0x1004f71a7
// > sub_10056DBF0 @ 0x10056dbfe
// > sub_10056DBF0 @ 0x10056dc5c
// > MusicDownloadManager::isSongDownloaded @ 0x10058e6d7
// > MusicDownloadManager::pathForSongFolder @ 0x10058fd9e
// > MusicDownloadManager::pathForSongFolder @ 0x10058fde1
// > MusicDownloadManager::isSFXDownloaded @ 0x10058ffc7
// > MusicDownloadManager::pathForSFXFolder @ 0x1005904ae
// > MusicDownloadManager::pathForSFXFolder @ 0x1005904f1
// > MusicDownloadManager::parseMusicLibrary @ 0x100591f46
// > MusicDownloadManager::parseSFXLibrary @ 0x100595936
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x1005d4fda
// > cocos2d::CCBMFontConfiguration::parseImageFileName @ 0x1005d6af3
// > sub_1005DE5A0 @ 0x1005de617
// > cocos2d::CCTextureCache::addImageAsync @ 0x1005ecd79
// > cocos2d::CCTextureCache::addImage @ 0x1005edb64
// > cocos2d::CCTextureCache::addPVRImage @ 0x1005ee3ca
// > cocos2d::CCTextureCache::addETCImage @ 0x1005ee6fa
// > cocos2d::CCTextureCache::addUIImage @ 0x1005ee916
// > cocos2d::CCTextureCache::reloadTexture @ 0x1005eeb83
// > cocos2d::CCTextureCache::removeTextureForKey @ 0x1005eee78
// > cocos2d::CCTextureCache::textureForKey @ 0x1005eeef4
// > sub_1005F65B0 @ 0x1005f65d2
// > LocalLevelManager::tryLoadMainLevelString @ 0x1005f6b81
// > AppDelegate::applicationDidFinishLaunching @ 0x10065c0f3
// > sub_10071FDE0 @ 0x10071fdf4
// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x100799445
// > cocos2d::CCString::createWithContentsOfFile @ 0x1007ab6e1
// > cocos2d::CCParticleSystem::initWithFile @ 0x1007c6c3a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c8454
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c8468
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c849d
//
// 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::CCFileUtils *__fastcall cocos2d::CCFileUtils::sharedFileUtils()
{
cocos2d::CCFileUtils *result; // rax
cocos2d::CCFileUtils *v1; // rbx
result = (cocos2d::CCFileUtils *)qword_1009A4FA0;
if ( !qword_1009A4FA0 )
{
v1 = (cocos2d::CCFileUtils *)operator new(0x88u);
*(_OWORD *)&v1->__vftable = 0;
*(_OWORD *)&v1[2].__vftable = 0;
*(_OWORD *)&v1[4].__vftable = 0;
*(_OWORD *)&v1[6].__vftable = 0;
*(_OWORD *)&v1[8].__vftable = 0;
*(_OWORD *)&v1[10].__vftable = 0;
*(_OWORD *)&v1[12].__vftable = 0;
*(_OWORD *)&v1[14].__vftable = 0;
v1[16].__vftable = nullptr;
cocos2d::CCFileUtils::CCFileUtils((__int64)v1);
v1->__vftable = (cocos2d::CCFileUtils_vtbl *)off_100980528;
qword_1009A4FA0 = (__int64)v1;
cocos2d::CCFileUtils::init(v1);
return (cocos2d::CCFileUtils *)qword_1009A4FA0;
}
return result;
}