//
// DailyLevelNode::showSkipButton from 0x4d4b70 to 0x4d4bac (60 bytes)
//
// 2 xrefs:
// > DailyLevelPage::createDailyNode @ 0x4d4ce8
// > DailyLevelPage::dailyStatusFinished @ 0x4d5adc
//
// 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 DailyLevelNode::showSkipButton(DailyLevelNode *a1)
{
CCMenuItemSpriteExtra *m_skipButton; // r0
GJGameLevel *m_level; // r2
m_skipButton = a1->m_skipButton;
if ( m_skipButton )
{
m_level = a1->m_level;
if ( !m_level || m_level->m_orbCompletion.random - m_level->m_orbCompletion.seed <= 99 )
{
m_skipButton->setVisible(m_skipButton, 1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, int))a1->m_skipButton->__vftable[1].setScaleY)(a1->m_skipButton, 1);
}
}
}