//
// SetupRandAdvTriggerPopup::removeGroupID from 0x10002f6c4 to 0x10002f748 (132 bytes)
//
// 1 xrefs:
// > SetupRandAdvTriggerPopup::callRemoveFromGroup @ 0x10002f8b8
//
// 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 SetupRandAdvTriggerPopup::removeGroupID(SetupRandAdvTriggerPopup *a1, int a2)
{
RandTriggerGameObject *m_gameObject; // x1
__int64 v5; // x21
SetupRandAdvTriggerPopup *v6; // x0
a1->m_performedAction = 1;
m_gameObject = (RandTriggerGameObject *)a1->m_gameObject;
if ( m_gameObject )
{
SetupRandAdvTriggerPopup::removeGroupIDFromObject(a1, m_gameObject, a2);
}
else if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) )
{
v5 = 0;
do
{
v6 = (SetupRandAdvTriggerPopup *)sub_10024A388(a1->m_gameObjects, v5);
SetupRandAdvTriggerPopup::removeGroupIDFromObject(v6, (RandTriggerGameObject *)v6, a2);
v5 = (unsigned int)(v5 + 1);
}
while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );
}
SetupRandAdvTriggerPopup::updateGroupIDButtons(a1);
}