// // cocos2d::CCFileUtils::sharedFileUtils from 0x7eafdc to 0x7eb07a (158 bytes) // // 80 xrefs: // > PlatformToolbox::doesFileExist @ 0x394d4e // > GameToolbox::getSaveDirectory @ 0x3ceb4c // > GameToolbox::showFolderDialog @ 0x3ced2a // > GameToolbox::saveStringToFile @ 0x3d0206 // > GameToolbox::showSaveFileDialog @ 0x3d03cc // > GameToolbox::showOpenFileDialog @ 0x3d0492 // > FMODAudioEngine::createStream @ 0x3e9672 // > FMODAudioEngine::preloadEffect @ 0x3ec2b8 // > FMODAudioEngine::preloadEffectAsync @ 0x3edfa2 // > AppDelegate::applicationDidFinishLaunching @ 0x3f6f48 // > GameManager::unloadBackground @ 0x4146c4 // > GameManager::reloadAllStep2 @ 0x415a84 // > GameManager::recountUserStats @ 0x41b958 // > sub_4B59FC @ 0x4b5a0c // > sub_4B5ADC @ 0x4b5af4 // > LocalLevelManager::tryRecoverAutoSaves @ 0x543bb8 // > LocalLevelManager::exportLevelsToFile @ 0x543d6a // > LocalLevelManager::tryLoadMainLevelString @ 0x54461a // > MusicDownloadManager::pathForNewsFolder @ 0x56e948 // > MusicDownloadManager::isNewsImageDownloaded @ 0x56ed7a // > MusicDownloadManager::pathForSFXFolder @ 0x571a0c // > MusicDownloadManager::pathForSFXFolder @ 0x571a5c // > MusicDownloadManager::parseSFXLibrary @ 0x571cc8 // > MusicDownloadManager::isSFXDownloaded @ 0x572424 // > MusicDownloadManager::pathForSongFolder @ 0x57250c // > MusicDownloadManager::pathForSongFolder @ 0x57255c // > MusicDownloadManager::isSongDownloaded @ 0x5726d0 // > MusicDownloadManager::parseNewsFeed @ 0x573d18 // > MusicDownloadManager::parseMusicLibrary @ 0x5787b8 // > ReadArchive::process @ 0x727dce // > ReadArchive::process @ 0x727fc6 // > EditorSFXManager::downloadAllMissing @ 0x77da16 // > SelectFontLayer2::loadPreviewSheet @ 0x7a1b08 // > cocos2d::extension::AssetsManager::setSearchPath @ 0x7a6214 // > cocos2d::extension::AssetsManager::setSearchPath @ 0x7a6244 // > cocos2d::CCDictionary::createWithContentsOfFileThreadSafe @ 0x7c7b18 // > cocos2d::CCDictionary::writeToFile @ 0x7c7b88 // > cocos2d::CCString::createWithContentsOfFile @ 0x7c8cbe // > cocos2d::CCArray::createWithContentsOfFileThreadSafe @ 0x7c8e8e // > cocos2d::CCLabelAtlas::initWithString @ 0x7d2592 // > cocos2d::CCBMFontConfiguration::parseImageFileName @ 0x7d44f4 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x7d5342 // > cocos2d::CCRenderTexture::saveToFile @ 0x7e0f2e // > cocos2d::CCParticleSystem::initWithDictionary @ 0x7e53e0 // > cocos2d::CCParticleSystem::initWithDictionary @ 0x7e53ec // > cocos2d::CCParticleSystem::initWithDictionary @ 0x7e5414 // > cocos2d::CCParticleSystem::initWithFile @ 0x7e5634 // > cocos2d::CCSAXParser::parse @ 0x7e6d0e // > cocos2d::CCImage::initWithImageFileThreadSafe @ 0x7ebd66 // > cocos2d::CCImage::initWithImageFile @ 0x7ec218 // > cocos2d::CCImage::initWithImageFile @ 0x7ec22c // > cocos2d::BitmapDC::getBitmapFromJavaShadowStroke @ 0x7ec48c // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x7ee7a2 // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x7ee7dc // > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x7f06dc // > cocos2d::CCAnimationCache::addAnimationsWithFile @ 0x7f0756 // > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x7f45c2 // > sub_7F69E0 @ 0x7f6a12 // > cocos2d::tgaLoad @ 0x7f7cea // > cocos2d::ZipUtils::ccInflateCCZFile @ 0x7fab0e // > cocos2d::CCTextureCache::removeTextureForKey @ 0x800932 // > cocos2d::CCTextureCache::textureForKey @ 0x800cfa // > cocos2d::CCTextureCache::addETCImage @ 0x800f2e // > cocos2d::CCTextureCache::addPVRImage @ 0x80124e // > cocos2d::VolatileTexture::reloadAllTextures @ 0x80155a // > cocos2d::CCTextureCache::addImage @ 0x801eca // > cocos2d::CCTextureCache::reloadTexture @ 0x802404 // > cocos2d::CCTextureCache::addUIImage @ 0x8024c8 // > cocos2d::CCTextureCache::addImageAsync @ 0x802a3a // > cocos2d::CCTextureETC::initWithFile @ 0x802efe // > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x803588 // > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x8058b2 // > cocos2d::CCTMXMapInfo::internalInit @ 0x805dc8 // > cocos2d::CCTMXMapInfo::startElement @ 0x806428 // > cocos2d::CCTileMapAtlas::loadTGAfile @ 0x8075e2 // > FileOperation::getFilePath @ 0x80a2d8 // > DS_Dictionary::loadRootSubDictFromFile @ 0x80cc62 // > DS_Dictionary::loadRootSubDictFromFile @ 0x80cc80 // > DS_Dictionary::loadRootSubDictFromFile @ 0x80ccd4 // > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x80ce1e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:59 +0000 // int __fastcall cocos2d::CCFileUtils::sharedFileUtils(cocos2d::CCFileUtils *this) { cocos2d::CCFileUtilsAndroid *v1; // r7 const char *ApkPath; // r8 size_t v3; // r0 int v4; // r8 int v6[3]; // [sp+4h] [bp-1Ch] BYREF int v7[3]; // [sp+10h] [bp-10h] BYREF if ( !cocos2d::CCFileUtils::s_sharedFileUtils ) { v1 = (cocos2d::CCFileUtilsAndroid *)operator new(0x44u); cocos2d::CCFileUtilsAndroid::CCFileUtilsAndroid(v1); cocos2d::CCFileUtils::s_sharedFileUtils = (int)v1; (*(void (__fastcall **)(cocos2d::CCFileUtilsAndroid *))(*(_DWORD *)v1 + 96))(v1); memset(v6, 0, sizeof(v6)); ApkPath = (const char *)getApkPath(); v3 = strlen(ApkPath); std::string::__init(v6, ApkPath, v3); memset(v7, 0, sizeof(v7)); std::string::__init(v7, "assets/", 7u); v4 = operator new(0xCu); cocos2d::ZipFile::ZipFile(v4, v6, v7); dword_D2F7D4 = v4; std::string::~string((int)v7); std::string::~string((int)v6); } return cocos2d::CCFileUtils::s_sharedFileUtils; }
GD Web Decomp Icon

GD Web Decomp

Raw Source