//
// GJFollowCommandLayer::onUpdateGroupID from 0x140272070 to 0x1402720cf (95 bytes)
//
// 2 xrefs:
// > GJFollowCommandLayer::init @ 0x14027144e
// > ??> @ 0x1406d0e18
//
// 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; // eax
int m_targetGroupID; // edx
int v5; // r8d
int v6; // edx
int v7; // eax
v3 = a2->getTag(a2);
m_targetGroupID = a1->m_targetGroupID;
v5 = m_targetGroupID - 1;
v6 = m_targetGroupID + 1;
if ( v3 != 1 )
v6 = v5;
if ( v6 < 1 )
{
v6 = 1;
LABEL_6:
v7 = v6;
goto LABEL_7;
}
v7 = 9999;
if ( v6 <= 9999 )
goto LABEL_6;
LABEL_7:
a1->m_targetGroupID = v7;
GJFollowCommandLayer::updateTargetGroupID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
GJFollowCommandLayer::updateTextInputLabel(a1);
}