// // ColorSelectPopup::updateColorValue from 0x10041fac0 to 0x10041fb60 (160 bytes) // // 1 xrefs: // > ColorSelectPopup::colorValueChanged @ 0x10041faa0 // // 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::updateColorValue(ColorSelectPopup *a1) { EffectGameObject *m_gameObject; // x8 __int16 v3; // w9 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v5; // w20 __int64 v6; // x0 __int16 v7; // w8 ColorAction *m_colorAction; // x8 __int16 v9; // w9 if ( !a1->m_initializing ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) { v3 = *(_WORD *)&a1->m_currentColor.r; m_gameObject->m_triggerTargetColor.b = a1->m_currentColor.b; *(_WORD *)&m_gameObject->m_triggerTargetColor.r = v3; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { v5 = 0; do { v6 = sub_10024A388((__int64)a1->m_gameObjects, v5); v7 = *(_WORD *)&a1->m_currentColor.r; *(_BYTE *)(v6 + 1450) = a1->m_currentColor.b; *(_WORD *)(v6 + 1448) = v7; ++v5; } while ( v5 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) ); } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) { v9 = *(_WORD *)&a1->m_currentColor.r; m_colorAction->m_fromColor.b = a1->m_currentColor.b; *(_WORD *)&m_colorAction->m_fromColor.r = v9; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source