//
// SetupSFXPopup::pageChanged from 0x100180bbc to 0x100180c14 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a3fe8
//
// 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 SetupSFXPopup::pageChanged(SetupSFXPopup *a1)
{
CustomSFXWidget *m_sfxWidget; // x0
int m_page; // w8
_BOOL8 v5; // x1
SetupTriggerPopup::updateValue(a1, 427, (float)a1->m_page);
m_sfxWidget = a1->m_sfxWidget;
if ( m_sfxWidget )
{
m_page = a1->m_page;
v5 = m_page < 2 || m_page == 4;
((void (__fastcall *)(CustomSFXWidget *, _BOOL8))m_sfxWidget->setVisible)(m_sfxWidget, v5);
}
}