// // SongInfoObject::addArtistLink from 0x96594c to 0x965b44 (504 bytes) // // 2 xrefs: // > SongInfoObject::createWithCoder @ 0x976754 // > @ 0x747e8 // // 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:35 +0000 // __int64 __fastcall SongInfoObject::addArtistLink(SongInfoObject *this, const GJLinkObject *a2) { char *v3; // x23 unsigned __int8 v5; // w0 __int64 v6; // x1 __int64 v8; // x19 __int64 v9; // x1 __int64 v10; // x3 unsigned __int8 v11; // w0 char *v12; // x22 __int64 v13; // x1 char *v14; // x1 size_t v15; // x2 unsigned __int64 v16[2]; // [xsp+50h] [xbp+50h] BYREF void *v17; // [xsp+60h] [xbp+60h] v3 = (char *)a2 + 32; v5 = *((_BYTE *)a2 + 32); v6 = v5 >> 1; if ( (v5 & 1) != 0 ) v6 = *((_QWORD *)v3 + 1); if ( v6 && !(unsigned __int8)sub_95A748((_QWORD *)this + 75, (__int64)v3) ) { v8 = *((_QWORD *)this + 76); if ( v8 == *((_QWORD *)this + 77) ) { std::vector::__push_back_slow_path((__int64 *)this + 75, (__int64)a2); } else { if ( v8 ) { *(_DWORD *)v8 = *(_DWORD *)a2; *(_DWORD *)(v8 + 4) = *((_DWORD *)a2 + 1); *(_QWORD *)(v8 + 8) = 0; *(_QWORD *)(v8 + 16) = 0; *(_QWORD *)(v8 + 24) = 0; if ( (*((_BYTE *)a2 + 8) & 1) != 0 ) { std::string::__init((__int64 *)(v8 + 8), *((void **)a2 + 3), *((_QWORD *)a2 + 2)); } else { v9 = *((_QWORD *)a2 + 2); *(_QWORD *)(v8 + 8) = *((_QWORD *)a2 + 1); *(_QWORD *)(v8 + 16) = v9; *(_QWORD *)(v8 + 24) = *((_QWORD *)a2 + 3); } *(_QWORD *)(v8 + 32) = 0; *(_QWORD *)(v8 + 40) = 0; *(_QWORD *)(v8 + 48) = 0; if ( (*((_BYTE *)a2 + 32) & 1) != 0 ) { std::string::__init((__int64 *)(v8 + 32), *((void **)v3 + 2), *((_QWORD *)v3 + 1)); } else { v10 = *((_QWORD *)a2 + 5); *(_QWORD *)(v8 + 32) = *((_QWORD *)a2 + 4); *(_QWORD *)(v8 + 40) = v10; *(_QWORD *)(v8 + 48) = *((_QWORD *)v3 + 2); } v8 = *((_QWORD *)this + 76); } *((_QWORD *)this + 76) = v8 + 56; } v11 = *((_BYTE *)this + 552); v12 = (char *)this + 552; v13 = v11 >> 1; if ( (v11 & 1) != 0 ) v13 = *((_QWORD *)v12 + 1); if ( v13 ) std::string::append((__int64)v12, ";", 1u); MusicDownloadManager::linkRowString(a2, v16); if ( (v16[0] & 1) != 0 ) { v14 = (char *)v17; v15 = v16[1]; } else { v15 = LOBYTE(v16[0]) >> 1; v14 = (char *)v16 + 1; } std::string::append((__int64)v12, v14, v15); if ( (v16[0] & 1) != 0 ) operator delete(v17); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source