//
// HSVLiveOverlay::determineStartValues from 0x5643a6 to 0x56442c (134 bytes)
//
// 1 xrefs:
// > HSVLiveOverlay::init @ 0x564630
//
// 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 HSVLiveOverlay::determineStartValues(HSVLiveOverlay *a1)
{
GameObject *m_object; // r0
unsigned int i; // r5
GameObject *v4; // r0
GameObject *v5; // r6
m_object = a1->m_object;
if ( !m_object )
{
for ( i = 0; ; ++i )
{
if ( i >= cocos2d::CCArray::count(a1->m_objects) )
return;
v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_objects, i);
v5 = v4;
if ( a1->m_unkBool1 )
{
if ( a1->m_unkBool2 )
continue;
}
else
{
a1->m_unkBool1 = GameObject::getRelativeSpriteColor(v4, 1) != nullptr;
}
if ( !a1->m_unkBool2 )
a1->m_unkBool2 = GameObject::getRelativeSpriteColor(v5, 2) != nullptr;
}
}
a1->m_unkBool1 = GameObject::getRelativeSpriteColor(m_object, 1) != nullptr;
a1->m_unkBool2 = GameObject::getRelativeSpriteColor(a1->m_object, 2) != nullptr;
}