//
// SelectArtLayer::updateSelectedCustom from 0x10026f2e0 to 0x10026f372 (146 bytes)
//
// 1 xrefs:
// > SetupSmartBlockLayer::onSelectPremade @ 0x1004e6e91
//
// 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 SelectArtLayer::updateSelectedCustom(SelectArtLayer *a1, int a2)
{
cocos2d::CCArray *m_lineSprites; // rdi
int v4; // eax
int v5; // ecx
unsigned int v6; // r14d
ButtonSprite *v7; // rax
const char *v8; // rsi
m_lineSprites = a1->m_lineSprites;
if ( m_lineSprites )
{
v4 = 1;
if ( a2 >= 2 )
v4 = a2;
v5 = 3;
if ( v4 < 3 )
v5 = v4;
a1->m_line = v5;
if ( (unsigned int)sub_100720070(m_lineSprites) )
{
v6 = 0;
do
{
v7 = (ButtonSprite *)sub_1007200C0(a1->m_lineSprites, v6++);
v8 = "GJ_button_04.png";
if ( v6 == a1->m_line )
v8 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v7, v8);
}
while ( v6 < (unsigned int)sub_100720070(a1->m_lineSprites) );
}
}
}