//
// AccountRegisterLayer::validUser from 0x586286 to 0x58629a (20 bytes)
//
// 2 xrefs:
// > AccountRegisterLayer::textInputClosed @ 0x5887d0
// > AccountRegisterLayer::onSubmit @ 0x588cca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:58 +0000
//
bool __fastcall AccountRegisterLayer::validUser(int a1, unsigned __int8 *a2)
{
int v2; // r0
unsigned int v3; // r0
v2 = *a2;
if ( (v2 & 1) != 0 )
v3 = *((_DWORD *)a2 + 1);
else
v3 = v2 >> 1;
return v3 > 2;
}