// // isValidEmailAddress from 0x84ddb4 to 0x84de70 (188 bytes) // // 2 xrefs: // > AccountRegisterLayer::validEmail @ 0x84f878 // > @ 0xbe8d8 // // 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(char *a1) { unsigned int v2; // w0 int v3; // w3 __int64 v4; // x1 int v5; // w5 int v6; // w2 if ( !a1 ) return 0; if ( !isCharacter(*a1) ) return 0; v2 = strlen(a1); if ( !v2 ) return 0; v3 = -1; v4 = 0; v5 = -1; do { while ( 1 ) { v6 = (unsigned __int8)a1[v4]; if ( v6 != 64 ) break; v5 = v4++; if ( v2 <= (unsigned int)v4 ) return v3 != -1 && v5 != -1 && v3 >= v5 && (int)(v2 - 1) > v3; } if ( v6 == 46 ) v3 = v4; ++v4; } while ( v2 > (unsigned int)v4 ); return v3 != -1 && v5 != -1 && v3 >= v5 && (int)(v2 - 1) > v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source