//
// CustomSongWidget::onMore from 0x1006f8d70 to 0x1006f8dd3 (99 bytes)
//
// 1 xrefs:
// > CustomSongWidget::init @ 0x1006f7946
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:54 +0000
//
__int64 __fastcall CustomSongWidget::onMore(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rbx
__int64 v3; // rax
__int64 v4; // rax
__int64 SongInfoObject; // rax
v2 = *(_QWORD *)(a1 + 336);
if ( v2 )
{
if ( *(_BYTE *)(a1 + 500) == 1 )
{
v3 = SongInfoLayer::create_1(*(_DWORD *)(v2 + 316));
}
else
{
v4 = MusicDownloadManager::sharedState();
SongInfoObject = MusicDownloadManager::getSongInfoObject(v4, *(_DWORD *)(v2 + 316));
if ( SongInfoObject )
v2 = SongInfoObject;
v3 = (__int64)SongInfoLayer::create_2(v2);
}
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}
return result;
}