// // GJBaseGameLayer::swapBackground from 0x1001dddd4 to 0x1001dde44 (112 bytes) // // 1 xrefs: // > ArtTriggerGameObject::triggerObject @ 0x1003972e4 // // 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 GJBaseGameLayer::swapBackground(GJBaseGameLayer *a1, int a2) { GameManager *v4; // x0 a1->m_gameState.m_background = a2; if ( !a1->m_skipArtReload ) { if ( GameManager::sharedState()->m_loadedBgID == a2 ) { GJBaseGameLayer::createBackground(a1, a2); GJBaseGameLayer::updateLevelColors(a1); } else { v4 = GameManager::sharedState(); GameManager::loadBackgroundAsync(v4, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source