//
// CustomizeObjectLayer::updateCustomColorLabels from 0x140143d20 to 0x140143da8 (136 bytes)
//
// 7 xrefs:
// > CustomizeObjectLayer::init @ 0x140140aef
// > CustomizeObjectLayer::colorSetupClosed @ 0x140142497
// > CustomizeObjectLayer::onNextColorChannel @ 0x140143070
// > CustomizeObjectLayer::toggleVisible @ 0x1401434a1
// > CustomizeObjectLayer::updateCurrentSelection @ 0x1401436ab
// > CustomizeObjectLayer::onUpdateCustomColor @ 0x140143730
// > ??> @ 0x140917444
//
// This function is hookable on this platform (idp: pc, 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 11:27:10 +0000
//
void __fastcall CustomizeObjectLayer::updateCustomColorLabels(__int64 a1)
{
cocos2d::CCString *v2; // rax
char *CString; // rbx
size_t v4; // r8
__int128 v5; // [rsp+20h] [rbp-28h] BYREF
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
v2 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(a1 + 748));
CString = (char *)cocos2d::CCString::getCString(v2);
ButtonSprite::setString(*(__int64 **)(a1 + 856), CString);
v5 = 0;
v6 = 0;
v4 = -1;
v7 = 0;
do
++v4;
while ( CString[v4] );
sub_14003D230(&v5, CString, v4);
CCTextInputNode::setString(*(_QWORD **)(a1 + 816), &v5);
}