//
// CustomSongWidget::onMore from 0x14016b4f0 to 0x14016b58f (159 bytes)
//
// 2 xrefs:
// > CustomSongWidget::init @ 0x140169983
// > ??> @ 0x1409180e0
//
// 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 11:27:29 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall CustomSongWidget::onMore(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rax
__int64 v3; // rcx
__int64 SongInfoObject; // rax
void *v5; // [rsp+30h] [rbp+8h]
v1 = *(_QWORD *)(a1 + 336);
if ( v1 )
{
if ( *(_BYTE *)(a1 + 500) )
{
v2 = SongInfoLayer::create_1(*(unsigned int *)(v1 + 320));
}
else
{
v3 = qword_14090C070;
if ( !qword_14090C070 )
{
v5 = operator new(0x3D0u);
qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);
v3 = qword_14090C070;
}
SongInfoObject = MusicDownloadManager::getSongInfoObject(v3, *(unsigned int *)(v1 + 320));
if ( SongInfoObject )
v1 = SongInfoObject;
v2 = SongInfoLayer::create_2(v1);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL))(v2);
}
}