//
// SetupTriggerPopup::addObjectToGroup from 0x100235c60 to 0x100235cda (122 bytes)
//
// 4 xrefs:
// > SetupRotateCommandPopup::init @ 0x100005e10
// > SetupEnterEffectPopup::init @ 0x1003f1c1b
// > SetupAreaTintTriggerPopup::init @ 0x1004d87ba
// > SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim @ 0x1004dc184
//
// 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::addObjectToGroup(SetupTriggerPopup *a1, cocos2d::CCObject *a2, int a3)
{
cocos2d::CCObject *v4; // rbx
cocos2d::CCArray *i; // rdi
cocos2d::CCArray *m_groupContainers; // r12
__int64 v8; // rax
v4 = a2;
for ( i = a1->m_groupContainers; (unsigned int)sub_100720070(i) <= a3; i = a1->m_groupContainers )
{
m_groupContainers = a1->m_groupContainers;
a2 = (cocos2d::CCObject *)sub_10071F9E0(i, a2);
sub_10071FCD0(m_groupContainers, a2);
}
v8 = sub_1007200C0(a1->m_groupContainers, (unsigned int)a3);
sub_10071FCD0(v8, v4);
}