//
// SetupSongTriggerPopup::pageChanged from 0x1002c0e10 to 0x1002c0e95 (133 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0f7a0
//
// 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 12:28:05 +0000
//
__int64 __fastcall SetupSongTriggerPopup::pageChanged(__int64 a1)
{
__int64 result; // rax
int v2; // r14d
result = SetupTriggerPopup::updateValue((_QWORD *)a1, 0x1ABu, (float)*(int *)(a1 + 920));
if ( *(_QWORD *)(a1 + 1040) )
{
if ( *(_BYTE *)(a1 + 992) )
{
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 1352LL))(a1, 1, 0);
}
else
{
v2 = *(_DWORD *)(a1 + 920);
result = (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1352LL))(a1, 1, v2 < 2);
if ( v2 <= 1 )
return SongSelectNode::updateWidgetVisibility(*(_QWORD *)(a1 + 1040));
}
}
return result;
}