// // PlayLayer::toggleHideAttempts from 0x5c93fc to 0x5c94b4 (184 bytes) // // 2 xrefs: // > @ 0x89358 // > @ 0x1148a68 // // 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::toggleHideAttempts(PlayLayer *a1, bool a2) { GameManager *v3; // x0 GameManager *v4; // x0 if ( a1->m_unk36cf != a2 ) { a1->m_unk36cf = a2; if ( a2 || a1->m_isPracticeMode && (v3 = GameManager::sharedState(), GameManager::getGameVariable(v3, "0134")) || (v4 = GameManager::sharedState(), GameManager::getGameVariable(v4, "0135")) ) { a1->m_attemptLabel->setVisible(a1->m_attemptLabel, 0); } else if ( a1->m_attempts > 0 ) { a1->m_attemptLabel->setVisible(a1->m_attemptLabel, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source