//
// DailyLevelNode::showSkipButton from 0x1400d2dc0 to 0x1400d2e1b (91 bytes)
//
// 2 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0x1400cfc6d
// > ??> @ 0x1406c85ec
//
// 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; // rcx
GJGameLevel *m_level; // rdx
__int64 v4; // rdx
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 < 100 )
{
LOBYTE(m_level) = 1;
m_skipButton->setVisible(m_skipButton, (bool)m_level);
LOBYTE(v4) = 1;
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_skipButton->__vftable[1].update)(
a1->m_skipButton,
v4);
}
}
}