//
// SetupSongTriggerPopup::pageChanged from 0x1405f3aa0 to 0x1405f3b1f (127 bytes)
//
// 2 xrefs:
// > ??> @ 0x1408061d8
// > ??> @ 0x14092f39c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:35:06 +0000
//
void __fastcall SetupSongTriggerPopup::pageChanged(__int64 a1)
{
__int64 v2; // r8
__int64 v3; // rdx
SetupTriggerPopup::updateValue(a1, 427);
if ( *(_QWORD *)(a1 + 1024) )
{
if ( *(_BYTE *)(a1 + 976) || *(int *)(a1 + 904) >= 2 )
{
(*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, 1, 0);
}
else
{
LOBYTE(v2) = 1;
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 1, v2);
SongSelectNode::updateWidgetVisibility(*(_QWORD *)(a1 + 1024), v3);
}
}
}