//
// sub_10026B1E8 from 0x10026b1e8 to 0x10026b29c (180 bytes)
//
// 1 xrefs:
// > SetupSequenceTriggerPopup::init @ 0x10026a93c
//
// 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:43 +0000
//
__int64 __fastcall sub_10026B1E8(__int64 result, __int64 a2)
{
__int64 v2; // x19
int v3; // w20
__int64 v4; // x22
__int64 v5; // x0
__int64 v6; // x21
int v7; // w0
__int64 v8; // x1
if ( *(_QWORD *)(result + 1016) )
{
v2 = result;
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *(_QWORD *)(v2 + 680);
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 1016) + 64LL))(*(_QWORD *)(v2 + 1016));
result = sub_1004313C8(v4, v5, v3 != 3);
if ( (_DWORD)result )
{
v6 = *(_QWORD *)(v2 + 1016);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6);
if ( v3 == 3 )
v8 = (unsigned int)(v7 + 1);
else
v8 = (unsigned int)(v7 - 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 72LL))(v6, v8);
return SetupSequenceTriggerPopup::updateGroupIDButtons(v2);
}
}
return result;
}