// // GameManager::finishedLoadingBGAsync from 0x100383440 to 0x1003834c8 (136 bytes) // // 1 xrefs: // > GameManager::loadBackgroundAsync @ 0x100383412 // // 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) { char v2; // al GJBaseGameLayer *m_gameLayer; // r15 int v4; // eax cocos2d::CCString *v5; // rax const char *CString; // r15 cocos2d::CCTextureCache *v7; // rax char v8; // [rsp-28h] [rbp-28h] a1->m_loadingBG = 0; if ( a2 ) { v8 = v2; m_gameLayer = a1->m_gameLayer; if ( m_gameLayer ) { v4 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); GJBaseGameLayer::asyncBGLoaded(m_gameLayer, v4); } if ( a1->m_loadedBgID ) { v5 = (cocos2d::CCString *)sub_1007AB580("game_bg_%02d_001.png", v8); CString = cocos2d::CCString::getCString(v5); v7 = cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v7, CString); } a1->m_loadedBgID = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source