//
// songIDCompare from 0x826440 to 0x826468 (40 bytes)
//
// 3 xrefs:
// > ??> @ 0xc5610
// > MusicSearchResult::updateObjects @ 0x832e38
// > ??> @ 0x122ed90
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall songIDCompare(__int64 *a1, const void *a2)
{
__int64 v2; // x2
__int64 result; // x0
v2 = *a1;
result = (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 412LL) - *(_DWORD *)(*a1 + 412));
if ( !(_DWORD)result )
return (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 316LL) - *(_DWORD *)(v2 + 316));
return result;
}