// // MusicDownloadManager::createArtistsInfo from 0x10058d820 to 0x10058da5d (573 bytes) // // 1 xrefs: // > MusicDownloadManager::createSongsInfo @ 0x10058d448 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCDictionary *__fastcall MusicDownloadManager::createArtistsInfo(__int64 a1, unsigned __int8 *a2) { unsigned int v2; // eax __int128 v3; // xmm0 void **v4; // r15 void **v5; // r13 cocos2d::CCDictionary *v6; // rbx __int64 v7; // r14 unsigned __int64 v8; // r12 int v9; // r13d cocos2d::CCObject *v10; // r15 void **v11; // rdi __int16 v13[12]; // [rsp+0h] [rbp-B0h] BYREF __int16 v14[12]; // [rsp+18h] [rbp-98h] BYREF __int128 v15; // [rsp+30h] [rbp-80h] BYREF void *__p; // [rsp+40h] [rbp-70h] void *v17[2]; // [rsp+50h] [rbp-60h] BYREF __int64 v18; // [rsp+60h] [rbp-50h] __int128 v19; // [rsp+70h] [rbp-40h] BYREF void *v20; // [rsp+80h] [rbp-30h] v2 = *a2; if ( (v2 & 1) != 0 ) { if ( *((_QWORD *)a2 + 1) ) goto LABEL_3; return nullptr; } if ( !(v2 >> 1) ) return nullptr; LABEL_3: *(_QWORD *)&v3 = 0; *(_OWORD *)v17 = 0; v18 = 0; sub_10058DFB0(a2, ",", v17); v4 = (void **)v17[0]; v5 = (void **)v17[1]; if ( 0xAAAAAAAAAAAAAAABLL * (((char *)v17[1] - (char *)v17[0]) >> 3) < 2 ) { v6 = nullptr; } else { v6 = cocos2d::CCDictionary::create(); v4 = (void **)v17[0]; v5 = (void **)v17[1]; if ( v17[1] != v17[0] ) { v7 = 5; v8 = 0; do { if ( ((__int64)v4[v7 - 5] & 1) != 0 ) { v9 = atoi((const char *)v4[v7 - 3]); if ( ((__int64)v4[v7 - 2] & 1) != 0 ) { LABEL_9: sub_100006B70(&v19, v4[v7], (unsigned __int64)v4[v7 - 1], *(double *)&v3); if ( v9 > 0 ) goto LABEL_13; goto LABEL_19; } } else { v9 = atoi((const char *)&v4[v7 - 4] - 7); if ( ((__int64)v4[v7 - 2] & 1) != 0 ) goto LABEL_9; } v20 = v4[v7]; v3 = *(_OWORD *)&v4[v7 - 2]; v19 = v3; if ( v9 > 0 ) { LABEL_13: if ( (v19 & 1) != 0 ) { sub_100006B70(&v15, v20, *((unsigned __int64 *)&v19 + 1), *(double *)&v3); } else { __p = v20; *(_QWORD *)&v3 = v19; v15 = v19; } v13[0] = 0; v14[0] = 0; v10 = (cocos2d::CCObject *)MusicArtistObject::create((unsigned int)v9, &v15, v13, v14); if ( (v15 & 1) != 0 ) operator delete(__p); cocos2d::CCDictionary::setObject(v6, v10, (unsigned int)v9); } LABEL_19: if ( (v19 & 1) != 0 ) operator delete(v20); v8 += 2LL; v4 = (void **)v17[0]; v5 = (void **)v17[1]; v7 += 6; } while ( v8 < 0xAAAAAAAAAAAAAAABLL * (((char *)v17[1] - (char *)v17[0]) >> 3) ); } } if ( v4 ) { v11 = v4; if ( v5 != v4 ) { do { if ( (*(_BYTE *)(v5 - 3) & 1) != 0 ) operator delete(*(v5 - 1)); v5 -= 3; } while ( v5 != v4 ); v11 = (void **)v17[0]; } v17[1] = v4; operator delete(v11); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source