//
// GJFollowCommandLayer::onUpdateGroupID from 0x1001373ac to 0x100137414 (104 bytes)
//
// 1 xrefs:
// > GJFollowCommandLayer::init @ 0x100136cb4
//
// 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 __fastcall GJFollowCommandLayer::onUpdateGroupID(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)
{
int v3; // w9
int v4; // w8
if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 )
v3 = 1;
else
v3 = -1;
v4 = a1->m_targetGroupID + v3;
if ( v4 <= 1 )
v4 = 1;
if ( v4 >= 9999 )
v4 = 9999;
a1->m_targetGroupID = v4;
GJFollowCommandLayer::updateTargetGroupID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
GJFollowCommandLayer::updateTextInputLabel(a1);
}