// // GJBaseGameLayer::syncBGTextures from 0x8669dc to 0x866aa0 (196 bytes) // // 4 xrefs: // > PlayLayer::resetLevel @ 0x5e5758 // > LevelEditorLayer::onStopPlaytest @ 0x662838 // > LevelEditorLayer::onPlaytest @ 0x6643b0 // > @ 0x2ea70 // // 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::syncBGTextures(GJBaseGameLayer *a1) { int v2; // w0 int m_background; // w1 int v4; // w0 int m_ground; // w1 GJMGLayer *m_middleground; // x0 int v7; // w0 int v8; // w1 v2 = a1->m_background->getTag(a1->m_background); m_background = a1->m_gameState.m_background; if ( v2 != m_background ) GJBaseGameLayer::createBackground(a1, m_background); v4 = a1->m_groundLayer->getTag(a1->m_groundLayer); m_ground = a1->m_gameState.m_ground; if ( v4 != m_ground ) GJBaseGameLayer::createGroundLayer(a1, m_ground, a1->m_levelSettings->m_groundLineIndex); m_middleground = a1->m_middleground; if ( !m_middleground ) { v8 = a1->m_gameState.m_middleground; LABEL_9: if ( v8 > 0 ) goto LABEL_7; return; } v7 = m_middleground->getTag(m_middleground); v8 = a1->m_gameState.m_middleground; if ( v7 != v8 ) { LABEL_7: GJBaseGameLayer::createMiddleground(a1, v8); return; } if ( !a1->m_middleground ) goto LABEL_9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source