//
// SetupOpacityPopup::updateOpacityLabel from 0x5e93f8 to 0x5e9428 (48 bytes)
//
// 2 xrefs:
// > SetupOpacityPopup::sliderChanged @ 0x5e976a
// > SetupOpacityPopup::init @ 0x5e9dfa
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:21 +0000
//
int __fastcall SetupOpacityPopup::updateOpacityLabel(SetupOpacityPopup *this, const char *a2)
{
int v2; // r4
int (__fastcall *v3)(int, int); // r5
cocos2d::CCString *v4; // r0
int CString; // r0
v2 = *((_DWORD *)this + 180);
v3 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Opacity: %.02f",
a2,
*((float *)this + 183));
CString = cocos2d::CCString::getCString(v4);
return v3(v2, CString);
}