// // GameManager::reloadAllStep2 from 0x415a4c to 0x415b02 (182 bytes) // // 0 xrefs: // // 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 11:47:40 +0000 // int __fastcall GameManager::reloadAllStep2(cocos2d::CCActionManager **this, float a2, int a3) { cocos2d::CCDirector *v4; // r0 CCContentManager *v5; // r0 CCContentManager *v6; // r0 cocos2d::CCTextureCache *v7; // r0 cocos2d::CCSpriteFrameCache *v8; // r0 cocos2d::CCLabelBMFont *v9; // r0 BitmapFontCache *v10; // r0 CCAnimateFrameCache *v11; // r0 cocos2d::CCDictionary **v12; // r0 cocos2d::CCFileUtils *v13; // r0 cocos2d::CCFileUtils *v14; // r0 int v15; // r0 ObjectManager *v16; // r0 cocos2d::CCActionManager *v17; // r6 cocos2d::CCSequence *v18; // r7 cocos2d::CCFiniteTimeAction *v19; // r0 int v20; // r3 cocos2d::CCAction *v21; // r0 if ( *((_BYTE *)this + 316) ) { v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); v5 = (CCContentManager *)cocos2d::CCDirector::removeStatsLabel(v4); v6 = (CCContentManager *)CCContentManager::sharedManager(v5); v7 = (cocos2d::CCTextureCache *)CCContentManager::clearCache(v6); v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCTextureCache::purgeSharedTextureCache(v7); v9 = (cocos2d::CCLabelBMFont *)cocos2d::CCSpriteFrameCache::purgeSharedSpriteFrameCache(v8); v10 = (BitmapFontCache *)cocos2d::CCLabelBMFont::purgeCachedData(v9); v11 = (CCAnimateFrameCache *)BitmapFontCache::purgeSharedFontCache(v10); v12 = (cocos2d::CCDictionary **)CCAnimateFrameCache::sharedSpriteFrameCache(v11); v13 = (cocos2d::CCFileUtils *)CCAnimateFrameCache::removeSpriteFrames(v12); v14 = (cocos2d::CCFileUtils *)cocos2d::CCFileUtils::purgeFileUtils(v13); v15 = cocos2d::CCFileUtils::sharedFileUtils(v14); v16 = (ObjectManager *)(*(int (__fastcall **)(int, const char *))(*(_DWORD *)v15 + 60))(v15, "Resources"); ObjectManager::purgeObjectManager(v16); *(this + 193) = nullptr; *(this + 192) = nullptr; *(this + 194) = nullptr; std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( (int)(this + 231), *(this + 232)); *(this + 233) = nullptr; *(this + 231) = (cocos2d::CCActionManager *)(this + 232); *(this + 232) = nullptr; *(this + 196) = nullptr; } v17 = *(this + 55); v18 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, a2); v19 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, GameManager::reloadAllStep3, 0); v21 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v18, v19, 0, v20, GameManager::reloadAllStep3, 0, a3); return cocos2d::CCActionManager::addAction(v17, v21, (cocos2d::CCNode *)this, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source