//
// sfxLengthCompareDesc from 0x826514 to 0x826540 (44 bytes)
//
// 3 xrefs:
// > ??> @ 0xaf788
// > SFXSearchResult::updateObjects @ 0x83291c
// > ??> @ 0x122e128
//
// 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 sfxLengthCompareDesc(__int64 *a1, __int64 *a2)
{
__int64 v2; // x2
__int64 v3; // x1
int v4; // w3
__int64 result; // x0
v2 = *a1;
v3 = *a2;
v4 = *(unsigned __int8 *)(*a1 + 72);
result = *(unsigned __int8 *)(v3 + 72);
if ( v4 == (_DWORD)result )
return (unsigned int)(*(_DWORD *)(v3 + 68) - *(_DWORD *)(v2 + 68));
return result;
}