//
// MusicDownloadManager::nameForTagID from 0x574c7c to 0x574cc6 (74 bytes)
//
// 1 xrefs:
// > SongInfoObject::getTagsString @ 0x574d74
//
// 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:41 +0000
//
MusicDownloadManager *__fastcall MusicDownloadManager::nameForTagID(MusicDownloadManager *this, int a2, int a3)
{
_DWORD *v4; // r3
int v5; // r0
_DWORD *v6; // r0
int v8; // [sp+4h] [bp-4h] BYREF
v8 = a2;
v4 = *(_DWORD **)(a2 + 348);
v8 = a3;
while ( v4 )
{
v5 = v4[4];
if ( a3 >= v5 )
{
if ( v5 >= a3 )
{
v6 = std::map::operator[]((int **)(a2 + 344), &v8);
std::string::basic_string((int *)this, (int)v6);
return this;
}
v4 = (_DWORD *)v4[1];
}
else
{
v4 = (_DWORD *)*v4;
}
}
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::string::__init((int *)this, &unk_B6B226, 0);
return this;
}