// // PlayLayer::toggleHideAttempts from 0x1000b9d50 to 0x1000b9de3 (147 bytes) // // 1 xrefs: // > @ 0x1008b7390 // // 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) { unsigned __int8 v2; // al GameManager *v3; // rax GameManager *v4; // rax if ( a1->m_unk36cf != a2 ) { a1->m_unk36cf = a2; if ( a2 ) { v2 = 0; } else if ( a1->m_isPracticeMode && (v3 = GameManager::sharedState(), GameManager::getGameVariable(v3, "0134")) || (v4 = GameManager::sharedState(), GameManager::getGameVariable(v4, "0135")) ) { v2 = 0; } else { v2 = 1; if ( a1->m_attempts <= 0 ) return; } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_attemptLabel->setVisible)(a1->m_attemptLabel, v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source