//
// GJFollowCommandLayer::onUpdateGroupID2 from 0x921e00 to 0x921e68 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0xc8598
// > GJFollowCommandLayer::init @ 0x921268
// > ??> @ 0x122ef68
//
// 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::onUpdateGroupID2(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)
{
int v3; // w0
int m_followGroupID; // w1
int v5; // w1
v3 = a2->getTag(a2);
m_followGroupID = a1->m_followGroupID;
if ( v3 == 1 )
v5 = m_followGroupID + 1;
else
v5 = m_followGroupID - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > 9999 )
v5 = 9999;
a1->m_followGroupID = v5;
GJFollowCommandLayer::updateTargetGroupID2(a1);
GJFollowCommandLayer::updateTextInputLabel2(a1);
}