//
// SongSelectNode::updateWidgetVisibility from 0x100147a58 to 0x100147ad8 (128 bytes)
//
// 2 xrefs:
// > SongSelectNode::onSongMode @ 0x100147a54
// > SetupSongTriggerPopup::pageChanged @ 0x1001c3794
//
// 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)
{
_BOOL8 v2; // x20
v2 = a1->m_isCustomSong && a1->m_selectedSongID != 0;
((void (__fastcall *)(CustomSongWidget *, _BOOL8))a1->m_songWidget->setVisible)(a1->m_songWidget, v2);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_selectButton->setVisible)(
a1->m_selectButton,
!v2 & (unsigned int)a1->m_isCustomSong);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_changeButton->setVisible)(
a1->m_changeButton,
(unsigned __int8)v2 & a1->m_isCustomSong);
}