// // GameManager::finishedLoadingMGAsync from 0x140182b90 to 0x140182c4d (189 bytes) // // 5 xrefs: // > GameManager::finishedLoadingMGAsync1 @ 0x140182b3c // > GameManager::finishedLoadingMGAsync2 @ 0x140182b7c // > @ 0x140677b08 // > @ 0x140677b18 // > @ 0x1406cb4f0 // // 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::finishedLoadingMGAsync(GameManager *a1, int a2) { GJBaseGameLayer *m_gameLayer; // rbx int m_loadedMG; // edx cocos2d::CCString *v6; // rax const char *CString; // rdi cocos2d::CCString *v8; // rax const char *v9; // rbx cocos2d::CCTextureCache *v10; // rax cocos2d::CCTextureCache *v11; // rax m_gameLayer = a1->m_gameLayer; a1->m_loadingG1 = 0; if ( m_gameLayer ) { GJBaseGameLayer::createMiddleground(m_gameLayer, a2); GJBaseGameLayer::updateLevelColors(m_gameLayer); } m_loadedMG = a1->m_loadedMG; if ( m_loadedMG ) { v6 = cocos2d::CCString::createWithFormat("fg_%02d_001.png", m_loadedMG); CString = cocos2d::CCString::getCString(v6); v8 = cocos2d::CCString::createWithFormat("fg_%02d_2_001.png", a1->m_loadedMG); v9 = cocos2d::CCString::getCString(v8); v10 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v10, CString); v11 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v11, v9); } a1->m_loadedMG = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source