//
// SongSelectNode::updateWidgetVisibility from 0x1002197f0 to 0x100219868 (120 bytes)
//
// 1 xrefs:
// > SetupSongTriggerPopup::pageChanged @ 0x1002d42eb
//
// 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 SongSelectNode::updateWidgetVisibility(SongSelectNode *a1)
{
bool v1; // al
bool v2; // r14
v1 = a1->m_isCustomSong && a1->m_selectedSongID != 0;
v2 = v1;
((void (__fastcall *)(CustomSongWidget *, bool))a1->m_songWidget->setVisible)(a1->m_songWidget, v1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_selectButton->setVisible)(
a1->m_selectButton,
a1->m_isCustomSong && !v2);
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_changeButton->setVisible)(
a1->m_changeButton,
a1->m_isCustomSong && v2);
}