//
// GJFollowCommandLayer::onUpdateGroupID2 from 0x1402720d0 to 0x140272121 (81 bytes)
//
// 2 xrefs:
// > GJFollowCommandLayer::init @ 0x140271572
// > ??> @ 0x1406d0e24
//
// 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; // eax
int m_followGroupID; // edx
int v5; // r8d
int v6; // edx
int v7; // eax
v3 = a2->getTag(a2);
m_followGroupID = a1->m_followGroupID;
v5 = m_followGroupID - 1;
v6 = m_followGroupID + 1;
if ( v3 != 1 )
v6 = v5;
v7 = 0;
if ( v6 >= 0 )
v7 = v6;
if ( v7 > 9999 )
v7 = 9999;
a1->m_followGroupID = v7;
GJFollowCommandLayer::updateTargetGroupID2(a1);
GJFollowCommandLayer::updateTextInputLabel2(a1);
}