//
// SetupOpacityPopup::updateOpacity from 0xa40f00 to 0xa40f70 (112 bytes)
//
// 3 xrefs:
// > SetupOpacityPopup::sliderChanged @ 0xa41004
// > SetupOpacityPopup::sliderChanged @ 0xa41034
// > ??> @ 0x75a60
//
// 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:59:56 +0000
//
cocos2d::CCArray *__fastcall SetupOpacityPopup::updateOpacity(SetupOpacityPopup *this)
{
cocos2d::CCArray *result; // x0
unsigned int v3; // w20
bool v4; // cf
unsigned int v5; // w1
result = *((cocos2d::CCArray **)this + 85);
if ( result )
{
*((_DWORD *)result + 364) = *((_DWORD *)this + 264);
}
else
{
result = *((cocos2d::CCArray **)this + 86);
if ( result )
{
v3 = 0;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
v4 = v3 >= (unsigned int)result;
v5 = v3++;
if ( v4 )
break;
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v5) + 1456) = *((_DWORD *)this + 264);
result = *((cocos2d::CCArray **)this + 86);
}
}
}
return result;
}