//
// MusicDownloadManager::linkTitleForType from 0x56c740 to 0x56c826 (230 bytes)
//
// 1 xrefs:
// > GJLinkObject::getTitle @ 0x56cf84
//
// 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:52:33 +0000
//
MusicDownloadManager *__fastcall MusicDownloadManager::linkTitleForType(MusicDownloadManager *this, int a2)
{
const char *v3; // r1
size_t v4; // r2
switch ( a2 )
{
case 1:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "YouTube";
*((_DWORD *)this + 2) = 0;
goto LABEL_19;
case 2:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Newgrounds";
*((_DWORD *)this + 2) = 0;
goto LABEL_5;
case 3:
*(_DWORD *)this = 0;
v3 = "SoundCloud";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_5:
v4 = 10;
break;
case 4:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Spotify";
*((_DWORD *)this + 2) = 0;
goto LABEL_19;
case 5:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Bandcamp";
*((_DWORD *)this + 2) = 0;
goto LABEL_13;
case 6:
v4 = 3;
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "NCS";
*((_DWORD *)this + 2) = 0;
break;
case 7:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Website";
*((_DWORD *)this + 2) = 0;
goto LABEL_19;
case 8:
v4 = 9;
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Instagram";
*((_DWORD *)this + 2) = 0;
break;
case 9:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Twitter";
*((_DWORD *)this + 2) = 0;
goto LABEL_19;
case 10:
*(_DWORD *)this = 0;
v3 = "Facebook";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_13:
v4 = 8;
break;
case 11:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Twitch";
*((_DWORD *)this + 2) = 0;
goto LABEL_17;
case 12:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Discord";
*((_DWORD *)this + 2) = 0;
goto LABEL_19;
case 13:
*(_DWORD *)this = 0;
v3 = "TikTok";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_17:
v4 = 6;
break;
case 14:
*(_DWORD *)this = 0;
v3 = "Itch.io";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_19:
v4 = 7;
break;
default:
v4 = 4;
*(_DWORD *)this = 0;
v3 = "Link";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
break;
}
std::string::__init((int *)this, v3, v4);
return this;
}