//
// GJRotateCommandLayer::updateTextInputLabel2 from 0x4df360 to 0x4df3d2 (114 bytes)
//
// 2 xrefs:
// > GJRotateCommandLayer::init @ 0x4e04f8
// > GJRotateCommandLayer::onUpdateGroupID2 @ 0x4e0740
//
// 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::updateTextInputLabel2(GJRotateCommandLayer *a1)
{
const char *m_centerGroupID; // r1
cocos2d::CCString *v3; // r0
char *CString; // r1
CCTextInputNode *m_centerIDInput; // r7
char *v6; // r2
char v7[4]; // [sp+8h] [bp-Ch] BYREF
m_centerGroupID = (const char *)a1->m_centerGroupID;
a1->m_disableTextChanged = 1;
if ( m_centerGroupID == (const char *)-99999 )
{
CString = (char *)&unk_939830;
}
else
{
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_centerGroupID);
CString = (char *)cocos2d::CCString::getCString(v3);
}
m_centerIDInput = a1->m_centerIDInput;
sub_776584((int)v7, CString);
CCTextInputNode::setString((int)m_centerIDInput, v7, v6);
sub_774008(v7);
a1->m_disableTextChanged = 0;
}