//
// HSVLiveOverlay::determineStartValues from 0x10019fe30 to 0x10019ff04 (212 bytes)
//
// 1 xrefs:
// > HSVLiveOverlay::init @ 0x10019fb3c
//
// 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 HSVLiveOverlay::determineStartValues(HSVLiveOverlay *a1)
{
GameObject *m_object; // x0
__int64 v3; // x20
GameObject *v4; // x0
GameObject *v5; // x21
m_object = a1->m_object;
if ( m_object )
{
a1->m_unkBool1 = GameObject::getRelativeSpriteColor(m_object, 1) != nullptr;
a1->m_unkBool2 = GameObject::getRelativeSpriteColor(a1->m_object, 2) != nullptr;
}
else if ( (unsigned int)sub_10024A36C(a1->m_objects) )
{
v3 = 0;
do
{
v4 = (GameObject *)sub_10024A388(a1->m_objects, v3);
v5 = v4;
if ( !a1->m_unkBool1 )
a1->m_unkBool1 = GameObject::getRelativeSpriteColor(v4, 1) != nullptr;
if ( !a1->m_unkBool2 )
a1->m_unkBool2 = GameObject::getRelativeSpriteColor(v5, 2) != nullptr;
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(a1->m_objects) );
}
}