// // MusicDownloadManager::parseLinkRows from 0x57343c to 0x57361c (480 bytes) // // 4 xrefs: // > SongInfoObject::setSongLinks @ 0x57365c // > SongInfoObject::setArtistLinks @ 0x573690 // > MusicDownloadManager::parseMusicLibrary @ 0x5790da // > MusicDownloadManager::parseMusicLibrary @ 0x579116 // // 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:39 +0000 // unsigned __int8 *__fastcall MusicDownloadManager::parseLinkRows(unsigned __int8 *result, unsigned int *a2) { int v2; // r6 int v4; // r3 unsigned int v5; // r7 int v6; // r4 int v7; // r11 const char *v8; // r0 int v9; // r0 char v10; // r3 const char *v11; // r0 int v12; // r3 GJLinkObject *v13; // r0 int v14; // [sp+14h] [bp-58h] BYREF int v15; // [sp+18h] [bp-54h] int v16; // [sp+1Ch] [bp-50h] int v17; // [sp+20h] [bp-4Ch] BYREF int v18; // [sp+24h] [bp-48h] int v19; // [sp+28h] [bp-44h] int v20; // [sp+2Ch] [bp-40h] BYREF int v21; // [sp+30h] [bp-3Ch] _BYTE *v22; // [sp+34h] [bp-38h] int v23; // [sp+38h] [bp-34h] BYREF int v24; // [sp+3Ch] [bp-30h] _BYTE *v25; // [sp+40h] [bp-2Ch] _DWORD v26[2]; // [sp+44h] [bp-28h] BYREF int v27; // [sp+4Ch] [bp-20h] BYREF int v28; // [sp+50h] [bp-1Ch] _BYTE *v29; // [sp+54h] [bp-18h] int v30; // [sp+58h] [bp-14h] BYREF int v31; // [sp+5Ch] [bp-10h] _BYTE *v32; // [sp+60h] [bp-Ch] v2 = *result; if ( (v2 & 1) != 0 ) v4 = *((_DWORD *)result + 1); else v4 = v2 >> 1; if ( v4 ) { v14 = 0; v15 = 0; v16 = 0; sub_56DAB4(result, ";", &v14); v5 = 0; v17 = 0; v18 = 0; v19 = 0; while ( v5 < -1431655765 * ((v15 - v14) >> 2) ) { v6 = v17; while ( v6 != v18 ) { v18 -= 12; std::string::~string(v18); } sub_56DAB4((unsigned __int8 *)(v14 + 12 * v5), ",", &v17); if ( (unsigned int)(-1431655765 * ((v18 - v17) >> 2)) > 3 ) { GJLinkObject::GJLinkObject((GJLinkObject *)v26); v7 = v17; if ( (*(_BYTE *)v17 & 1) != 0 ) v8 = *(const char **)(v17 + 8); else v8 = (const char *)(v17 + 1); v9 = atoi(v8); v10 = *(_BYTE *)(v7 + 12); v26[0] = v9; if ( (v10 & 1) != 0 ) v11 = *(const char **)(v7 + 20); else v11 = (const char *)(v7 + 13); v26[1] = atoi(v11); cocos2d::ZipUtils::urlDecode(&v20, v7 + 24); if ( (v27 & 1) != 0 ) { *v29 = 0; v28 = 0; } else { LOWORD(v27) = 0; } std::string::reserve(&v27, 0); v27 = v20; v28 = v21; v29 = v22; v20 = 0; v21 = 0; v22 = nullptr; std::string::~string((int)&v20); cocos2d::ZipUtils::urlDecode(&v23, v17 + 36); if ( (v30 & 1) != 0 ) { *v32 = 0; v31 = 0; } else { LOWORD(v30) = 0; } std::string::reserve(&v30, 0); v30 = v23; v31 = v24; v32 = v25; v23 = 0; v24 = 0; v25 = nullptr; std::string::~string((int)&v23); if ( (v30 & 1) != 0 ) v12 = v31; else v12 = (int)(unsigned __int8)v30 >> 1; if ( v12 ) { v13 = (GJLinkObject *)a2[1]; if ( v13 == (GJLinkObject *)a2[2] ) { std::vector::__push_back_slow_path(a2, (GJLinkObject *)v26); } else { if ( v13 ) GJLinkObject::GJLinkObject(v13, (const GJLinkObject *)v26); a2[1] += 32; } } GJLinkObject::~GJLinkObject((GJLinkObject *)v26); } ++v5; } std::__vector_base::~__vector_base((int)&v17); return (unsigned __int8 *)std::__vector_base::~__vector_base((int)&v14); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source