//
// SetupOpacityPopup::updateOpacityLabel from 0x1405c0f20 to 0x1405c0f78 (88 bytes)
//
// 4 xrefs:
// > SetupOpacityPopup::init @ 0x1405c06c5
// > SetupOpacityPopup::sliderChanged @ 0x1405c09f7
// > SetupOpacityPopup::sliderChanged @ 0x1405c0a60
// > ??> @ 0x14092e16c
//
// 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:34:47 +0000
//
__int64 __fastcall SetupOpacityPopup::updateOpacityLabel(__int64 a1)
{
__int64 v1; // rdi
__int64 (__fastcall **v2)(__int64, const char *); // rbx
cocos2d::CCString *v3; // rax
const char *CString; // rax
v1 = *(_QWORD *)(a1 + 1016);
v2 = *(__int64 (__fastcall ***)(__int64, const char *))(v1 + 360);
v3 = cocos2d::CCString::createWithFormat("Opacity: %.02f", *(float *)(a1 + 1040));
CString = cocos2d::CCString::getCString(v3);
return (*v2)(v1 + 360, CString);
}