//
// sub_B0BDB0 from 0xb0bdb0 to 0xb0be4c (156 bytes)
//
// 5 xrefs:
// > GJSmartTemplate::saveRemapToDict @ 0xb0c0b0
// > GJSmartTemplate::getNoCornerKey @ 0xb0efe8
// > GJSmartTemplate::saveRemap @ 0xb0f348
// > GJSmartTemplate::saveRemap @ 0xb0f4a0
// > GJSmartTemplate::savePrefab @ 0xb10200
//
// 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 13:01:26 +0000
//
bool __fastcall sub_B0BDB0(__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;
}