//
// AccountRegisterLayer::validUser from 0x100497af0 to 0x100497b13 (35 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall AccountRegisterLayer::validUser(__int64 a1, unsigned __int8 *a2)
{
unsigned int v2; // eax
unsigned __int64 v3; // rax
v2 = *a2;
if ( (v2 & 1) != 0 )
v3 = *((_QWORD *)a2 + 1);
else
v3 = v2 >> 1;
return v3 >= 3;
}