//
// SetupSongTriggerPopup::pageChanged from 0x10025924c to 0x1002592e0 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x10090f218
//
// This function is hookable on this platform (idp: arm, 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:01:35 +0000
//
__int64 __fastcall SetupSongTriggerPopup::pageChanged(__int64 a1)
{
__int64 result; // x0
int v3; // w20
result = sub_1001AFA70((_QWORD *)a1, 427, (float)*(int *)(a1 + 920));
if ( *(_QWORD *)(a1 + 1040) )
{
if ( (*(_BYTE *)(a1 + 992) & 1) != 0 )
{
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 1352LL))(a1, 1, 0);
}
else
{
v3 = *(_DWORD *)(a1 + 920);
result = (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1352LL))(a1, 1, v3 < 2);
if ( v3 <= 1 )
return SongSelectNode::updateWidgetVisibility(*(_QWORD *)(a1 + 1040));
}
}
return result;
}