// // GJBaseGameLayer::swapBackground from 0x858058 to 0x8580c0 (104 bytes) // // 2 xrefs: // > ArtTriggerGameObject::triggerObject @ 0x74b324 // > @ 0x8dd08 // // 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 GJBaseGameLayer::swapBackground(GJBaseGameLayer *a1, int a2) { _BOOL4 m_skipArtReload; // w2 GameManager *v5; // x0 m_skipArtReload = a1->m_skipArtReload; a1->m_gameState.m_background = a2; if ( !m_skipArtReload ) { if ( a2 == GameManager::sharedState()->m_loadedBgID ) { GJBaseGameLayer::asyncBGLoaded(a1, a2); } else { v5 = GameManager::sharedState(); GameManager::loadBackgroundAsync(v5, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source