//
// ColorSelectPopup::updateOpacityLabel from 0x862c48 to 0x862c94 (76 bytes)
//
// 4 xrefs:
// > ColorSelectPopup::sliderChanged @ 0x862d60
// > ColorSelectPopup::onDefault @ 0x863514
// > ColorSelectPopup::init @ 0x866034
// > ??> @ 0x56c98
//
// This function is hookable on this platform (idp: arm, 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 12:55:37 +0000
//
__int64 __fastcall ColorSelectPopup::updateOpacityLabel(__int64 this)
{
const char **v1; // x19
__int64 (__fastcall *v2)(const char **, __int64); // x20
cocos2d::CCString *v3; // x0
__int64 CString; // x0
v1 = *(const char ***)(this + 1048);
if ( v1 )
{
v2 = *((__int64 (__fastcall **)(const char **, __int64))*v1 + 116);
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Opacity: %.02f",
*v1,
*(float *)(this + 1140));
CString = cocos2d::CCString::getCString(v3);
return v2(v1, CString);
}
return this;
}