//
// SetGroupIDLayer::updateOrderChannelLabel from 0xabc1dc to 0xabc2ec (272 bytes)
//
// 4 xrefs:
// > SetGroupIDLayer::onArrow @ 0xabc41c
// > SetGroupIDLayer::onNextFreeOrderChannel @ 0xabc654
// > SetGroupIDLayer::init @ 0xac0518
// > ??> @ 0xe4028
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:02 +0000
//
__int64 __fastcall SetGroupIDLayer::updateOrderChannelLabel(SetGroupIDLayer *this)
{
const char *v2; // x1
_QWORD *v3; // x22
cocos2d::CCString *v5; // x0
const char *CString; // x0
size_t v7; // x0
char *v8; // [xsp+38h] [xbp+38h]
__int64 v9; // [xsp+40h] [xbp+40h] BYREF
__int64 v10; // [xsp+48h] [xbp+48h]
void *v11; // [xsp+50h] [xbp+50h]
v2 = (const char *)*((unsigned int *)this + 189);
*((_BYTE *)this + 797) = 1;
v3 = *((_QWORD **)this + 93);
if ( (_DWORD)v2 )
{
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v2);
CString = (const char *)cocos2d::CCString::getCString(v5);
v9 = 0;
v8 = (char *)CString;
v10 = 0;
v11 = nullptr;
v7 = strlen(CString);
std::string::__init(&v9, v8, v7);
}
else
{
v9 = 0;
v10 = 0;
v11 = nullptr;
std::string::__init(&v9, &byte_11B8890, 0);
}
CCTextInputNode::setString(v3, (char *)&v9);
if ( (v9 & 1) != 0 )
operator delete(v11);
*((_BYTE *)this + 797) = 0;
return _stack_chk_guard;
}