//
// SetGroupIDLayer::updateGroupIDLabel from 0x63b078 to 0x63b10a (146 bytes)
//
// 4 xrefs:
// > SetGroupIDLayer::onPaste @ 0x63b13e
// > SetGroupIDLayer::onNextGroupID1 @ 0x63b1a4
// > SetGroupIDLayer::onArrow @ 0x63b33c
// > SetGroupIDLayer::init @ 0x63e07a
//
// 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
//
IDNameInput *__fastcall SetGroupIDLayer::updateGroupIDLabel(SetGroupIDLayer *this)
{
const char *v1; // r1
cocos2d::CCString *v3; // r0
const char *CString; // r8
size_t v5; // r0
int v6; // r9
IDNameInput *result; // r0
int v8[3]; // [sp+0h] [bp-14h] BYREF
v1 = *((const char **)this + 144);
*((_BYTE *)this + 609) = 1;
if ( (int)v1 < 0 )
{
CString = (const char *)&unk_B6B226;
}
else
{
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v1);
CString = (const char *)cocos2d::CCString::getCString(v3);
}
memset(v8, 0, sizeof(v8));
v5 = strlen(CString);
v6 = *((_DWORD *)this + 138);
std::string::__init(v8, CString, v5);
CCTextInputNode::setString(v6, (int)v8);
std::string::~string((int)v8);
result = *((IDNameInput **)this + 161);
*((_BYTE *)this + 609) = 0;
if ( result )
return (IDNameInput *)IDNameInput::refreshLabel(result);
return result;
}