//
// GJPFollowCommandLayer::onUpdateGroupID from 0x4de5ba to 0x4de600 (70 bytes)
//
// 0 xrefs:
//
// 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; // r0
int m_targetGroupID; // r3
int v5; // r3
v3 = a2->getTag(a2);
m_targetGroupID = a1->m_targetGroupID;
if ( v3 == 1 )
v5 = m_targetGroupID + 1;
else
v5 = m_targetGroupID - 1;
if ( v5 < 1 )
v5 = 1;
if ( v5 > 9999 )
a1->m_targetGroupID = 9999;
else
a1->m_targetGroupID = v5;
GJPFollowCommandLayer::updateTargetGroupID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
GJPFollowCommandLayer::updateTextInputLabel(a1);
}