// // GameManager::reloadAllStep2 from 0x1003bb664 to 0x1003bb750 (236 bytes) // // 1 xrefs: // > GameManager::reloadAll @ 0x1003bb620 // // 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 11:03:59 +0000 // __int64 __fastcall GameManager::reloadAllStep2(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 __int64 v4; // x0 _DWORD *v5; // x0 _QWORD *v6; // x0 __int64 v7; // x0 __int64 v8; // x20 float *v9; // x21 char v10; // w0 __int64 v11; // x1 __int64 v12; // x2 __int64 v13; // x3 __int64 v14; // x4 __int64 v15; // x5 __int64 v16; // x6 __int64 v17; // x7 __int64 v18; // x1 if ( *(_BYTE *)(a1 + 420) == 1 ) { v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::removeStatsLabel(v2); v4 = CCContentManager::sharedManager(v3); CCContentManager::clearCache(v4); v5 = cocos2d::CCTextureCache::purgeSharedTextureCache(); cocos2d::CCSpriteFrameCache::purgeSharedSpriteFrameCache(v5); cocos2d::CCLabelBMFont::purgeCachedData(); BitmapFontCache::purgeSharedFontCache(); v6 = (_QWORD *)CCAnimateFrameCache::sharedSpriteFrameCache(); CCAnimateFrameCache::removeSpriteFrames(v6); cocos2d::CCFileUtils::purgeFileUtils(); v7 = cocos2d::CCFileUtils::sharedFileUtils(); (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 120LL))(v7, "Resources"); ObjectManager::purgeObjectManager(); *(_DWORD *)(a1 + 980) = 0; *(_QWORD *)(a1 + 984) = 0; sub_1000187C4(a1 + 1160, *(_QWORD **)(a1 + 1168)); *(_QWORD *)(a1 + 1160) = a1 + 1168; *(_OWORD *)(a1 + 1168) = 0u; *(_DWORD *)(a1 + 996) = 0; } v8 = *(_QWORD *)(a1 + 264); v9 = cocos2d::CCDelayTime::create(0.0); v10 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)GameManager::reloadAllStep3, 0); v18 = sub_10021D420((__int64)v9, v11, v12, v13, v14, v15, v16, v17, v10); return cocos2d::CCActionManager::addAction(v8, v18, a1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source