//
// GJRotateCommandLayer::onUpdateGroupID2 from 0x9283f0 to 0x928458 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0x437a0
// > GJRotateCommandLayer::init @ 0x927698
// > ??> @ 0x122a220
//
// 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 GJRotateCommandLayer::onUpdateGroupID2(GJRotateCommandLayer *a1, cocos2d::CCObject *a2)
{
int v3; // w0
int m_centerGroupID; // w1
int v5; // w1
v3 = a2->getTag(a2);
m_centerGroupID = a1->m_centerGroupID;
if ( v3 == 1 )
v5 = m_centerGroupID + 1;
else
v5 = m_centerGroupID - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > 999 )
v5 = 999;
a1->m_centerGroupID = v5;
GJRotateCommandLayer::updateTargetGroupID2(a1);
GJRotateCommandLayer::updateTextInputLabel2(a1);
}