// // ColorSelectPopup::updateHSVValue from 0x73fe40 to 0x73ff28 (232 bytes) // // 2 xrefs: // > ColorSelectPopup::closeColorSelect @ 0x7400b8 // > @ 0x59b38 // // 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::updateHSVValue(ColorSelectPopup *a1) { EffectGameObject *m_gameObject; // x0 float h; // w3 float s; // w2 bool absoluteBrightness; // w4 float v; // w1 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v8; // w20 __int64 v9; // x1 float v10; // w4 float v11; // w3 bool v12; // w5 float v13; // w2 bool v14; // cf unsigned int v15; // w1 ColorAction *m_colorAction; // x0 float v17; // w3 float v18; // w2 bool v19; // w4 float v20; // w1 m_gameObject = a1->m_gameObject; if ( m_gameObject ) { h = a1->m_hsv.h; s = a1->m_hsv.s; absoluteBrightness = a1->m_hsv.absoluteBrightness; v = a1->m_hsv.v; m_gameObject->m_hsvValue.absoluteSaturation = a1->m_hsv.absoluteSaturation; m_gameObject->m_hsvValue.absoluteBrightness = absoluteBrightness; m_gameObject->m_hsvValue.h = h; m_gameObject->m_hsvValue.s = s; m_gameObject->m_hsvValue.v = v; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v8 = 0; while ( 1 ) { v14 = v8 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v15 = v8++; if ( v14 ) break; v9 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v15); v10 = a1->m_hsv.h; v11 = a1->m_hsv.s; v12 = a1->m_hsv.absoluteBrightness; v13 = a1->m_hsv.v; m_gameObjects = a1->m_gameObjects; *(_BYTE *)(v9 + 1608) = a1->m_hsv.absoluteSaturation; *(_BYTE *)(v9 + 1609) = v12; *(float *)(v9 + 1596) = v10; *(float *)(v9 + 1600) = v11; *(float *)(v9 + 1604) = v13; } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) { v17 = a1->m_hsv.h; v18 = a1->m_hsv.s; v19 = a1->m_hsv.absoluteBrightness; v20 = a1->m_hsv.v; m_colorAction->m_copyHSV.absoluteSaturation = a1->m_hsv.absoluteSaturation; m_colorAction->m_copyHSV.absoluteBrightness = v19; m_colorAction->m_copyHSV.h = v17; m_colorAction->m_copyHSV.s = v18; m_colorAction->m_copyHSV.v = v20; } } } }