//
// SetGroupIDLayer::updateGroupIDLabel from 0x10003dbcc to 0x10003dc50 (132 bytes)
//
// 4 xrefs:
// > SetGroupIDLayer::init @ 0x10003c2c4
// > SetGroupIDLayer::onNextGroupID1 @ 0x10003d4b4
// > SetGroupIDLayer::onPaste @ 0x10003e3bc
// > SetGroupIDLayer::onArrow @ 0x10003e684
//
// 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 SetGroupIDLayer::updateGroupIDLabel(SetGroupIDLayer *a1)
{
cocos2d::CCString *v2; // x0
char *CString; // x1
CCTextInputNode *m_groupIDInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
a1->m_editorLayerEdited = 1;
if ( a1->m_groupIDValue < 0 )
{
CString = "";
}
else
{
v2 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_groupIDValue);
CString = (char *)cocos2d::CCString::getCString(v2);
}
m_groupIDInput = a1->m_groupIDInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_groupIDInput, __p);
if ( v6 < 0 )
operator delete(__p[0]);
a1->m_editorLayerEdited = 0;
}