//
// CustomSongWidget::getSongInfoIfUnloaded from 0x3df8f8 to 0x3df95e (102 bytes)
//
// 2 xrefs:
// > CustomSongLayer::init @ 0x45f37c
// > CustomSongLayer::onSearch @ 0x45f660
//
// 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::getSongInfoIfUnloaded(CustomSongWidget *a1)
{
SongInfoObject *m_songInfoObject; // r7
_BYTE v3[4]; // [sp+8h] [bp-Ch] BYREF
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject )
{
if ( m_songInfoObject->m_unloaded )
{
sub_776584((int)v3, "Loading");
sub_775D40(&m_songInfoObject->m_songName, v3);
sub_774008(v3);
CustomSongWidget::updateSongInfo(a1);
CustomSongWidget::onGetSongInfo(a1, nullptr);
}
}
}