//
// AccountRegisterLayer::validEmail from 0x586278 to 0x586286 (14 bytes)
//
// 2 xrefs:
// > AccountRegisterLayer::textInputClosed @ 0x58899a
// > AccountRegisterLayer::onSubmit @ 0x588d26
//
// 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::validEmail(int a1, int a2)
{
if ( (*(_BYTE *)a2 & 1) != 0 )
return isValidEmailAddress(*(const char **)(a2 + 8));
else
return isValidEmailAddress((const char *)(a2 + 1));
}