// // ColorSelectPopup::updateOpacity from 0x1007290d0 to 0x100729173 (163 bytes) // // 0 xrefs: // // 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 ColorSelectPopup::updateOpacity(ColorSelectPopup *a1) { EffectGameObject *m_gameObject; // rax cocos2d::CCArray *m_gameObjects; // rdi unsigned int v4; // r14d ColorAction *m_colorAction; // rax m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_opacity = a1->m_opacity; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { if ( (unsigned int)sub_100720070((__int64)m_gameObjects) ) { v4 = 0; do *(float *)(sub_1007200C0((__int64)a1->m_gameObjects, v4++) + 1456) = a1->m_opacity; while ( v4 < (unsigned int)sub_100720070((__int64)a1->m_gameObjects) ); } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) m_colorAction->m_fromOpacity = a1->m_opacity; } } }