// // ColorSelectPopup::updateHSVValue from 0x100729210 to 0x1007292dc (204 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::updateHSVValue(ColorSelectPopup *a1) { EffectGameObject *m_gameObject; // rax __int64 v3; // rcx cocos2d::CCArray *m_gameObjects; // rdi unsigned int v5; // r14d __int64 v6; // rax __int64 v7; // rcx ColorAction *m_colorAction; // rax __int64 v9; // rcx m_gameObject = a1->m_gameObject; if ( m_gameObject ) { v3 = *(_QWORD *)&a1->m_hsv.v; *(_QWORD *)&m_gameObject->m_hsvValue.h = *(_QWORD *)&a1->m_hsv.h; *(_QWORD *)&m_gameObject->m_hsvValue.v = v3; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { if ( (unsigned int)sub_100720070((__int64)m_gameObjects) ) { v5 = 0; do { v6 = sub_1007200C0((__int64)a1->m_gameObjects, v5); v7 = *(_QWORD *)&a1->m_hsv.v; *(_QWORD *)(v6 + 1612) = *(_QWORD *)&a1->m_hsv.h; *(_QWORD *)(v6 + 1620) = v7; ++v5; } while ( v5 < (unsigned int)sub_100720070((__int64)a1->m_gameObjects) ); } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) { v9 = *(_QWORD *)&a1->m_hsv.v; *(_QWORD *)&m_colorAction->m_copyHSV.h = *(_QWORD *)&a1->m_hsv.h; *(_QWORD *)&m_colorAction->m_copyHSV.v = v9; } } } }