//
// MusicBrowser::cellPerformedAction from 0x6bd3e4 to 0x6bd416 (50 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MusicBrowser::cellPerformedAction @ 0x6bd41a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:47 +0000
//
int __fastcall MusicBrowser::cellPerformedAction(int a1, int a2, int a3, int a4)
{
int v6; // r3
int **v7; // r0
int v8; // r2
if ( a3 != 14 || a4 != 1 )
return 0;
v6 = *(_DWORD *)(*(_DWORD *)(a2 + 424) + 264);
*(_BYTE *)(a1 + 629) = a4;
*(_DWORD *)(a1 + 620) = v6;
v7 = (int **)MusicDownloadManager::sharedState((MusicDownloadManager *)a1);
MusicDownloadManager::noteSongUsed(v7, *(_DWORD *)(a1 + 620), v8);
return a4;
}