//
// GJPFollowCommandLayer::onUpdateGroupID from 0x14028c5f0 to 0x14028c64f (95 bytes)
//
// 3 xrefs:
// > GJPFollowCommandLayer::init @ 0x14028b7e4
// > GJPFollowCommandLayer::init @ 0x14028b8d1
// > ??> @ 0x1406d16b8
//
// 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 GJPFollowCommandLayer::onUpdateGroupID(GJPFollowCommandLayer *a1, cocos2d::CCObject *a2)
{
int v3; // eax
int m_targetGroupID; // edx
int v5; // r8d
int v6; // edx
int v7; // eax
v3 = a2->getTag(a2);
m_targetGroupID = a1->m_targetGroupID;
v5 = m_targetGroupID - 1;
v6 = m_targetGroupID + 1;
if ( v3 != 1 )
v6 = v5;
if ( v6 < 1 )
{
v6 = 1;
LABEL_6:
v7 = v6;
goto LABEL_7;
}
v7 = 9999;
if ( v6 <= 9999 )
goto LABEL_6;
LABEL_7:
a1->m_targetGroupID = v7;
GJPFollowCommandLayer::updateTargetGroupID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
GJPFollowCommandLayer::updateTextInputLabel(a1);
}