//
// sub_A4C10C from 0xa4c10c to 0xa4c1a8 (156 bytes)
//
// 4 xrefs:
// > FRequestProfilePage::isCorrect @ 0xa4c958
// > FRequestProfilePage::loadPage @ 0xa4dd88
// > FRequestProfilePage::textChanged @ 0xa4f188
// > FRequestProfilePage::textChanged @ 0xa4f26c
//
// 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:00:02 +0000
//
bool __fastcall sub_A4C10C(__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;
}