//
// SelectArtLayer::onSelectCustom from 0x56f7e0 to 0x56f83c (92 bytes)
//
// 1 xrefs:
// > SelectArtLayer::updateSelectedCustom @ 0x570e58
//
// 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 SelectArtLayer::onSelectCustom(SelectArtLayer *a1, cocos2d::CCObject *a2)
{
int m_line; // r3
unsigned int v4; // r5
ButtonSprite *v5; // r0
const char *v6; // r1
if ( a2 )
a1->m_line = a2->getTag(a2);
m_line = a1->m_line;
v4 = 0;
if ( m_line < 1 )
m_line = 1;
if ( m_line >= 3 )
m_line = 3;
a1->m_line = m_line;
while ( v4 < cocos2d::CCArray::count(a1->m_lineSprites) )
{
v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_lineSprites, v4++);
if ( a1->m_line == v4 )
v6 = "GJ_button_02.png";
else
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v5, v6);
}
}