//
// GJPFollowCommandLayer::onUpdateGroupID from 0x924a18 to 0x924a88 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x682b0
// > GJPFollowCommandLayer::init @ 0x923a28
// > ??> @ 0x122b600
//
// 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; // w0
int m_targetGroupID; // w1
int v5; // w1
v3 = a2->getTag(a2);
m_targetGroupID = a1->m_targetGroupID;
if ( v3 == 1 )
v5 = m_targetGroupID + 1;
else
v5 = m_targetGroupID - 1;
if ( v5 <= 0 )
v5 = 1;
if ( v5 > 9999 )
v5 = 9999;
a1->m_targetGroupID = v5;
GJPFollowCommandLayer::updateTargetGroupID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
GJPFollowCommandLayer::updateTextInputLabel(a1);
}