//
// ColorSelectPopup::updateOpacityLabel from 0x14012a420 to 0x14012a47b (91 bytes)
//
// 6 xrefs:
// > ColorSelectPopup::init @ 0x140127473
// > ColorSelectPopup::onDefault @ 0x140129f4a
// > ColorSelectPopup::sliderChanged @ 0x14012a1ec
// > ??> @ 0x1408985b8
// > ??> @ 0x1408985c8
// > ??> @ 0x140916b5c
//
// 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:00 +0000
//
void __fastcall ColorSelectPopup::updateOpacityLabel(__int64 a1)
{
__int64 v1; // rdi
void (__fastcall **v2)(__int64, const char *); // rbx
cocos2d::CCString *v3; // rax
const char *CString; // rax
v1 = *(_QWORD *)(a1 + 1032);
if ( v1 )
{
v2 = *(void (__fastcall ***)(__int64, const char *))(v1 + 360);
v3 = cocos2d::CCString::createWithFormat("Opacity: %.02f", *(float *)(a1 + 1124));
CString = cocos2d::CCString::getCString(v3);
(*v2)(v1 + 360, CString);
}
}