// // GameManager::finishedLoadingBGAsync from 0x100318574 to 0x100318610 (156 bytes) // // 1 xrefs: // > GameManager::loadBackgroundAsync @ 0x100318544 // // 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 __fastcall GameManager::finishedLoadingBGAsync(GameManager *a1, cocos2d::CCObject *a2) { GJBaseGameLayer *m_gameLayer; // x21 int v5; // w0 cocos2d::CCString *v6; // x0 const char *CString; // x21 cocos2d::CCTextureCache *v8; // x0 a1->m_loadingBG = 0; if ( a2 ) { m_gameLayer = a1->m_gameLayer; if ( m_gameLayer ) { v5 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); GJBaseGameLayer::asyncBGLoaded(m_gameLayer, v5); } if ( a1->m_loadedBgID ) { v6 = (cocos2d::CCString *)sub_100268F4C("game_bg_%02d_001.png", a1->m_loadedBgID); CString = cocos2d::CCString::getCString(v6); v8 = cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v8, CString); } a1->m_loadedBgID = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source