//
// SetupTriggerPopup::refreshGroupVisibility from 0x100235820 to 0x100235942 (290 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::goToPage @ 0x100235778
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupTriggerPopup::refreshGroupVisibility(SetupTriggerPopup *a1)
{
unsigned int v1; // r14d
__int64 v2; // r15
int v3; // r12d
unsigned int v4; // r12d
__int64 v5; // rax
unsigned int v6; // r12d
__int64 v7; // r13
if ( (unsigned int)sub_100720070(a1->m_groupContainers) && (unsigned int)sub_100720070(a1->m_groupContainers) )
{
v1 = 0;
do
{
v2 = sub_1007200C0(a1->m_groupContainers, v1);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 64LL))(v2);
if ( (unsigned int)sub_100720070(v2) )
{
if ( v3 )
{
v4 = 0;
do
{
v5 = sub_1007200C0(v2, v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 336LL))(v5);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(v2) );
}
else
{
v6 = 0;
do
{
v7 = sub_1007200C0(v2, v6);
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v7 + 336LL))(v7) )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 328LL))(v7, 0);
++v6;
}
while ( v6 < (unsigned int)sub_100720070(v2) );
}
}
++v1;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_groupContainers) );
}
}