// // SongInfoObject::getTagsString from 0x100666570 to 0x100666825 (693 bytes) // // 2 xrefs: // > SongInfoLayer::create_2 @ 0x1006d77ee // > CustomSongWidget::updateSongInfo @ 0x1006f9f48 // // This function is hookable on this platform (idp: pc, 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:34:58 +0000 // _QWORD *__fastcall SongInfoObject::getTagsString(_QWORD *a1, __int64 a2, int a3) { _QWORD *v3; // rbx char v4; // al __int64 v5; // rsi char v6; // al unsigned __int64 v7; // rdx const void *v8; // rsi _QWORD *v9; // rbx char v10; // r15 int v11; // r13d int v12; // r12d __int64 v13; // rax std::string::size_type v14; // rdx char v15; // cl std::string::size_type v16; // rax std::string::size_type v17; // rsi char v18; // r12 std::string::value_type *v19; // rsi __int64 v20; // rax const std::string::value_type *CString; // rax _QWORD *v22; // rcx _QWORD *v23; // rax bool v24; // zf __int64 v25; // r14 __int64 v26; // r15 __int64 v27; // rax __int64 v28; // rcx char v30; // [rsp+0h] [rbp-80h] _QWORD *v31; // [rsp+8h] [rbp-78h] std::string __str; // [rsp+18h] [rbp-68h] BYREF __int64 v33; // [rsp+30h] [rbp-50h] BYREF std::string::size_type __n; // [rsp+38h] [rbp-48h] std::string::value_type *__s; // [rsp+40h] [rbp-40h] __int64 v36; // [rsp+48h] [rbp-38h] int v37; // [rsp+54h] [rbp-2Ch] v3 = a1; v37 = a3; if ( a3 ) { v4 = *(_BYTE *)(a2 + 672); if ( (v4 & 1) == 0 ) { if ( v4 ) { v5 = a2 + 672; LABEL_8: a1[2] = *(_QWORD *)(v5 + 16); *(_OWORD *)a1 = *(_OWORD *)v5; return v3; } goto LABEL_14; } v7 = *(_QWORD *)(a2 + 680); if ( !v7 ) goto LABEL_14; v8 = *(const void **)(a2 + 688); LABEL_13: sub_10001AD30(a1, v8, v7); return v3; } v6 = *(_BYTE *)(a2 + 648); if ( (v6 & 1) != 0 ) { v7 = *(_QWORD *)(a2 + 656); if ( !v7 ) goto LABEL_14; v8 = *(const void **)(a2 + 664); goto LABEL_13; } if ( v6 ) { v5 = a2 + 648; goto LABEL_8; } LABEL_14: if ( !*(_QWORD *)(a2 + 640) ) { *(_WORD *)a1 = 0; return v3; } *(_WORD *)&__str.__r_.__value_.__l.0 = 0; v9 = *(_QWORD **)(a2 + 624); v36 = a2; v31 = (_QWORD *)(a2 + 632); if ( v9 != (_QWORD *)(a2 + 632) ) { v10 = 1; v11 = 0; while ( 1 ) { v12 = *((_DWORD *)v9 + 7); v13 = MusicDownloadManager::sharedState(); MusicDownloadManager::nameForTagID(&v33, v13, v12); v14 = (unsigned __int8)v33 >> 1; v15 = v33 & 1; v16 = __n; v17 = __n; if ( (v33 & 1) == 0 ) v17 = (unsigned __int8)v33 >> 1; v18 = 1; if ( !v17 ) goto LABEL_29; if ( (v10 & 1) == 0 ) { std::string::append(&__str, ", "); v16 = __n; v15 = v33 & 1; v14 = (unsigned __int8)v33 >> 1; } v19 = (char *)&v33 + 1; if ( v15 ) { v19 = __s; v14 = v16; } std::string::append(&__str, v19, v14); if ( ((unsigned __int8)v37 & (v11 >= 3)) == 1 ) break; v10 = 0; ++v11; if ( (v33 & 1) != 0 ) goto LABEL_30; LABEL_31: if ( v18 ) { v22 = (_QWORD *)v9[1]; if ( v22 ) { do { v23 = v22; v22 = (_QWORD *)*v22; } while ( v22 ); } else { do { v23 = (_QWORD *)v9[2]; v24 = *v23 == (_QWORD)v9; v9 = v23; } while ( !v24 ); } v9 = v23; if ( v23 != v31 ) continue; } goto LABEL_39; } if ( *(_DWORD *)(v36 + 640) - (v11 + 1) > 0 ) { v20 = sub_10088E820(" +%i", v30); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v20); std::string::append(&__str, CString); } v10 = 0; ++v11; v18 = 0; LABEL_29: if ( (v33 & 1) == 0 ) goto LABEL_31; LABEL_30: operator delete(__s); goto LABEL_31; } LABEL_39: if ( !(_BYTE)v37 ) { v25 = v36; v26 = v36 + 648; std::string::operator=((std::string *)(v36 + 648), &__str); v3 = a1; if ( (*(_BYTE *)v26 & 1) != 0 ) { v27 = 656; v28 = 664; goto LABEL_46; } LABEL_44: v3[2] = *(_QWORD *)(v26 + 16); *(_OWORD *)v3 = *(_OWORD *)v26; goto LABEL_47; } v25 = v36; v26 = v36 + 672; std::string::operator=((std::string *)(v36 + 672), &__str); v3 = a1; if ( (*(_BYTE *)v26 & 1) == 0 ) goto LABEL_44; v27 = 680; v28 = 688; LABEL_46: sub_10001AD30(v3, *(const void **)(v25 + v28), *(_QWORD *)(v25 + v27)); LABEL_47: if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source