// // GameManager::finishedLoadingGAsync from 0x140182df0 to 0x140182eb0 (192 bytes) // // 5 xrefs: // > GameManager::finishedLoadingGAsync1 @ 0x140182d9c // > GameManager::finishedLoadingGAsync2 @ 0x140182ddc // > @ 0x140677b50 // > @ 0x140677b60 // > @ 0x1406cb550 // // 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::finishedLoadingGAsync(GameManager *a1, int a2) { GJBaseGameLayer *m_gameLayer; // rbx int m_loadedGroundID; // 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_loadingG = 0; if ( m_gameLayer ) { GJBaseGameLayer::createGroundLayer(m_gameLayer, a2, 0); GJBaseGameLayer::updateLevelColors(m_gameLayer); } m_loadedGroundID = a1->m_loadedGroundID; if ( m_loadedGroundID ) { v6 = cocos2d::CCString::createWithFormat("groundSquare_%02d_001.png", m_loadedGroundID); CString = cocos2d::CCString::getCString(v6); v8 = cocos2d::CCString::createWithFormat("groundSquare_%02d_2_001.png", a1->m_loadedGroundID); 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_loadedGroundID = a2; }