// // GJBaseGameLayer::syncBGTextures from 0x14023afa0 to 0x14023b03f (159 bytes) // // 4 xrefs: // > LevelEditorLayer::onPlaytest @ 0x1402e040e // > LevelEditorLayer::onStopPlaytest @ 0x1402e086b // > PlayLayer::resetLevel @ 0x1403b9a2f // > @ 0x1406ce250 // // 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; // eax int m_background; // edx int v4; // eax int m_ground; // edx GJMGLayer *m_middleground; // rcx int v7; // edi 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 && (v7 = a1->m_gameState.m_middleground, m_middleground->getTag(m_middleground) != v7) || !a1->m_middleground && (v7 = a1->m_gameState.m_middleground, v7 > 0) ) { GJBaseGameLayer::createMiddleground(a1, v7); } }