// // sub_961B60 from 0x961b60 to 0x961e14 (692 bytes) // // 46 xrefs: // > MusicDownloadManager::sumLocalAudioSizeBytes @ 0x961e68 // > MusicDownloadManager::sumLocalAudioSizeBytes @ 0x961f44 // > MusicDownloadManager::onGetAudioFilesizeCompleted @ 0x962234 // > MusicDownloadManager::parseLinkRows @ 0x9623e0 // > MusicDownloadManager::parseLinkRows @ 0x96243c // > MusicDownloadManager::createArtistsInfo @ 0x96471c // > MusicDownloadManager::customSFXPathDisplay @ 0x965e24 // > MusicDownloadManager::parseSFXLibrary @ 0x96b9a8 // > MusicDownloadManager::parseSFXLibrary @ 0x96b9f0 // > MusicDownloadManager::parseSFXLibrary @ 0x96baf4 // > MusicDownloadManager::parseSFXLibrary @ 0x96bc88 // > MusicDownloadManager::parseSFXLibrary @ 0x96bd00 // > MusicDownloadManager::parseSFXLibrary @ 0x96c170 // > MusicDownloadManager::parseSFXLibrary @ 0x96c258 // > MusicDownloadManager::parseSFXLibrary @ 0x96c284 // > MusicDownloadManager::parseSFXLibrary @ 0x96c35c // > MusicDownloadManager::parseSFXLibrary @ 0x96c4b0 // > SongInfoObject::getArtistNames @ 0x96dd60 // > SongInfoObject::addTags @ 0x96e050 // > MusicDownloadManager::importCustomSFXSetup @ 0x96fd4c // > MusicDownloadManager::importCustomSFXSetup @ 0x96fe00 // > MusicDownloadManager::importCustomSFXSetup @ 0x96fe78 // > MusicDownloadManager::importCustomSFXSetup @ 0x970160 // > MusicDownloadManager::importCustomSFXSetup @ 0x9704dc // > MusicDownloadManager::decodeCustomSFX @ 0x970e5c // > MusicDownloadManager::decodeCustomSFXMappingEntries @ 0x972190 // > MusicDownloadManager::decodeCustomSFXMappingEntries @ 0x972204 // > MusicDownloadManager::importCustomSFXMappings @ 0x9725b8 // > SongInfoObject::updateArtists @ 0x9733fc // > MusicDownloadManager::parseMusicLibrary @ 0x976bbc // > MusicDownloadManager::parseMusicLibrary @ 0x976d18 // > MusicDownloadManager::parseMusicLibrary @ 0x976da4 // > MusicDownloadManager::parseMusicLibrary @ 0x97721c // > MusicDownloadManager::parseMusicLibrary @ 0x9772a8 // > MusicDownloadManager::parseMusicLibrary @ 0x977804 // > MusicDownloadManager::parseMusicLibrary @ 0x977884 // > MusicDownloadManager::parseMusicLibrary @ 0x977efc // > MusicDownloadManager::parseMusicLibrary @ 0x977fd0 // > MusicDownloadManager::parseMusicLibrary @ 0x977ffc // > MusicDownloadManager::parseMusicLibrary @ 0x9780d4 // > MusicDownloadManager::parseMusicLibrary @ 0x978224 // > MusicDownloadManager::parseNewsFeed @ 0x97b10c // > MusicDownloadManager::parseNewsFeed @ 0x97b154 // > MusicDownloadManager::parseNewsFeed @ 0x97b430 // > MusicDownloadManager::parseNewsFeed @ 0x97b7d0 // > MusicDownloadManager::parseNewsFeed @ 0x97b868 // // 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:34 +0000 // __int64 __fastcall sub_961B60(unsigned __int8 *a1, char *a2, __int64 *a3) { int v6; // w26 unsigned __int8 *v7; // x23 __int64 v8; // x24 size_t v9; // x0 __int64 v10; // x23 unsigned __int64 v11; // x27 int v12; // w28 __int64 v13; // x1 unsigned __int64 v14; // x0 unsigned __int8 *v15; // x23 unsigned __int64 v16; // x26 size_t v17; // x0 unsigned __int8 *v18; // x4 unsigned __int8 *v19; // x26 char *v20; // x0 int v21; // w3 char *v22; // x1 int v24; // w20 size_t v25; // x0 char *v26; // x0 __int64 v27; // x4 unsigned __int8 *v28; // x3 int v29; // w2 char *v30; // x20 __int64 v31[2]; // [xsp+60h] [xbp+60h] BYREF void *v32; // [xsp+70h] [xbp+70h] v6 = *a1; if ( (v6 & 1) != 0 ) { v7 = *((unsigned __int8 **)a1 + 2); v8 = *((_QWORD *)a1 + 1); v9 = strlen(a2); if ( !v9 || !v8 || (v27 = (__int64)&v7[v8], v26 = &a2[v9], v7 == &v7[v8]) ) { LABEL_4: v10 = -1; goto LABEL_5; } } else { v24 = v6 >> 1; v25 = strlen(a2); v8 = v6 >> 1; if ( !v25 || !v24 ) goto LABEL_4; v7 = a1 + 1; v26 = &a2[v25]; v27 = (__int64)&a1[v24 + 1]; if ( a1 + 1 == (unsigned __int8 *)v27 ) { v10 = -1; goto LABEL_54; } } v28 = v7; while ( a2 == v26 ) { LABEL_46: if ( (unsigned __int8 *)v27 == ++v28 ) { v10 = -1; goto LABEL_51; } } v29 = *v28; if ( (unsigned __int8)*a2 != v29 ) { v30 = a2; while ( v26 != ++v30 ) { if ( (unsigned __int8)*v30 == v29 ) goto LABEL_50; } goto LABEL_46; } LABEL_50: v10 = v28 - v7; LABEL_51: v24 = v6 >> 1; if ( (v6 & 1) != 0 ) { v8 = *((_QWORD *)a1 + 1); goto LABEL_5; } LABEL_54: v8 = v24; LABEL_5: v11 = 0; LABEL_6: while ( 2 ) { std::string::basic_string(v31, (__int64)a1, v11, v10 - v11); v12 = v31[0] & 1; v13 = LOBYTE(v31[0]) >> 1; if ( (v31[0] & 1) != 0 ) v13 = v31[1]; if ( !v13 && v11 == v8 ) { LABEL_14: if ( v10 == -1 ) break; goto LABEL_15; } v14 = a3[1]; if ( v14 != a3[2] ) { if ( v14 ) { std::string::basic_string(v14, v31); v14 = a3[1]; v12 = v31[0] & 1; } a3[1] = v14 + 24; goto LABEL_14; } std::vector::__push_back_slow_path(a3, v31); v12 = v31[0] & 1; if ( v10 != -1 ) { LABEL_15: v11 = v10 + 1; if ( (*a1 & 1) != 0 ) { v15 = *((unsigned __int8 **)a1 + 2); v16 = *((_QWORD *)a1 + 1); } else { v15 = a1 + 1; v16 = *a1 >> 1; } v17 = strlen(a2); if ( v17 ) { if ( v11 < v16 ) { v18 = &v15[v11]; v19 = &v15[v16]; v20 = &a2[v17]; if ( &v15[v11] != v19 ) { while ( 1 ) { if ( a2 != v20 ) { v21 = *v18; if ( (unsigned __int8)*a2 == v21 ) { LABEL_31: v10 = v18 - v15; if ( v12 ) goto LABEL_21; goto LABEL_6; } v22 = a2; while ( v20 != ++v22 ) { if ( (unsigned __int8)*v22 == v21 ) goto LABEL_31; } } if ( v19 == ++v18 ) { v10 = -1; goto LABEL_20; } } } } } v10 = -1; LABEL_20: if ( v12 ) LABEL_21: operator delete(v32); continue; } break; } if ( v12 ) operator delete(v32); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source