//
// songOrderCompare from 0x959a94 to 0x959abc (40 bytes)
//
// 3 xrefs:
// > ??> @ 0xf7888
// > sub_959FEC @ 0x95a12c
// > ??> @ 0x1547820
//
// 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:27 +0000
//
__int64 __fastcall songOrderCompare(__int64 *a1, const void *a2)
{
__int64 v2; // x2
__int64 result; // x0
v2 = *a1;
result = (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 452LL) - *(_DWORD *)(*a1 + 452));
if ( !(_DWORD)result )
return (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 456LL) - *(_DWORD *)(v2 + 456));
return result;
}