//
// SetGroupIDLayer::updateEditorLabel2 from 0x10003dd0c to 0x10003dd90 (132 bytes)
//
// 4 xrefs:
// > SetGroupIDLayer::init @ 0x10003c2d4
// > SetGroupIDLayer::onNextFreeEditorLayer2 @ 0x10003ce5c
// > SetGroupIDLayer::onPaste @ 0x10003e3cc
// > SetGroupIDLayer::onArrow @ 0x10003e6f8
//
// 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::updateEditorLabel2(SetGroupIDLayer *a1)
{
cocos2d::CCString *v2; // x0
char *CString; // x1
CCTextInputNode *m_editorLayer2Input; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
a1->m_editorLayerEdited = 1;
if ( a1->m_editorLayer2Value < 0 )
{
CString = "";
}
else
{
v2 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_editorLayer2Value);
CString = (char *)cocos2d::CCString::getCString(v2);
}
m_editorLayer2Input = a1->m_editorLayer2Input;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_editorLayer2Input, __p);
if ( v6 < 0 )
operator delete(__p[0]);
a1->m_editorLayerEdited = 0;
}