//
// sub_732554 from 0x732554 to 0x7325f0 (156 bytes)
//
// 2 xrefs:
// > AchievementsLayer::loadPage @ 0x7329ec
// > AchievementsLayer::loadPage @ 0x732ae8
//
// 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:52:37 +0000
//
bool __fastcall sub_732554(__int64 a1, __int64 a2)
{
size_t v2; // x20
size_t v3; // x19
const void *v4; // x4
const void *v5; // x3
size_t v6; // x2
_BOOL4 v8; // w1
v2 = *(_BYTE *)a1 >> 1;
if ( (*(_BYTE *)a1 & 1) != 0 )
v2 = *(_QWORD *)(a1 + 8);
v3 = *(_BYTE *)a2 >> 1;
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(_QWORD *)(a2 + 8);
v4 = (const void *)(a1 + 1);
if ( (*(_BYTE *)a1 & 1) != 0 )
v4 = *(const void **)(a1 + 16);
v5 = (const void *)(a2 + 1);
if ( (*(_BYTE *)a2 & 1) != 0 )
v5 = *(const void **)(a2 + 16);
if ( v3 > v2 )
v6 = v2;
else
v6 = v3;
if ( v6 && memcmp(v4, v5, v6) )
return 0;
v8 = v2 <= v3;
if ( v2 < v3 )
return 0;
return v8;
}