//
// SetupTriggerPopup::refreshGroupVisibility from 0x10012eb60 to 0x10012ec3c (220 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::goToPage @ 0x10012eacc
//
// 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)
{
__int64 v2; // x20
__int64 v3; // x21
int v4; // w22
__int64 v5; // x23
__int64 v6; // x24
bool v7; // zf
if ( (unsigned int)sub_10024A36C(a1->m_groupContainers) && (unsigned int)sub_10024A36C(a1->m_groupContainers) )
{
v2 = 0;
do
{
v3 = sub_10024A388(a1->m_groupContainers, v2);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3);
if ( (unsigned int)sub_10024A36C(v3) )
{
v5 = 0;
do
{
v6 = sub_10024A388(v3, v5);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 336LL))(v6) )
v7 = v4 == 0;
else
v7 = 0;
if ( v7 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 328LL))(v6, 0);
v5 = (unsigned int)(v5 + 1);
}
while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(v3) );
}
v2 = (unsigned int)(v2 + 1);
}
while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_groupContainers) );
}
}