// // GameManager::finishedLoadingBGAsync from 0x32044c to 0x32049c (80 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::finishedLoadingBGAsync(GameManager *a1, cocos2d::CCObject *a2) { GJBaseGameLayer *m_gameLayer; // r6 int v5; // r0 const char *m_loadedBgID; // r1 cocos2d::CCString *v7; // r0 const char *CString; // r6 cocos2d::CCTextureCache *v9; // r0 a1->m_loadingBG = 0; if ( a2 ) { m_gameLayer = a1->m_gameLayer; if ( m_gameLayer ) { v5 = a2->getTag(a2); GJBaseGameLayer::asyncBGLoaded(m_gameLayer, v5); } m_loadedBgID = (const char *)a1->m_loadedBgID; if ( m_loadedBgID ) { v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"game_bg_%02d_001.png", m_loadedBgID); CString = cocos2d::CCString::getCString(v7); v9 = cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v9, CString); } a1->m_loadedBgID = a2->getTag(a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source