//
// GJSpecialColorSelect::highlightSelected from 0x8e6858 to 0x8e6904 (172 bytes)
//
// 2 xrefs:
// > GJSpecialColorSelect::onSelectColor @ 0x8e6950
// > ??> @ 0x3f360
//
// 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 GJSpecialColorSelect::highlightSelected(GJSpecialColorSelect *a1, ButtonSprite *a2)
{
unsigned int v4; // w19
ButtonSprite *v5; // x20
const char *v6; // x1
bool v7; // cf
unsigned int v8; // w1
v4 = 0;
while ( 1 )
{
v7 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_buttonSprites);
v8 = v4++;
if ( v7 )
break;
v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_buttonSprites, v8);
if ( v5->getTag(v5) == 1008 )
v6 = "GJ_button_05.png";
else
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v5, v6);
}
if ( a2 )
ButtonSprite::updateBGImage(a2, "GJ_button_02.png");
}