//
// GJLinkObject::getTitle from 0x95e3b4 to 0x95e44c (152 bytes)
//
// 2 xrefs:
// > SongInfoLayer::addLinkRows @ 0x903918
// > ??> @ 0x8bde0
//
// 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 12:57:29 +0000
//
__int64 *__usercall GJLinkObject::getTitle@(__int64 *__return_ptr a1@, GJLinkObject *this@)
{
__int64 v3; // x3
__int64 v4; // x1
v3 = *((_BYTE *)this + 8) >> 1;
if ( (*((_BYTE *)this + 8) & 1) != 0 )
v3 = *((_QWORD *)this + 2);
if ( v3 )
{
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
if ( (*((_BYTE *)this + 8) & 1) != 0 )
{
std::string::__init(a1, *((void **)this + 3), *((_QWORD *)this + 2));
return a1;
}
else
{
v4 = *((_QWORD *)this + 2);
*a1 = *((_QWORD *)this + 1);
a1[1] = v4;
a1[2] = *((_QWORD *)this + 3);
return a1;
}
}
else
{
MusicDownloadManager::linkTitleForType((MusicDownloadManager *)*((unsigned int *)this + 1), a1);
return a1;
}
}