// // SongInfoObject::addTags from 0x96df88 to 0x96e158 (464 bytes) // // 2 xrefs: // > MusicDownloadManager::parseMusicLibrary @ 0x97773c // > @ 0xe7268 // // 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:39 +0000 // __int64 __fastcall SongInfoObject::addTags(__int64 a1, __int64 a2) { __int64 v4; // x0 _BOOL4 v6; // w19 _BYTE *v7; // x26 __int64 v8; // x21 __int64 v9; // x19 unsigned __int64 v10; // x20 __int64 **v11; // x25 const char *v12; // x0 int v13; // [xsp+54h] [xbp+54h] BYREF __int64 v14[2]; // [xsp+58h] [xbp+58h] BYREF void *v15; // [xsp+68h] [xbp+68h] void *v16; // [xsp+70h] [xbp+70h] BYREF _BYTE *v17; // [xsp+78h] [xbp+78h] __int64 v18; // [xsp+80h] [xbp+80h] v4 = *(_BYTE *)a2 >> 1; if ( (*(_BYTE *)a2 & 1) != 0 ) v4 = *(_QWORD *)(a2 + 8); if ( v4 ) { v14[0] = 0; v14[1] = 0; v15 = nullptr; std::string::__init(v14, &byte_116FB00, 1u); v6 = sub_95A404(a2, (__int64)v14); if ( (v14[0] & 1) != 0 ) operator delete(v15); if ( !v6 ) { v16 = nullptr; v17 = nullptr; v18 = 0; sub_961B60((unsigned __int8 *)a2, &byte_116FB00, (__int64 *)&v16); v7 = v16; v8 = (__int64)v17; if ( 0xAAAAAAAAAAAAAAABLL * ((v17 - (_BYTE *)v16) >> 3) ) { v9 = 0; v10 = 1; v11 = (__int64 **)(a1 + 624); while ( 1 ) { v12 = &v7[v9 + 1]; if ( (v7[v9] & 1) != 0 ) v12 = *(const char **)&v7[v9 + 16]; v13 = atoi(v12); if ( v13 > 0 ) { std::__tree::__emplace_unique_key_args(v11, &v13, &v13); v7 = v16; v8 = (__int64)v17; } v9 += 24; if ( 0xAAAAAAAAAAAAAAABLL * ((v8 - (__int64)v7) >> 3) <= v10 ) break; ++v10; } } if ( v7 ) { while ( v17 != v7 ) { v17 -= 24; std::string::~string((__int64)v17); } operator delete(v16); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source