//
// SetupOpacityPopup::updateDuration from 0x100023e80 to 0x100023eec (108 bytes)
//
// 2 xrefs:
// > SetupOpacityPopup::sliderChanged @ 0x100023b04
// > SetupOpacityPopup::textChanged @ 0x10002400c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupOpacityPopup::updateDuration(SetupOpacityPopup *a1)
{
EffectGameObject *m_gameObject; // x8
cocos2d::CCArray *m_gameObjects; // x0
__int64 v4; // x20
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_duration = a1->m_fadeTime;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_10024A36C(m_gameObjects) )
{
v4 = 0;
do
{
*(float *)(sub_10024A388(a1->m_gameObjects, v4) + 1452) = a1->m_fadeTime;
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );
}
}
}