//
// sub_10011F824 from 0x10011f824 to 0x10011f884 (96 bytes)
//
// 1 xrefs:
// > CustomSongWidget::init @ 0x10011e8fc
//
// 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_10011F824(__int64 result)
{
__int64 v1; // x8
__int64 v2; // x19
void (__fastcall ***v3)(_QWORD, _QWORD); // x0
__int64 v4; // x0
v1 = *(_QWORD *)(result + 336);
if ( v1 )
{
v2 = result;
v3 = *(void (__fastcall ****)(_QWORD, _QWORD))(result + 488);
if ( v3 )
(**v3)(v3, *(unsigned int *)(v1 + 316));
result = CustomSongWidget::updateSongInfo(v2);
if ( *(_BYTE *)(v2 + 512) == 1 )
{
v4 = MusicDownloadManager::sharedState(result);
return MusicDownloadManager::songStateChanged(v4);
}
}
return result;
}