// // PlayLayer::toggleHideAttempts from 0x10011e8a4 to 0x10011e93c (152 bytes) // // 1 xrefs: // > @ 0x10078fdd0 // // 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 __fastcall PlayLayer::toggleHideAttempts(PlayLayer *a1, bool a2) { GameManager *v3; // x0 GameManager *v4; // x0 __int64 v5; // x1 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")) ) { v5 = 0; } else { if ( a1->m_attempts < 1 ) return; v5 = 1; } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->m_attemptLabel->setVisible)(a1->m_attemptLabel, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source