//
// MusicBrowser::cellPerformedAction from 0x10046a7a4 to 0x10046a7f4 (80 bytes)
//
// 2 xrefs:
// > sub_10046A7F4 @ 0x10046a7f8
// > ??> @ 0x10096b3f0
//
// 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:05:34 +0000
//
__int64 __fastcall MusicBrowser::cellPerformedAction(__int64 a1, __int64 a2, int a3, int a4)
{
bool v4; // zf
__int64 v5; // x19
__int64 v7; // x0
v4 = a3 == 14 && a4 == 1;
v5 = v4;
if ( v4 )
{
*(_DWORD *)(a1 + 864) = *(_DWORD *)(*(_QWORD *)(a2 + 560) + 316LL);
*(_BYTE *)(a1 + 873) = 1;
v7 = MusicDownloadManager::sharedState();
sub_1001D5FE4(v7, *(_DWORD *)(a1 + 864));
}
return v5;
}