//
// SetupOpacityPopup::updateOpacityLabel from 0x4ba894 to 0x4ba8c4 (48 bytes)
//
// 2 xrefs:
// > SetupOpacityPopup::init @ 0x4bb174
// > SetupOpacityPopup::sliderChanged @ 0x4bb4a6
//
// 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 SetupOpacityPopup::updateOpacityLabel(SetupOpacityPopup *a1)
{
const char *v1; // r1
cocos2d::CCLabelBMFont *m_opacityLabel; // r4
void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r5
cocos2d::CCString *v4; // r0
const char *CString; // r0
m_opacityLabel = a1->m_opacityLabel;
setString = m_opacityLabel->setString;
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Opacity: %.02f",
v1,
a1->m_opacity);
CString = cocos2d::CCString::getCString(v4);
setString(m_opacityLabel, (const unsigned __int8 *)CString);
}