// // PlayLayer::toggleGroundVisibility from 0x1403b3700 to 0x1403b377d (125 bytes) // // 2 xrefs: // > @ 0x1405c9c30 // > @ 0x1406d6e9c // // 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 // // local variable allocation has failed, the output may be wrong! void PlayLayer::toggleGroundVisibility(PlayLayer *a1, bool a2) { bool v3; // bl GJGroundLayer *m_groundLayer; // rcx bool v5; // zf GJGroundLayer *m_groundLayer2; // rcx v3 = a2; m_groundLayer = a1->m_groundLayer; if ( m_groundLayer->m_showGround2 != a2 ) { v5 = !m_groundLayer->m_showGround1; m_groundLayer->m_showGround2 = a2; if ( v5 || !a2 ) *(_QWORD *)&a2 = 0; else a2 = 1; m_groundLayer->setVisible(m_groundLayer, a2); } m_groundLayer2 = a1->m_groundLayer2; if ( m_groundLayer2->m_showGround2 != v3 ) { v5 = !m_groundLayer2->m_showGround1; m_groundLayer2->m_showGround2 = v3; if ( v5 || !v3 ) *(_QWORD *)&a2 = 0; else a2 = 1; m_groundLayer2->setVisible(m_groundLayer2, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source