// // PlayLayer::toggleMGVisibility from 0x1403b3780 to 0x1403b37c0 (64 bytes) // // 1 xrefs: // > @ 0x1405c9c38 // // 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 PlayLayer::toggleMGVisibility(PlayLayer *a1, bool a2) { GJMGLayer *m_middleground; // rcx bool v3; // zf char v4; // dl m_middleground = a1->m_middleground; if ( m_middleground && m_middleground->m_showGround2 != a2 ) { v3 = !m_middleground->m_showGround1; m_middleground->m_showGround2 = a2; if ( v3 || !a2 ) { m_middleground->setVisible(m_middleground, 0); } else { v4 = 1; m_middleground->setVisible(m_middleground, v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source