//
// AccountRegisterLayer::validUser from 0x10048fa20 to 0x10048fa43 (35 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:30:46 +0000
//
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;
}