//
// CustomizeObjectLayer::updateCustomColorLabels from 0x57ea34 to 0x57eaa6 (114 bytes)
//
// 5 xrefs:
// > CustomizeObjectLayer::colorSetupClosed @ 0x57ead2
// > CustomizeObjectLayer::onNextColorChannel @ 0x57eb36
// > CustomizeObjectLayer::updateCurrentSelection @ 0x57eb96
// > CustomizeObjectLayer::onUpdateCustomColor @ 0x57ee70
// > CustomizeObjectLayer::init @ 0x580428
//
// 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:52:51 +0000
//
int __fastcall CustomizeObjectLayer::updateCustomColorLabels(CustomizeObjectLayer *this)
{
cocos2d::CCString *v2; // r0
char *CString; // r6
size_t v4; // r0
int v5; // r7
int v7[3]; // [sp+0h] [bp-14h] BYREF
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *((const char **)this + 141));
CString = (char *)cocos2d::CCString::getCString(v2);
ButtonSprite::setString(*((_DWORD *)this + 155), CString);
memset(v7, 0, sizeof(v7));
v4 = strlen(CString);
v5 = *((_DWORD *)this + 150);
std::string::__init(v7, CString, v4);
CCTextInputNode::setString(v5, (int)v7);
return std::string::~string((int)v7);
}