//
// CustomSongWidget::updateSongObject from 0x3deaf4 to 0x3deb4e (90 bytes)
//
// 6 xrefs:
// > CustomSongWidget::init @ 0x3df728
// > CustomSongWidget::loadSongInfoFinished @ 0x3e0700
// > CustomSongLayer::dropDownLayerWillClose @ 0x45e46a
// > CustomSongLayer::musicBrowserClosed @ 0x45e4aa
// > CustomSongLayer::onSearch @ 0x45f658
// > SongSelectNode::onSongMode @ 0x46081e
//
// 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 CustomSongWidget::updateSongObject(CustomSongWidget *a1, SongInfoObject *a2)
{
cocos2d::extension::CCScale9Sprite *m_bgSpr; // r0
SongInfoObject *m_songInfoObject; // r0
SongInfoObject *v6; // r3
a1->m_errorLabel->setVisible(a1->m_errorLabel, 0);
m_bgSpr = a1->m_bgSpr;
if ( m_bgSpr )
m_bgSpr->setVisible(m_bgSpr, 0);
if ( a1->m_songInfoObject != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject )
cocos2d::CCObject::release(m_songInfoObject);
a1->m_songInfoObject = a2;
}
v6 = a1->m_songInfoObject;
if ( v6 )
v6 = (SongInfoObject *)v6->m_songID;
a1->m_customSongID = (int)v6;
CustomSongWidget::updateSongInfo(a1);
}