//
// SetupRandAdvTriggerPopup::removeGroupID from 0x65cc44 to 0x65cc8e (74 bytes)
//
// 1 xrefs:
// > SetupRandAdvTriggerPopup::callRemoveFromGroup @ 0x65ccb4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:34 +0000
//
void __fastcall SetupRandAdvTriggerPopup::removeGroupID(SetupRandAdvTriggerPopup *this, int a2)
{
RandTriggerGameObject *v3; // r1
unsigned int i; // r4
RandTriggerGameObject *v6; // r0
v3 = *((RandTriggerGameObject **)this + 132);
*((_BYTE *)this + 712) = 1;
if ( v3 )
{
SetupRandAdvTriggerPopup::removeGroupIDFromObject(this, v3, a2);
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133)); ++i )
{
v6 = (RandTriggerGameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), i);
SetupRandAdvTriggerPopup::removeGroupIDFromObject(this, v6, a2);
}
}
SetupRandAdvTriggerPopup::updateGroupIDButtons((cocos2d::CCArray **)this);
}