//
// GJLinkObject::getTitle from 0x56cf6a to 0x56cf8c (34 bytes)
//
// 1 xrefs:
// > SongInfoLayer::addLinkRows @ 0x53ab8e
//
// 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:34 +0000
//
GJLinkObject *__fastcall GJLinkObject::getTitle(GJLinkObject *this, int a2)
{
int v3; // r3
int v4; // r3
v3 = *(unsigned __int8 *)(a2 + 8);
if ( (v3 & 1) != 0 )
v4 = *(_DWORD *)(a2 + 12);
else
v4 = v3 >> 1;
if ( v4 )
std::string::basic_string((int *)this, a2 + 8);
else
MusicDownloadManager::linkTitleForType(this, *(_DWORD *)(a2 + 4));
return this;
}