//
// SetGroupIDLayer::updateZOrderLabel from 0x63afbc to 0x63b060 (164 bytes)
//
// 4 xrefs:
// > SetGroupIDLayer::onPaste @ 0x63b150
// > SetGroupIDLayer::onArrow @ 0x63b3d2
// > SetGroupIDLayer::onArrow @ 0x63b472
// > SetGroupIDLayer::init @ 0x63e08c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:24 +0000
//
int __fastcall SetGroupIDLayer::updateZOrderLabel(SetGroupIDLayer *this)
{
const char *v1; // r1
cocos2d::CCString *v3; // r0
int v4; // r2
const char *CString; // r6
size_t v6; // r0
int v7; // r9
int result; // r0
int v9[3]; // [sp+0h] [bp-14h] BYREF
v1 = *((const char **)this + 147);
*((_BYTE *)this + 609) = 1;
if ( v1 == (const char *)-1000 )
{
v4 = *((_DWORD *)this + 148);
if ( !v4 )
{
CString = "Mixed";
goto LABEL_9;
}
if ( v4 <= 0 )
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s%i", "M");
else
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s%i", "M+");
}
else
{
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v1);
}
CString = (const char *)cocos2d::CCString::getCString(v3);
LABEL_9:
memset(v9, 0, sizeof(v9));
v6 = strlen(CString);
v7 = *((_DWORD *)this + 137);
std::string::__init(v9, CString, v6);
CCTextInputNode::setString(v7, (int)v9);
result = std::string::~string((int)v9);
*((_BYTE *)this + 609) = 0;
return result;
}