//
// CustomizeObjectLayer::updateChannelLabel from 0x1001f85e0 to 0x1001f8639 (89 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall CustomizeObjectLayer::updateChannelLabel(CustomizeObjectLayer *a1, int a2)
{
char v2; // al
const char *CString; // rax
cocos2d::CCString *v4; // rax
const std::string::value_type *v5; // rsi
if ( a2 < 1000 )
{
if ( a2 <= 0 )
{
v5 = " ";
goto LABEL_6;
}
v4 = (cocos2d::CCString *)sub_1007AB580("%i", v2);
CString = cocos2d::CCString::getCString(v4);
}
else
{
CString = GJSpecialColorSelect::textForColorIdx(a2);
}
v5 = CString;
LABEL_6:
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const std::string::value_type *))a1->m_selectedColorLabel->setString)(
a1->m_selectedColorLabel,
v5);
}