//
// GameObject::updateHSVState from 0x356a62 to 0x356a92 (48 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::getLevelString @ 0x374a3a
//
// 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 GameObject::updateHSVState(GameObject *a1)
{
GJSpriteColor *m_baseColor; // r5
GJSpriteColor *m_detailColor; // r4
m_baseColor = a1->m_baseColor;
m_detailColor = a1->m_detailColor;
if ( m_baseColor )
m_baseColor->m_usesHSV = sub_353670((int)&m_baseColor->m_hsv) ^ 1;
if ( m_detailColor )
m_detailColor->m_usesHSV = sub_353670((int)&m_detailColor->m_hsv) ^ 1;
}