//
// SetupSFXPopup::pageChanged from 0x1404484d0 to 0x140448532 (98 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405ef780
// > ??> @ 0x1406da64c
//
// 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 SetupSFXPopup::pageChanged(SetupSFXPopup *a1)
{
_BOOL8 v2; // rdx
CustomSFXWidget *m_sfxWidget; // rcx
int m_page; // eax
SetupTriggerPopup::updateValue(a1, 427, (float)a1->m_page);
m_sfxWidget = a1->m_sfxWidget;
if ( m_sfxWidget )
{
m_page = a1->m_page;
if ( m_page < 2 || m_page == 4 )
{
LOBYTE(v2) = 1;
m_sfxWidget->setVisible(m_sfxWidget, v2);
}
else
{
m_sfxWidget->setVisible(m_sfxWidget, 0);
}
}
}