//
// CustomSongWidget::getSongInfoIfUnloaded from 0x1400ca9e0 to 0x1400caa96 (182 bytes)
//
// 3 xrefs:
// > CustomSongLayer::init @ 0x1400c385d
// > CustomSongLayer::onSearch @ 0x1400c3d0c
// > ??> @ 0x1406c82d4
//
// 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
//
// Hidden C++ exception states: #wind=1
void CustomSongWidget::getSongInfoIfUnloaded(CustomSongWidget *a1)
{
SongInfoObject *m_songInfoObject; // rcx
void **p_m_songName; // rcx
char v4[8]; // [rsp+20h] [rbp-28h] BYREF
__int64 v5; // [rsp+28h] [rbp-20h]
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject && m_songInfoObject->m_unloaded )
{
v5 = 0;
v6 = 7;
v7 = 15;
strcpy(v4, "Loading");
p_m_songName = (void **)&m_songInfoObject->m_songName;
if ( p_m_songName != (void **)v4 )
sub_14003CCE0(p_m_songName, v4, 7u);
sub_14003A830((__int64)v4);
CustomSongWidget::updateSongInfo(a1);
CustomSongWidget::onGetSongInfo(a1, nullptr);
}
}