//
// PlayLayer::toggleHideAttempts from 0x30ef88 to 0x30eff2 (106 bytes)
//
// 0 xrefs:
//
// 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; // r0
GameManager *v4; // r0
void (*setVisible)(void); // r3
if ( a1->m_unk36cf != a2 )
{
a1->m_unk36cf = a2;
if ( a2
|| a1->m_isPracticeMode && (v4 = GameManager::sharedState(), GameManager::getGameVariable(v4, "0134"))
|| (v3 = GameManager::sharedState(), GameManager::getGameVariable(v3, "0135")) )
{
setVisible = (void (*)(void))a1->m_attemptLabel->setVisible;
LABEL_8:
setVisible();
return;
}
if ( a1->m_attempts > 0 )
{
setVisible = (void (*)(void))a1->m_attemptLabel->setVisible;
goto LABEL_8;
}
}
}