//
// SetGroupIDLayer::updateEditorLabel from 0x10003dc6c to 0x10003dcf0 (132 bytes)
//
// 4 xrefs:
// > SetGroupIDLayer::init @ 0x10003c2cc
// > SetGroupIDLayer::onNextFreeEditorLayer1 @ 0x10003cde8
// > SetGroupIDLayer::onPaste @ 0x10003e3c4
// > SetGroupIDLayer::onArrow @ 0x10003e69c
//
// 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::updateEditorLabel(SetGroupIDLayer *a1)
{
cocos2d::CCString *v2; // x0
char *CString; // x1
CCTextInputNode *m_editorLayerInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
a1->m_editorLayerEdited = 1;
if ( a1->m_editorLayerValue < 0 )
{
CString = "";
}
else
{
v2 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_editorLayerValue);
CString = (char *)cocos2d::CCString::getCString(v2);
}
m_editorLayerInput = a1->m_editorLayerInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_editorLayerInput, __p);
if ( v6 < 0 )
operator delete(__p[0]);
a1->m_editorLayerEdited = 0;
}