// // GameManager::reloadAllStep2 from 0x71bb44 to 0x71bc4c (264 bytes) // // 3 xrefs: // > @ 0x5e408 // > GameManager::reloadAll @ 0x718084 // > @ 0x1542340 // // This function is hookable on this platform (idp: arm, 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:52:19 +0000 // __int64 __fastcall GameManager::reloadAllStep2(GameManager *this) { cocos2d::CCDirector *v2; // x0 cocos2d::CCActionManager *v3; // x20 cocos2d::CCSequence *v4; // x21 cocos2d::CCFiniteTimeAction *v5; // x0 cocos2d::CCAction *v6; // x0 cocos2d::CCDirector *v8; // x0 CCContentManager *v9; // x0 CCContentManager *v10; // x0 cocos2d::CCTextureCache *v11; // x0 cocos2d::CCSpriteFrameCache *v12; // x0 cocos2d::CCLabelBMFont *v13; // x0 BitmapFontCache *v14; // x0 CCAnimateFrameCache *v15; // x0 cocos2d::CCDictionary **v16; // x0 cocos2d::CCFileUtils *v17; // x0 cocos2d::CCFileUtils *v18; // x0 __int64 v19; // x0 ObjectManager *v20; // x0 _QWORD **v21; // x20 v2 = (cocos2d::CCDirector *)*((unsigned __int8 *)this + 420); if ( (_DWORD)v2 ) { v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); v9 = (CCContentManager *)cocos2d::CCDirector::removeStatsLabel(v8); v10 = (CCContentManager *)CCContentManager::sharedManager(v9); v11 = (cocos2d::CCTextureCache *)CCContentManager::clearCache(v10); v12 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCTextureCache::purgeSharedTextureCache(v11); v13 = (cocos2d::CCLabelBMFont *)cocos2d::CCSpriteFrameCache::purgeSharedSpriteFrameCache(v12); v14 = (BitmapFontCache *)cocos2d::CCLabelBMFont::purgeCachedData(v13); v15 = (CCAnimateFrameCache *)BitmapFontCache::purgeSharedFontCache(v14); v16 = (cocos2d::CCDictionary **)CCAnimateFrameCache::sharedSpriteFrameCache(v15); v17 = (cocos2d::CCFileUtils *)CCAnimateFrameCache::removeSpriteFrames(v16); v18 = (cocos2d::CCFileUtils *)cocos2d::CCFileUtils::purgeFileUtils(v17); v19 = cocos2d::CCFileUtils::sharedFileUtils(v18); v20 = (ObjectManager *)(*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v19 + 120LL))(v19, "Resources"); ObjectManager::purgeObjectManager(v20); v21 = *((_QWORD ***)this + 146); *((_DWORD *)this + 246) = 0; *((_DWORD *)this + 245) = 0; *((_DWORD *)this + 247) = 0; if ( v21 ) { std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( (__int64)this + 1160, *v21); std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( (__int64)this + 1160, v21[1]); operator delete(v21); } v2 = (GameManager *)((char *)this + 1168); *((_QWORD *)this + 147) = 0; *((_QWORD *)this + 145) = (char *)this + 1168; *((_QWORD *)this + 146) = 0; *((_DWORD *)this + 249) = 0; } v3 = *((cocos2d::CCActionManager **)this + 33); v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v2, 0.0); v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, GameManager::reloadAllStep3, 0); v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0); return cocos2d::CCActionManager::addAction(v3, v6, this, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source