//
// GJSpecialColorSelect::highlightSelected from 0x1001af5c4 to 0x1001af678 (180 bytes)
//
// 1 xrefs:
// > GJSpecialColorSelect::onSelectColor @ 0x1001af5c0
//
// 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 GJSpecialColorSelect::highlightSelected(GJSpecialColorSelect *a1, ButtonSprite *a2)
{
__int64 v4; // x21
ButtonSprite *v5; // x22
const char *v6; // x1
if ( (unsigned int)sub_10024A36C(a1->m_buttonSprites) )
{
v4 = 0;
do
{
v5 = (ButtonSprite *)sub_10024A388(a1->m_buttonSprites, v4);
if ( ((unsigned int (__fastcall *)(ButtonSprite *))v5->getTag)(v5) == 1008 )
v6 = "GJ_button_05.png";
else
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v5, v6);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_buttonSprites) );
}
if ( a2 )
ButtonSprite::updateBGImage(a2, "GJ_button_02.png");
}