// // ColorSelectPopup::updateColorValue from 0x73c328 to 0x73c3e4 (188 bytes) // // 2 xrefs: // > ColorSelectPopup::colorValueChanged @ 0x740870 // > @ 0x3a7e8 // // 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::updateColorValue(ColorSelectPopup *a1) { EffectGameObject *m_gameObject; // x0 GLubyte r; // w2 GLubyte g; // w1 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v6; // w20 _BYTE *v7; // x0 GLubyte v8; // w2 GLubyte v9; // w1 bool v10; // cf unsigned int v11; // w1 ColorAction *m_colorAction; // x0 GLubyte v13; // w2 GLubyte v14; // w1 if ( !a1->m_initializing ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) { r = a1->m_currentColor.r; g = a1->m_currentColor.g; m_gameObject->m_triggerTargetColor.b = a1->m_currentColor.b; m_gameObject->m_triggerTargetColor.r = r; m_gameObject->m_triggerTargetColor.g = g; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v6 = 0; while ( 1 ) { v10 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v11 = v6++; if ( v10 ) break; v7 = (_BYTE *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v11); v8 = a1->m_currentColor.r; v9 = a1->m_currentColor.g; v7[1434] = a1->m_currentColor.b; v7[1432] = v8; v7[1433] = v9; m_gameObjects = a1->m_gameObjects; } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) { v13 = a1->m_currentColor.r; v14 = a1->m_currentColor.g; m_colorAction->m_fromColor.b = a1->m_currentColor.b; m_colorAction->m_fromColor.r = v13; m_colorAction->m_fromColor.g = v14; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source