//
// GJFollowCommandLayer::onUpdateGroupID from 0x921d10 to 0x921d80 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x62550
// > GJFollowCommandLayer::init @ 0x92190c
// > ??> @ 0x122b2b8
//
// 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 GJFollowCommandLayer::onUpdateGroupID(GJFollowCommandLayer *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;
GJFollowCommandLayer::updateTargetGroupID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
GJFollowCommandLayer::updateTextInputLabel(a1);
}