//
// sub_1005895E0 from 0x1005895e0 to 0x100589608 (40 bytes)
//
// 1 xrefs:
// > MusicSearchResult::updateObjects_1 @ 0x10059a118
//
// 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 sub_1005895E0(__int64 a1, __int64 a2)
{
__int64 result; // rax
result = (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 524LL) - *(_DWORD *)(*(_QWORD *)a1 + 524LL));
if ( !(_DWORD)result )
return (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 316LL) - *(_DWORD *)(*(_QWORD *)a1 + 316LL));
return result;
}