//
// sub_1002582E8 from 0x1002582e8 to 0x100258378 (144 bytes)
//
// 4 xrefs:
// > SetupSongTriggerPopup::dSetupSongTriggerPopup @ 0x10025837c
// > sub_100258380 @ 0x100258384
// > sub_100258388 @ 0x100258390
// > sub_10025839C @ 0x1002583a8
//
// 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 11:01:34 +0000
//
__int64 __fastcall sub_1002582E8(_QWORD *a1)
{
__int64 v2; // x0
*a1 = off_10090ECD8;
a1[40] = off_10090F2D0;
a1[41] = &off_10090F340;
a1[42] = off_10090F358;
a1[43] = off_10090F378;
a1[44] = off_10090F3A0;
a1[51] = off_10090F3D0;
a1[54] = off_10090F450;
a1[68] = off_10090F470;
a1[83] = &off_10090F4B8;
a1[84] = off_10090F4D0;
a1[128] = off_10090F4F0;
a1[129] = &off_10090F560;
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::removeMusicDownloadDelegate(v2, (__int64)(a1 + 128));
return sub_100210FDC(a1);
}