//
// cocos2d::CCFileUtils::sharedFileUtils from 0x1006e50b0 to 0x1006e512a (122 bytes)
//
// 74 xrefs:
// > cocos2d::CCSAXParser::parse_1 @ 0x100155540
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10015a013
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10015a033
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10015a0b8
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x10015a3c9
// > sub_1001E9C70 @ 0x1001e9c8d
// > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x100210e50
// > cocos2d::CCTileMapAtlas::loadTGAfile @ 0x100211041
// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x100272244
// > sub_1002A8580 @ 0x1002a859c
// > cocos2d::CCDictionary::createWithContentsOfFileThreadSafe @ 0x1002faa34
// > cocos2d::CCDictionary::writeToFile @ 0x1002fab67
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x100308a27
// > cocos2d::CCApplication::setResourceRootPath @ 0x100314ecf
// > GameManager::unloadBackground @ 0x10036c6b8
// > GameManager::recountUserStats @ 0x10036ed03
// > GameManager::reloadAllStep2 @ 0x100376f9a
// > FMODAudioEngine::preloadEffect @ 0x1003ca603
// > FMODAudioEngine::preloadEffectAsync @ 0x1003d2213
// > FMODAudioEngine::createStream @ 0x1003d762a
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x100417706
// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x10041774d
// > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x100462138
// > cocos2d::CCAnimationCache::addAnimationsWithFile @ 0x10046220c
// > cocos2d::CCImage::initWithImageFile @ 0x10047ee58
// > cocos2d::CCImage::initWithImageFile @ 0x10047efa9
// > cocos2d::CCImage::initWithImageFileThreadSafe @ 0x10047f63e
// > cocos2d::CCTMXMapInfo::internalInit @ 0x1004c90cd
// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x1004c92c2
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cb0f4
// > sub_1004F4A50 @ 0x1004f4a93
// > sub_10054C9E0 @ 0x10054c9f8
// > sub_10059ACB0 @ 0x10059acbe
// > sub_10059ACB0 @ 0x10059ad1c
// > sub_1005CE850 @ 0x1005cea80
// > sub_1005CF190 @ 0x1005cf3c4
// > MusicDownloadManager::isSongDownloaded @ 0x10064e6f7
// > MusicDownloadManager::pathForSongFolder @ 0x10064fcbe
// > MusicDownloadManager::pathForSongFolder @ 0x10064fd01
// > MusicDownloadManager::isSFXDownloaded @ 0x10064fee7
// > MusicDownloadManager::pathForSFXFolder @ 0x1006503ce
// > MusicDownloadManager::pathForSFXFolder @ 0x100650411
// > MusicDownloadManager::parseMusicLibrary @ 0x10065a665
// > MusicDownloadManager::parseSFXLibrary @ 0x10065f956
// > MusicDownloadManager::onDownloadNewsFeedCompleted @ 0x10066150a
// > sub_100661BA0 @ 0x100661baa
// > MusicDownloadManager::parseNewsFeed @ 0x100661c37
// > MusicDownloadManager::parseNewsFeed @ 0x100661cb6
// > MusicDownloadManager::pathForNewsFolder @ 0x100663520
// > sub_100663640 @ 0x100663654
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x1006a692a
// > cocos2d::CCBMFontConfiguration::parseImageFileName @ 0x1006a8443
// > sub_1006AFEB0 @ 0x1006aff27
// > cocos2d::CCTextureCache::addImageAsync @ 0x1006bfe09
// > cocos2d::CCTextureCache::addImage @ 0x1006c0bf4
// > cocos2d::CCTextureCache::addPVRImage @ 0x1006c145a
// > cocos2d::CCTextureCache::addETCImage @ 0x1006c178a
// > cocos2d::CCTextureCache::addUIImage @ 0x1006c19a6
// > cocos2d::CCTextureCache::reloadTexture @ 0x1006c1c13
// > cocos2d::CCTextureCache::removeTextureForKey @ 0x1006c1f08
// > cocos2d::CCTextureCache::textureForKey @ 0x1006c202e
// > sub_1006C9300 @ 0x1006c9322
// > LocalLevelManager::tryLoadMainLevelString @ 0x1006c9a71
// > sub_1006CC260 @ 0x1006cd280
// > AppDelegate::applicationDidFinishLaunching @ 0x10073b793
// > sub_1007FED00 @ 0x1007fed14
// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x100879c05
// > cocos2d::CCString::createWithContentsOfFile @ 0x10088e981
// > cocos2d::CCParticleSystem::initWithFile @ 0x1008ae4da
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1008afcf4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1008afd08
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1008afd3d
// > sub_1008EE290 @ 0x1008ee317
// > SelectFontLayer2::loadPreviewSheet @ 0x1009707b5
//
// This function is hookable on this platform (idp: pc, 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 12:35:46 +0000
//
__int64 cocos2d::CCFileUtils::sharedFileUtils()
{
__int64 result; // rax
_OWORD *v1; // rbx
result = qword_100BE8BA0;
if ( !qword_100BE8BA0 )
{
v1 = operator new(0x88u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
v1[4] = 0;
v1[5] = 0;
v1[6] = 0;
v1[7] = 0;
*((_QWORD *)v1 + 16) = 0;
cocos2d::CCFileUtils::CCFileUtils((__int64)v1);
*(_QWORD *)v1 = off_100B93EF8;
qword_100BE8BA0 = (__int64)v1;
cocos2d::CCFileUtils::init((__int64)v1);
return qword_100BE8BA0;
}
return result;
}