//
// AccountRegisterLayer::validUser from 0x98ffe4 to 0x990000 (28 bytes)
//
// 3 xrefs:
// > AccountRegisterLayer::textInputClosed @ 0x993d98
// > AccountRegisterLayer::onSubmit @ 0x9944d8
// > ??> @ 0xf63a0
//
// 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:57:58 +0000
//
bool __fastcall AccountRegisterLayer::validUser(__int64 a1, __int64 a2)
{
unsigned __int64 v2; // x2
v2 = *(_BYTE *)a2 >> 1;
if ( (*(_BYTE *)a2 & 1) != 0 )
v2 = *(_QWORD *)(a2 + 8);
return v2 > 2;
}