// // AccountRegisterLayer::validEmail from 0x1400908b0 to 0x14009095e (174 bytes) // // 3 xrefs: // > AccountRegisterLayer::onSubmit @ 0x14008ea2e // > AccountRegisterLayer::textInputClosed @ 0x14008f228 // > @ 0x140912a1c // // This function is hookable on this platform (idp: pc, 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 11:26:00 +0000 // _BOOL8 __fastcall AccountRegisterLayer::validEmail(__int64 a1, char *a2) { char *v3; // rcx char v4; // al int v5; // r10d int v6; // r8d __int64 v7; // rdx unsigned int v8; // eax bool v9; // bl v3 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v3 = *(char **)a2; if ( !v3 ) goto LABEL_19; v4 = *v3; if ( (*v3 < 97 || v4 > 122) && (unsigned __int8)(v4 - 65) > 0x19u ) goto LABEL_19; v5 = -1; v6 = -1; v7 = -1; do ++v7; while ( v3[v7] ); v8 = 0; if ( !(_DWORD)v7 ) goto LABEL_19; do { if ( *v3 == 64 ) { v5 = v8; } else if ( *v3 == 46 ) { v6 = v8; } ++v8; ++v3; } while ( v8 < (unsigned int)v7 ); if ( v5 == -1 || v6 == -1 || v5 > v6 ) { LABEL_19: sub_14003D310((__int64)a2); return 0; } else { v9 = v6 < (int)v7 - 1; sub_14003D310((__int64)a2); return v9; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source