// // ColorSelectPopup::updateOpacity from 0x140091370 to 0x140091414 (164 bytes) // // 5 xrefs: // > ColorSelectPopup::onDefault @ 0x14009100c // > ColorSelectPopup::sliderChanged @ 0x1400912b4 // > @ 0x140669398 // > @ 0x1406693a8 // > @ 0x1406c6ff0 // // 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 ColorSelectPopup::updateOpacity(ColorSelectPopup *a1) { EffectGameObject *m_gameObject; // rcx cocos2d::CCArray *m_gameObjects; // rcx unsigned int v4; // edi struct cocos2d::CCObject *v5; // rax ColorAction *m_colorAction; // rcx m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_opacity = a1->m_opacity; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v4 = 0; if ( cocos2d::CCArray::count(m_gameObjects) ) { do { v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++); v5[26].m_nTag = LODWORD(a1->m_opacity); } while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) m_colorAction->m_fromOpacity = a1->m_opacity; } } }