//
// SetupSFXPopup::pageChanged from 0x100213aec to 0x100213b44 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fa590
//
// 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:03 +0000
//
__int64 __fastcall SetupSFXPopup::pageChanged(__int64 a1)
{
__int64 result; // x0
int v3; // w8
_BOOL8 v5; // x1
sub_1001AFA70((_QWORD *)a1, 427, (float)*(int *)(a1 + 920));
result = *(_QWORD *)(a1 + 1048);
if ( result )
{
v3 = *(_DWORD *)(a1 + 920);
v5 = v3 < 2 || v3 == 4;
return (*(__int64 (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)result + 344LL))(result, v5);
}
return result;
}