//
// HSVLiveOverlay::determineStartValues from 0x10026ad90 to 0x10026ae7b (235 bytes)
//
// 1 xrefs:
// > HSVLiveOverlay::init @ 0x10026aaaf
//
// 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; // rdi
unsigned int i; // r14d
GameObject *v4; // rax
GameObject *v5; // r15
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;
return;
}
if ( (unsigned int)sub_100720070(a1->m_objects) )
{
for ( i = 0; i < (unsigned int)sub_100720070(a1->m_objects); ++i )
{
v4 = (GameObject *)sub_1007200C0(a1->m_objects, i);
v5 = v4;
if ( a1->m_unkBool1 )
{
if ( !a1->m_unkBool2 )
goto LABEL_11;
}
else
{
a1->m_unkBool1 = GameObject::getRelativeSpriteColor(v4, 1) != nullptr;
if ( !a1->m_unkBool2 )
LABEL_11:
a1->m_unkBool2 = GameObject::getRelativeSpriteColor(v5, 2) != nullptr;
}
}
}
}