//
// CustomSongWidget::updateSongObject from 0x1000fbcf8 to 0x1000fbd64 (108 bytes)
//
// 6 xrefs:
// > CustomSongWidget::init @ 0x1000fa81c
// > CustomSongWidget::loadSongInfoFinished @ 0x1000fdf00
// > CustomSongLayer::onSearch @ 0x1001447d0
// > CustomSongLayer::dropDownLayerWillClose @ 0x100144ca4
// > CustomSongLayer::musicBrowserClosed @ 0x100144d0c
// > SongSelectNode::onSongMode @ 0x100147a40
//
// 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 CustomSongWidget::updateSongObject(CustomSongWidget *a1, SongInfoObject *a2)
{
cocos2d::extension::CCScale9Sprite *m_bgSpr; // x0
SongInfoObject *m_songInfoObject; // x8
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0);
m_bgSpr = a1->m_bgSpr;
if ( m_bgSpr )
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD))m_bgSpr->setVisible)(m_bgSpr, 0);
sub_1000FA890((__int64)a1, a2);
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject )
LODWORD(m_songInfoObject) = m_songInfoObject->m_songID;
a1->m_customSongID = (int)m_songInfoObject;
CustomSongWidget::updateSongInfo(a1);
}