//
// sub_100033168 from 0x100033168 to 0x1000331ec (132 bytes)
//
// 1 xrefs:
// > sub_100033330 @ 0x10003335c
//
// 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 10:57:31 +0000
//
void __fastcall sub_100033168(__int64 a1, __int64 a2)
{
__int64 v4; // x1
__int64 v5; // x21
__int64 v6; // x0
*(_BYTE *)(a1 + 1012) = 1;
v4 = *(_QWORD *)(a1 + 680);
if ( v4 )
{
sub_1000331EC(a1, v4, a2);
}
else if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 688)) )
{
v5 = 0;
do
{
v6 = sub_1002E75A0(*(_QWORD *)(a1 + 688), v5);
sub_1000331EC(v6, v6, a2);
v5 = (unsigned int)(v5 + 1);
}
while ( (unsigned int)v5 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 688)) );
}
SetupRandAdvTriggerPopup::updateGroupIDButtons(a1);
}