//
// HSVLiveOverlay::determineStartValues from 0x69c296 to 0x69c31c (134 bytes)
//
// 1 xrefs:
// > HSVLiveOverlay::init @ 0x69c576
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:19 +0000
//
unsigned int __fastcall HSVLiveOverlay::determineStartValues(HSVLiveOverlay *this)
{
GameObject *v2; // r0
unsigned int i; // r5
unsigned int result; // r0
GameObject *v5; // r0
GameObject *v6; // r6
v2 = *((GameObject **)this + 131);
if ( !v2 )
{
for ( i = 0; ; ++i )
{
result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 132));
if ( i >= result )
return result;
v5 = (GameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 132), i);
v6 = v5;
if ( *((_BYTE *)this + 552) )
{
if ( *((_BYTE *)this + 553) )
continue;
}
else
{
*((_BYTE *)this + 552) = GameObject::getRelativeSpriteColor(v5, 1) != 0;
}
if ( !*((_BYTE *)this + 553) )
*((_BYTE *)this + 553) = GameObject::getRelativeSpriteColor(v6, 2) != 0;
}
}
*((_BYTE *)this + 552) = GameObject::getRelativeSpriteColor(v2, 1) != 0;
result = GameObject::getRelativeSpriteColor(*((GameObject **)this + 131), 2) != 0;
*((_BYTE *)this + 553) = result;
return result;
}