//
// ColorSelectPopup::updateOpacityLabel from 0x10041e970 to 0x10041e9d4 (100 bytes)
//
// 3 xrefs:
// > ColorSelectPopup::init @ 0x10041cbd4
// > ColorSelectPopup::sliderChanged @ 0x10041e884
// > ColorSelectPopup::onDefault @ 0x10041eaf4
//
// 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 ColorSelectPopup::updateOpacityLabel(ColorSelectPopup *a1)
{
cocos2d::CCLabelBMFont *m_opacityLabel; // x19
cocos2d::CCString *v2; // x0
const char *CString; // x1
m_opacityLabel = a1->m_opacityLabel;
if ( m_opacityLabel )
{
v2 = (cocos2d::CCString *)sub_100268F4C("Opacity: %.02f", a1->m_opacity);
CString = cocos2d::CCString::getCString(v2);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_opacityLabel->setString)(m_opacityLabel, CString);
}
}