//
// sub_10011F884 from 0x10011f884 to 0x10011f910 (140 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::init @ 0x1000294e0
// > CustomSongWidget::getSongInfoIfUnloaded @ 0x100121a1c
// > CustomSongWidget::init @ 0x10011e948
//
// This function is hookable on this platform (idp: arm, 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 10:59:14 +0000
//
__int64 __fastcall sub_10011F884(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 v3; // x0
if ( *(_QWORD *)(result + 336) )
{
v1 = result;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(result + 376) + 344LL))(*(_QWORD *)(result + 376), 0);
v2 = *(_QWORD *)(v1 + 480);
if ( v2 )
v2 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0);
v3 = MusicDownloadManager::sharedState(v2);
MusicDownloadManager::getSongInfo(v3, *(unsigned int *)(v1 + 504), 0);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v1 + 408) + 960LL))(*(_QWORD *)(v1 + 408), &unk_10075DE56);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 408) + 1056LL))(*(_QWORD *)(v1 + 408), 0);
}
return result;
}