// // GameManager::reloadAllStep2 from 0x3237d8 to 0x323892 (186 bytes) // // 0 xrefs: // // 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 // void GameManager::reloadAllStep2(GameManager *a1) { cocos2d::CCDirector *v2; // r0 CCContentManager *v3; // r0 CCAnimateFrameCache *v4; // r0 cocos2d::CCFileUtils *v5; // r0 ObjectManager *v6; // r0 cocos2d::CCActionManager *m_pActionManager; // r6 cocos2d::CCSequence *v8; // r7 cocos2d::CCFiniteTimeAction *v9; // r0 int v10; // r3 cocos2d::CCAction *v11; // r0 if ( a1->m_reloadTextures ) { v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::removeStatsLabel(v2); v3 = CCContentManager::sharedManager(); CCContentManager::clearCache(v3); cocos2d::CCTextureCache::purgeSharedTextureCache(); cocos2d::CCSpriteFrameCache::purgeSharedSpriteFrameCache(); cocos2d::CCLabelBMFont::purgeCachedData(); BitmapFontCache::purgeSharedFontCache(); v4 = CCAnimateFrameCache::sharedSpriteFrameCache(); CCAnimateFrameCache::removeSpriteFrames(v4); cocos2d::CCFileUtils::purgeFileUtils(); v5 = cocos2d::CCFileUtils::sharedFileUtils(); v6 = (ObjectManager *)((int (__fastcall *)(cocos2d::CCFileUtils *, const char *))v5->getSearchPaths)( v5, "Resources"); ObjectManager::purgeObjectManager(v6); a1->m_loadedGroundID = 0; a1->m_loadedBgID = 0; a1->m_loadedMG = 0; std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_erase( (int)&a1->m_iconLoadCounts, &a1->m_iconLoadCounts.m_header.m_parent->m_isblack); a1->m_iconLoadCounts.m_header.m_parent = nullptr; a1->m_iconLoadCounts.m_header.m_left = &a1->m_iconLoadCounts.m_header; a1->m_iconLoadCounts.m_header.m_right = &a1->m_iconLoadCounts.m_header; a1->m_iconLoadCounts.m_nodecount = 0; a1->m_loadedDeathEffect = 0; } m_pActionManager = a1->m_pActionManager; v8 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.0); v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, GameManager::reloadAllStep3, 0); v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v9, 0, v10, GameManager::reloadAllStep3, 0); cocos2d::CCActionManager::addAction(m_pActionManager, v11, a1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source