//
// SetGroupIDLayer::updateZOrderLabel from 0x10003ddac to 0x10003de34 (136 bytes)
//
// 3 xrefs:
// > SetGroupIDLayer::init @ 0x10003c2dc
// > SetGroupIDLayer::onPaste @ 0x10003e3d4
// > SetGroupIDLayer::onArrow @ 0x10003e654
//
// 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::updateZOrderLabel(SetGroupIDLayer *a1)
{
char *CString; // x1
cocos2d::CCString *v3; // x0
CCTextInputNode *m_zOrderInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
a1->m_editorLayerEdited = 1;
if ( a1->m_zOrderValue == -1000 )
{
CString = "Mixed";
}
else
{
v3 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_zOrderValue);
CString = (char *)cocos2d::CCString::getCString(v3);
}
m_zOrderInput = a1->m_zOrderInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_zOrderInput, __p);
if ( v6 < 0 )
operator delete(__p[0]);
a1->m_editorLayerEdited = 0;
}