//
// SetGroupIDLayer::updateEditorLabel2 from 0x1403fd580 to 0x1403fd607 (135 bytes)
//
// 5 xrefs:
// > SetGroupIDLayer::init @ 0x1403f9e47
// > SetGroupIDLayer::onArrow @ 0x1403fb21b
// > SetGroupIDLayer::onPaste @ 0x1403fb847
// > SetGroupIDLayer::onNextFreeEditorLayer2 @ 0x1403fd0c7
// > ??> @ 0x1406d85a0
//
// 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 SetGroupIDLayer::updateEditorLabel2(SetGroupIDLayer *a1)
{
int m_editorLayer2Value; // edx
char *CString; // rax
cocos2d::CCString *v4; // rax
size_t v5; // r8
__int128 v6; // [rsp+20h] [rbp-28h] BYREF
__int64 v7; // [rsp+30h] [rbp-18h]
__int64 v8; // [rsp+38h] [rbp-10h]
m_editorLayer2Value = a1->m_editorLayer2Value;
CString = byte_140518980;
a1->m_editorLayerEdited = 1;
if ( m_editorLayer2Value > -1 )
{
v4 = cocos2d::CCString::createWithFormat("%i", m_editorLayer2Value);
CString = (char *)cocos2d::CCString::getCString(v4);
}
v6 = 0;
v7 = 0;
v5 = -1;
v8 = 0;
do
++v5;
while ( CString[v5] );
sub_14003A930(&v6, CString, v5);
CCTextInputNode::setString((__int64)a1->m_editorLayer2Input, &v6);
a1->m_editorLayerEdited = 0;
}