//
// songOrderCompare from 0x826468 to 0x826490 (40 bytes)
//
// 3 xrefs:
// > ??> @ 0xbdd50
// > MusicSearchResult::updateObjects @ 0x832ee0
// > ??> @ 0x122e930
//
// 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 songOrderCompare(__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 + 416LL) - *(_DWORD *)(v2 + 416));
return result;
}