//
// DailyLevelNode::showSkipButton from 0x1001ba46c to 0x1001ba4d8 (108 bytes)
//
// 2 xrefs:
// > DailyLevelPage::createDailyNode @ 0x1001ba0bc
// > DailyLevelPage::dailyStatusFinished @ 0x1001ba324
//
// 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 DailyLevelNode::showSkipButton(DailyLevelNode *a1)
{
CCMenuItemSpriteExtra *m_skipButton; // x0
GJGameLevel *m_level; // x8
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 )
{
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))m_skipButton->setVisible)(m_skipButton, 1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_skipButton->__vftable[1].setScaleY)(
a1->m_skipButton,
1);
}
}
}