// // sub_1006496A0 from 0x1006496a0 to 0x100649747 (167 bytes) // // 2 xrefs: // > MusicDownloadManager::getAllMusicObjectsSorted @ 0x10065e4b1 // > MusicSearchResult::updateObjects_1 @ 0x100668607 // // 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:46 +0000 // __int64 __fastcall sub_1006496A0(__int64 *a1, __int64 *a2) { __int64 v2; // rdi __int64 v3; // rcx __int64 result; // rax unsigned int v5; // eax size_t v6; // rbx const void *v7; // rsi unsigned int v8; // r14d size_t v9; // r14 const void *v10; // rdi const void *v11; // rcx size_t v12; // rdx int v13; // eax unsigned int v14; // edx unsigned int v15; // ecx v2 = *a1; v3 = *a2; result = (unsigned int)(*(_DWORD *)(*a2 + 452) - *(_DWORD *)(v2 + 452)); if ( !(_DWORD)result ) { v5 = *(unsigned __int8 *)(v3 + 696); v6 = *(_QWORD *)(v3 + 704); v7 = *(const void **)(v3 + 712); v8 = *(unsigned __int8 *)(v2 + 696); if ( (v8 & 1) != 0 ) { v9 = *(_QWORD *)(v2 + 704); v10 = *(const void **)(v2 + 712); } else { v9 = v8 >> 1; v10 = (const void *)(v2 + 697); } v11 = (const void *)(v3 + 697); if ( (v5 & 1) == 0 ) { v6 = v5 >> 1; v7 = v11; } v12 = v9; if ( v6 < v9 ) v12 = v6; v13 = memcmp(v10, v7, v12); v14 = -1; if ( v9 >= v6 ) v14 = v6 < v9; v15 = v13; result = v14; if ( v15 ) return v15; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source