//
// SetGroupIDLayer::updateOrderChannelLabel from 0x10003da7c to 0x10003db24 (168 bytes)
//
// 3 xrefs:
// > SetGroupIDLayer::init @ 0x10003c220
// > SetGroupIDLayer::onNextFreeOrderChannel @ 0x10003dba4
// > SetGroupIDLayer::onArrow @ 0x10003e5ec
//
// 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::updateOrderChannelLabel(SetGroupIDLayer *a1)
{
CCTextInputNode *m_channelInput; // x20
cocos2d::CCString *v3; // x0
char *CString; // x0
void **v5; // x8
_QWORD v6[2]; // [xsp+10h] [xbp-40h] BYREF
char v7; // [xsp+27h] [xbp-29h]
_QWORD v8[2]; // [xsp+28h] [xbp-28h] BYREF
char v9; // [xsp+3Fh] [xbp-11h]
a1->m_editorLayerEdited = 1;
m_channelInput = a1->m_channelInput;
if ( a1->m_channelValue )
{
v3 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_channelValue);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_100009900(v6, CString);
CCTextInputNode::setString(m_channelInput, v6);
if ( v7 < 0 )
{
v5 = (void **)v6;
LABEL_6:
operator delete(*v5);
}
}
else
{
sub_100009900(v8, "");
CCTextInputNode::setString(m_channelInput, v8);
if ( v9 < 0 )
{
v5 = (void **)v8;
goto LABEL_6;
}
}
a1->m_editorLayerEdited = 0;
}