// // isValidEmailAddress from 0x468038 to 0x46808a (82 bytes) // // 1 xrefs: // > AccountRegisterLayer::validEmail @ 0x468ef2 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall isValidEmailAddress(const char *a1) { size_t v3; // r0 int v4; // r3 int v5; // r2 int v6; // r1 int v7; // r5 if ( !a1 || !isCharacter(*(unsigned __int8 *)a1) ) return 0; v3 = strlen(a1); v4 = -1; v5 = 0; v6 = -1; while ( v5 != v3 ) { v7 = (unsigned __int8)a1[v5]; if ( v7 == 64 ) { v6 = v5; } else if ( v7 == 46 ) { v4 = v5; } ++v5; } return v6 != -1 && v4 != -1 && v6 <= v4 && v4 < v5 - 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source