//
// AccountRegisterLayer::validEmail from 0x98ffcc to 0x98ffe4 (24 bytes)
//
// 3 xrefs:
// > AccountRegisterLayer::textInputClosed @ 0x993b40
// > AccountRegisterLayer::onSubmit @ 0x9945d4
// > ??> @ 0x68a40
//
// 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::validEmail(__int64 a1, __int64 a2)
{
char *v2; // x0
v2 = (char *)(a2 + 1);
if ( (*(_BYTE *)a2 & 1) != 0 )
v2 = *(char **)(a2 + 16);
return isValidEmailAddress(v2);
}