// // sub_992870 from 0x992870 to 0x993858 (4072 bytes) // // 2 xrefs: // > AccountRegisterLayer::updatePasswordInfo @ 0x9938a4 // > AccountRegisterLayer::onSubmit @ 0x9944a0 // // 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:58:00 +0000 // __int64 __fastcall sub_992870(unsigned __int8 *a1) { unsigned __int8 v1; // w0 unsigned __int64 v2; // x1 __int64 result; // x0 int v4; // w1 unsigned __int8 v5; // w0 char **i; // x24 const char *v7; // x1 size_t v8; // x0 unsigned __int8 v9; // w26 int v10; // w27 unsigned __int64 v11; // x0 unsigned __int64 v12; // x19 unsigned __int64 v13; // x25 unsigned __int64 v14; // x6 __int64 v15; // x4 __int64 v16; // x21 __int64 **v17; // x0 __int64 *v18; // x23 size_t v19; // x26 __int64 *v20; // x8 unsigned __int64 v21; // x0 unsigned __int64 v22; // x0 _QWORD *v23; // x0 unsigned __int64 v24; // x3 __int64 v25; // x23 float v26; // s0 __int64 v27; // x0 unsigned __int64 prime; // x21 unsigned __int64 v29; // x19 bool v30; // cc unsigned __int64 v31; // x2 unsigned __int64 v32; // x1 __int64 *v33; // x0 unsigned __int8 v34; // w1 unsigned __int64 v35; // x1 __int64 v36; // x21 char *v37; // x19 char *j; // x21 char v39; // w1 int v40; // w1 unsigned __int64 v41; // x21 unsigned __int64 v42; // x19 unsigned int v43; // w0 unsigned __int64 v44; // x1 unsigned __int8 v45; // w3 int v46; // w2 char *v47; // x0 char v48; // w1 unsigned __int64 v49; // x0 unsigned __int64 v50; // x1 unsigned __int64 v51; // x0 __int64 v52; // x0 int v53; // w23 __int64 v54; // x19 char *v55; // x23 char *v56; // x19 int v57; // w3 unsigned __int64 v58; // x1 unsigned __int64 v59; // x0 __int64 v60; // x6 unsigned __int64 v61; // x2 int v62; // w5 unsigned __int8 *v63; // x7 int v64; // w4 int v65; // w4 unsigned __int8 *v66; // x0 unsigned __int8 *v67; // x1 int v68; // t1 __int64 *v69; // x1 int v70; // w0 unsigned __int64 v71; // x19 unsigned __int64 v72; // x0 unsigned int v73; // w2 unsigned __int64 v74; // x23 char *v75; // x0 char *v76; // x5 int v77; // w2 int v78; // w3 int v79; // w6 int v80; // w4 char v81; // w20 int v82; // w2 _BOOL4 v83; // w1 _BOOL4 v84; // w2 unsigned __int64 v85; // x8 unsigned __int64 v86; // x2 unsigned __int64 v87; // x4 __int64 v88; // x5 unsigned __int8 *v89; // x6 int v90; // w7 int v91; // w6 __int64 v92; // x0 char *v93; // x19 char *k; // x21 char v95; // w1 char **v96; // x26 const char *v97; // x1 size_t v98; // x0 char *v99; // x21 int8x16_t *v100; // x19 unsigned __int64 v101; // x24 int8x16_t *v102; // x0 char *v103; // x2 unsigned __int64 v104; // x4 int8x16_t *v105; // x3 int8x16_t *v106; // x7 unsigned __int64 v107; // x1 int8x16_t *v108; // x6 __int64 v109; // x2 unsigned __int64 v110; // x5 int8x16_t v111; // q0 char *v112; // x19 int8x16_t *v113; // x1 char *v114; // x21 unsigned __int64 v115; // x1 int v116; // w4 unsigned __int8 *v117; // x2 unsigned __int64 v118; // x3 int v119; // w0 char *v120; // x19 __int64 v121; // x0 unsigned __int8 v122; // w3 char *v123; // x21 unsigned __int64 v124; // x1 unsigned __int8 *v125; // x2 unsigned __int64 v126; // x3 char *v127; // x19 __int64 v128; // x0 unsigned __int8 v129; // t1 __int64 *v131; // [xsp+88h] [xbp+88h] __int64 v132; // [xsp+90h] [xbp+90h] char *v133; // [xsp+90h] [xbp+90h] char *obj; // [xsp+98h] [xbp+98h] void *obja; // [xsp+98h] [xbp+98h] char v136[8]; // [xsp+A0h] [xbp+A0h] BYREF __int64 v137; // [xsp+A8h] [xbp+A8h] BYREF __int64 v138; // [xsp+B0h] [xbp+B0h] void *v139; // [xsp+B8h] [xbp+B8h] __int64 v140; // [xsp+C0h] [xbp+C0h] BYREF unsigned __int64 v141; // [xsp+C8h] [xbp+C8h] void *v142; // [xsp+D0h] [xbp+D0h] __int64 v143; // [xsp+D8h] [xbp+D8h] BYREF unsigned __int64 v144; // [xsp+E0h] [xbp+E0h] void *v145; // [xsp+E8h] [xbp+E8h] unsigned __int64 v146; // [xsp+F0h] [xbp+F0h] BYREF unsigned __int64 v147; // [xsp+F8h] [xbp+F8h] void *v148; // [xsp+100h] [xbp+100h] v1 = *a1; v2 = v1 >> 1; if ( (v1 & 1) != 0 ) v2 = *((_QWORD *)a1 + 1); result = 0; if ( v2 <= 7 ) return result; v4 = (unsigned __int8)passwordCharsValid((__int64)a1); result = 1; if ( !v4 ) return result; v5 = atomic_load((unsigned __int8 *)&byte_155D210); if ( (v5 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_155D210) ) { qword_155D218 = 0; qword_155D220 = 0; qword_155D228 = 0; qword_155D230 = 0; dword_155D238 = 1.0; _cxa_guard_release((__guard *)&byte_155D210); __cxa_atexit((void (*)(void *))std::unordered_set::~unordered_set, &qword_155D218, &unk_1548000); } if ( !qword_155D230 ) { for ( i = off_13FA730; i != off_13FAF70; ++i ) { v7 = *i; v146 = 0; v147 = 0; v148 = nullptr; obj = (char *)v7; v8 = strlen(v7); std::string::__init((__int64 *)&v146, obj, v8); v9 = v146; v10 = v146 & 1; if ( (v146 & 1) != 0 ) { v11 = std::__murmur2_or_cityhash::operator()((__int64)v136, v148, v147); v12 = qword_155D220; v13 = v11; if ( !qword_155D220 ) goto LABEL_130; } else { v11 = std::__murmur2_or_cityhash::operator()( (__int64)v136, (unsigned __int64 *)((char *)&v146 + 1), (unsigned __int8)v146 >> 1); v12 = qword_155D220; v13 = v11; if ( !qword_155D220 ) { LABEL_130: v16 = 0; goto LABEL_20; } } v14 = v12 - 1; v15 = (v12 - 1) & v12; v16 = v11 & (v12 - 1); if ( v15 ) v16 = v11 % v12; v17 = *(__int64 ***)(qword_155D218 + 8 * v16); if ( v17 ) { v18 = *v17; if ( *v17 ) { v19 = v9 >> 1; v20 = (__int64 *)v148; if ( v10 ) v19 = v147; v21 = v18[1]; if ( !v15 ) { LABEL_18: v22 = v14 & v21; goto LABEL_19; } while ( 1 ) { v22 = v21 % v12; LABEL_19: if ( v16 != v22 ) break; if ( (v18[2] & 1) != 0 ) { if ( v18[3] == v19 ) { v69 = v10 ? v20 : (__int64 *)((char *)&v146 + 1); if ( !v19 ) goto LABEL_40; v131 = v20; v132 = v15; obja = (void *)v14; v70 = memcmp((const void *)v18[4], v69, v19); v14 = (unsigned __int64)obja; v15 = v132; v20 = v131; if ( !v70 ) goto LABEL_40; } } else if ( *((_BYTE *)v18 + 16) >> 1 == v19 ) { if ( v10 ) v66 = (unsigned __int8 *)v20; else v66 = (unsigned __int8 *)&v146 + 1; if ( !v19 ) goto LABEL_40; if ( *((unsigned __int8 *)v18 + 17) == *v66 ) { v67 = (unsigned __int8 *)v18 + 18; while ( 1 ) { ++v66; if ( v67 == (unsigned __int8 *)((char *)v18 + v19 + 17) ) break; v68 = *v67++; if ( *v66 != v68 ) goto LABEL_109; } if ( !v10 ) goto LABEL_41; goto LABEL_122; } } LABEL_109: v18 = (__int64 *)*v18; if ( !v18 ) break; v21 = v18[1]; if ( !v15 ) goto LABEL_18; } } } LABEL_20: v23 = (_QWORD *)operator new(0x28u); v24 = v147; v23[2] = v146; v23[3] = v24; v25 = (__int64)v23; v23[4] = v148; v146 = 0; v147 = 0; v148 = nullptr; v23[1] = v13; *v23 = 0; v26 = (float)(unsigned __int64)(qword_155D230 + 1); if ( v26 <= (float)((float)v12 * *(float *)&dword_155D238) ) { if ( v12 ) goto LABEL_37; v27 = 0; LABEL_23: prime = v27 + 1; v29 = vcvtps_u32_f32(v26 / *(float *)&dword_155D238); if ( v29 >= v27 + 1 ) prime = v29; if ( prime == 1 ) goto LABEL_135; goto LABEL_26; } v27 = 2 * v12; if ( v12 <= 2 ) goto LABEL_23; prime = (((v12 - 1) & v12) != 0) + v27; v71 = vcvtps_u32_f32(v26 / *(float *)&dword_155D238); if ( v71 >= prime ) prime = v71; if ( prime == 1 ) { LABEL_135: v12 = qword_155D220; prime = 2; v30 = (unsigned __int64)qword_155D220 > 2; if ( (unsigned __int64)qword_155D220 < 2 ) goto LABEL_136; goto LABEL_29; } LABEL_26: if ( ((prime - 1) & prime) != 0 ) prime = std::__next_prime(prime); v12 = qword_155D220; v30 = qword_155D220 > prime; if ( qword_155D220 < prime ) { LABEL_136: std::__hash_table,std::equal_to,std::allocator>::__rehash( (__int64)&qword_155D218, prime); goto LABEL_70; } LABEL_29: if ( v30 ) { if ( v12 <= 2 || (v31 = v12 - 1, ((v12 - 1) & v12) != 0) ) { v49 = std::__next_prime(vcvtps_u32_f32((float)(unsigned __int64)qword_155D230 / *(float *)&dword_155D238)); if ( v49 < prime ) v32 = prime; else v32 = v49; if ( v12 <= v32 ) goto LABEL_70; } else { v32 = 1LL << (64 - (unsigned __int8)__clz( vcvtps_u32_f32((float)(unsigned __int64)qword_155D230 / *(float *)&dword_155D238) - 1)); if ( v32 < prime ) v32 = prime; if ( v12 <= v32 ) { LABEL_36: v16 = v31 & v13; LABEL_37: v33 = *(__int64 **)(qword_155D218 + 8 * v16); if ( v33 ) goto LABEL_38; goto LABEL_73; } } std::__hash_table,std::equal_to,std::allocator>::__rehash( (__int64)&qword_155D218, v32); LABEL_70: v12 = qword_155D220; } v31 = v12 - 1; if ( ((v12 - 1) & v12) == 0 ) goto LABEL_36; v16 = v13 % v12; v33 = *(__int64 **)(qword_155D218 + 8 * (v13 % v12)); if ( v33 ) { LABEL_38: *(_QWORD *)v25 = *v33; *v33 = v25; goto LABEL_39; } LABEL_73: *(_QWORD *)v25 = qword_155D228; qword_155D228 = v25; *(_QWORD *)(qword_155D218 + 8 * v16) = &qword_155D228; if ( *(_QWORD *)v25 ) { v50 = *(_QWORD *)(*(_QWORD *)v25 + 8LL); if ( ((v12 - 1) & v12) != 0 ) v51 = v50 % v12; else v51 = (v12 - 1) & v50; *(_QWORD *)(qword_155D218 + 8 * v51) = v25; } LABEL_39: ++qword_155D230; v10 = v146 & 1; LABEL_40: if ( v10 ) LABEL_122: operator delete(v148); LABEL_41: ; } } v146 = 0; v147 = 0; v34 = *a1; v148 = nullptr; if ( (v34 & 1) != 0 ) v35 = *((_QWORD *)a1 + 1); else v35 = v34 >> 1; std::string::reserve((__int64 *)&v146, v35); if ( (*a1 & 1) != 0 ) { v36 = *((_QWORD *)a1 + 1); v37 = *((char **)a1 + 2); } else { v36 = *a1 >> 1; v37 = (char *)(a1 + 1); } for ( j = &v37[v36]; j != v37; ++v37 ) { v39 = *v37; if ( (unsigned __int8)(*v37 - 65) <= 0x19u ) v39 += 32; std::string::push_back((__int64 *)&v146, v39); } v40 = v146 & 1; if ( v40 ) v41 = v147; else v41 = (unsigned __int8)v146 >> 1; if ( !v41 ) { LABEL_57: v42 = v41; v44 = 0; goto LABEL_58; } v42 = 0; while ( v40 ) { v43 = *((unsigned __int8 *)v148 + v42); if ( v43 > 0x60 ) goto LABEL_138; LABEL_56: if ( ++v42 == v41 ) goto LABEL_57; } v43 = *((unsigned __int8 *)&v146 + v42 + 1); if ( v43 <= 0x60 ) goto LABEL_56; LABEL_138: if ( v43 > 0x7A ) goto LABEL_56; if ( v41 > v42 ) { while ( 2 ) { v72 = v41 - 1; if ( v40 ) { v73 = *((unsigned __int8 *)v148 + v72); if ( v73 <= 0x60 ) goto LABEL_142; LABEL_146: if ( v73 <= 0x7A ) break; --v41; } else { v73 = *((unsigned __int8 *)&v146 + v72 + 1); if ( v73 > 0x60 ) goto LABEL_146; LABEL_142: --v41; } if ( v41 <= v42 ) break; continue; } } v44 = v41 - v42; LABEL_58: v137 = 0; v138 = 0; v139 = nullptr; std::string::reserve(&v137, v44); if ( v42 < v41 ) { v45 = v146 & 1; while ( 1 ) { v46 = v45; v47 = (char *)&v146 + 1; if ( v45 ) v47 = (char *)v148; v48 = v47[v42]; switch ( v48 ) { case '$': case '5': v48 = 115; goto LABEL_78; case '0': v48 = 111; goto LABEL_78; case '1': v48 = 105; goto LABEL_78; case '3': v48 = 101; goto LABEL_78; case '4': case '@': v48 = 97; goto LABEL_78; case '7': v48 = 116; goto LABEL_78; default: if ( (unsigned __int8)(v48 - 97) <= 0x19u ) { LABEL_78: std::string::push_back(&v137, v48); ++v42; v45 = v146 & 1; v46 = v146 & 1; if ( v42 >= v41 ) goto LABEL_79; } else if ( ++v42 >= v41 ) { goto LABEL_79; } break; } } } v46 = v146 & 1; LABEL_79: if ( v46 ) operator delete(v148); if ( (v137 & 1) != 0 ) v52 = v138; else v52 = (unsigned __int8)v137 >> 1; if ( !v52 || !std::__hash_table,std::equal_to,std::allocator>::find( &qword_155D218, (char *)&v137) ) { v53 = *a1; if ( (v53 & 1) != 0 ) { v54 = *((_QWORD *)a1 + 1); if ( !v54 ) goto LABEL_162; v55 = *((char **)a1 + 2); } else { LODWORD(v54) = v53 >> 1; if ( !(v53 >> 1) ) goto LABEL_162; v54 = (int)v54; v55 = (char *)(a1 + 1); } v56 = &v55[v54]; if ( v56 == v55 ) goto LABEL_155; while ( isNumber(*v55) ) { if ( v56 == ++v55 ) goto LABEL_155; } v53 = *a1; v57 = v53 & 1; if ( (v53 & 1) != 0 ) { if ( *((_QWORD *)a1 + 1) > 3u ) { v57 = 1; LODWORD(v58) = v53 >> 1; goto LABEL_94; } } else { LODWORD(v58) = v53 >> 1; if ( v53 >> 1 > 3 ) { LABEL_94: v59 = (int)v58; v60 = 0; v61 = 1; v62 = 0; while ( 1 ) { if ( v57 ) { if ( v61 >= *((_QWORD *)a1 + 1) ) goto LABEL_157; v63 = *((unsigned __int8 **)a1 + 2); v64 = v63[v61]; } else { if ( v61 >= (int)v58 ) { LABEL_157: result = 2; if ( (v137 & 1) == 0 ) return result; goto LABEL_158; } v63 = a1 + 1; v64 = a1[v61 + 1]; } v65 = v64 - v63[v60]; if ( ((v65 + 1) & 0xFFFFFFFD) != 0 ) break; if ( v62 ) { if ( v65 != v62 ) break; } else { v62 = v65; } ++v61; ++v60; } if ( v57 ) { v59 = *((_QWORD *)a1 + 1); if ( v59 <= 3 ) goto LABEL_162; v85 = v59 >> 1; v57 = 1; } else { v85 = (unsigned __int64)(int)v58 >> 1; if ( (unsigned __int64)(int)v58 <= 3 ) goto LABEL_162; } v86 = 1; do { if ( !(v59 % v86) ) { if ( v59 <= v86 ) goto LABEL_157; v87 = v86; v88 = 0; while ( 1 ) { if ( v57 ) { v89 = *((unsigned __int8 **)a1 + 2); v90 = v89[v87]; } else { v89 = a1 + 1; v90 = a1[v87 + 1]; } v91 = v89[v88]; ++v87; ++v88; if ( v91 != v90 ) break; if ( v59 <= v87 ) goto LABEL_155; } } ++v86; } while ( v86 <= v85 ); if ( v57 ) { v58 = *((_QWORD *)a1 + 1); if ( v58 <= 3 ) goto LABEL_162; } else { v58 = (int)v58; if ( (unsigned __int64)(int)v58 <= 3 ) goto LABEL_162; } v140 = 0; v141 = 0; v142 = nullptr; std::string::reserve(&v140, v58); if ( (*a1 & 1) != 0 ) { v92 = *((_QWORD *)a1 + 1); v93 = *((char **)a1 + 2); } else { v92 = *a1 >> 1; v93 = (char *)(a1 + 1); } for ( k = &v93[v92]; k != v93; ++v93 ) { v95 = *v93; if ( (unsigned __int8)(*v93 - 65) <= 0x19u ) v95 += 32; std::string::push_back(&v140, v95); } v96 = off_13FAF70; do { v97 = *v96; v143 = 0; v144 = 0; v145 = nullptr; v133 = (char *)v97; v98 = strlen(v97); std::string::__init(&v143, v133, v98); if ( (v143 & 1) != 0 ) { v99 = (char *)v145; v100 = (int8x16_t *)((char *)v145 + v144); } else { v99 = (char *)&v143 + 1; v100 = (int8x16_t *)((char *)&v143 + ((unsigned __int8)v143 >> 1) + 1); } v101 = (char *)v100 - v99; v146 = 0; v147 = 0; v148 = nullptr; if ( (unsigned __int64)((char *)v100 - v99) > 0xFFFFFFFFFFFFFFEFLL ) sub_62D6FC(); if ( v101 > 0x16 ) { v102 = (int8x16_t *)operator new((v101 + 16) & 0xFFFFFFFFFFFFFFF0LL); v148 = v102; v147 = (char *)v100 - v99; v146 = (v101 + 16) & 0xFFFFFFFFFFFFFFF0LL | 1; } else { LOBYTE(v146) = 2 * v101; v102 = (int8x16_t *)((char *)&v146 + 1); } if ( v99 != (char *)v100 ) { v103 = &v100[-1].n128_i8[15]; v104 = (char *)v100 - v99; v105 = (int8x16_t *)((char *)v102 + (char *)v100 - v99); if ( (v105 <= (int8x16_t *)v99 || v102 >= v100) && v104 > 0xF ) { v106 = v102; v107 = ((unsigned __int64)((char *)&v100[-1].n128_f64[1] + 7 - v99 - 15) >> 4) + 1; v108 = v100 - 1; v109 = 16 * v107; v110 = 0; do { v111 = *v108; ++v110; --v108; *v106++ = vqtbl1q_s8(v111, (int8x16_t)xmmword_993860); } while ( v110 < v107 ); v112 = (char *)&v100[v109 / 0xFFFFFFFFFFFFFFF0LL]; v113 = &v102[(unsigned __int64)v109 / 0x10]; if ( v109 != v104 ) { v102[(unsigned __int64)v109 / 0x10].n128_u8[0] = *(v112 - 1); if ( v99 != v112 - 1 ) { v113->n128_u8[1] = *(v112 - 2); if ( v99 != v112 - 2 ) { v113->n128_u8[2] = *(v112 - 3); if ( v99 != v112 - 3 ) { v113->n128_u8[3] = *(v112 - 4); if ( v99 != v112 - 4 ) { v113->n128_u8[4] = *(v112 - 5); if ( v99 != v112 - 5 ) { v113->n128_u8[5] = *(v112 - 6); if ( v99 != v112 - 6 ) { v113->n128_u8[6] = *(v112 - 7); if ( v99 != v112 - 7 ) { v113->n128_u8[7] = *(v112 - 8); if ( v99 != v112 - 8 ) { v113->n128_u8[8] = *(v112 - 9); if ( v99 != v112 - 9 ) { v113->n128_u8[9] = *(v112 - 10); if ( v99 != v112 - 10 ) { v113->n128_u8[10] = *(v112 - 11); if ( v99 != v112 - 11 ) { v113->n128_u8[11] = *(v112 - 12); if ( v99 != v112 - 12 ) { v113->n128_u8[12] = *(v112 - 13); if ( v99 != v112 - 13 ) { v113->n128_u8[13] = *(v112 - 14); if ( v99 != v112 - 14 ) v113->n128_u8[14] = *(v112 - 15); } } } } } } } } } } } } } } } else { do { v129 = *v103--; v102->n128_u8[0] = v129; v102 = (int8x16_t *)((char *)v102 + 1); } while ( v103 != v99 - 1 ); } v102 = v105; } v102->n128_u8[0] = 0; if ( (v143 & 1) != 0 ) { v114 = (char *)v145; v115 = v144; } else { v115 = (unsigned __int8)v143 >> 1; v114 = (char *)&v143 + 1; } v116 = v140 & 1; if ( v116 ) { v117 = (unsigned __int8 *)v142; v118 = v141; } else { v118 = (unsigned __int8)v140 >> 1; v117 = (unsigned __int8 *)&v140 + 1; } if ( v115 < v118 ) { v122 = v140; } else { if ( !v118 ) goto LABEL_252; v120 = &v114[v115]; v121 = std::__search( (__int64)v114, (__int64)&v114[v115], v117, &v117[v118], (unsigned __int8 (__fastcall *)(__int64, _QWORD))std::char_traits::eq); if ( v120 != (char *)v121 && v121 - (_QWORD)v114 != -1 ) goto LABEL_252; v122 = v140; v116 = v140 & 1; } v119 = v146 & 1; if ( (v146 & 1) != 0 ) { v123 = (char *)v148; v124 = v147; } else { v124 = (unsigned __int8)v146 >> 1; v123 = (char *)&v146 + 1; } if ( v116 ) { v125 = (unsigned __int8 *)v142; v126 = v141; } else { v126 = v122 >> 1; v125 = (unsigned __int8 *)&v140 + 1; } if ( v124 >= v126 ) { if ( !v126 ) goto LABEL_253; v127 = &v123[v124]; v128 = std::__search( (__int64)v123, (__int64)&v123[v124], v125, &v125[v126], (unsigned __int8 (__fastcall *)(__int64, _QWORD))std::char_traits::eq); if ( v127 != (char *)v128 && v128 - (_QWORD)v123 != -1 ) { LABEL_252: v119 = v146 & 1; LABEL_253: if ( v119 ) operator delete(v148); if ( (v143 & 1) != 0 ) operator delete(v145); if ( (v140 & 1) != 0 ) operator delete(v142); goto LABEL_155; } v119 = v146 & 1; } if ( v119 ) operator delete(v148); if ( (v143 & 1) != 0 ) operator delete(v145); ++v96; } while ( v96 != (char **)&unk_13FAF90 ); if ( (v140 & 1) != 0 ) operator delete(v142); if ( (v137 & 1) == 0 ) { LOBYTE(v53) = *a1; goto LABEL_163; } LABEL_196: operator delete(v139); LOBYTE(v53) = *a1; LABEL_163: if ( (v53 & 1) != 0 ) { v74 = *((_QWORD *)a1 + 1); v75 = *((char **)a1 + 2); } else { v74 = (unsigned __int8)v53 >> 1; v75 = (char *)(a1 + 1); } v76 = &v75[v74]; if ( &v75[v74] == v75 ) { v83 = 0; v84 = 0; } else { v77 = 0; v78 = 0; v79 = 0; v80 = 0; do { v81 = *v75; if ( (unsigned __int8)(*v75 - 97) > 0x19u ) { if ( (unsigned __int8)(v81 - 65) <= 0x19u ) { v79 = 1; } else if ( (unsigned __int8)(v81 - 48) < 0xAu ) { v78 = 1; } else { v77 = 1; } } else { v80 = 1; } ++v75; } while ( v75 != v76 ); v82 = v79 + v80 + v78 + v77; v83 = v82 > 2; if ( v82 > 2 ) { result = 6; if ( v74 > 0xF ) return result; } v84 = v82 > 1; if ( v84 ) { result = 6; if ( v74 > 0x13 ) return result; } } result = 5; if ( v74 <= 0xD ) { result = 4; if ( v74 <= 0xB && (!v84 || v74 <= 9) ) { if ( !v83 ) return 3; result = 4; if ( v74 <= 7 ) return 3; } } return result; } } LABEL_162: if ( (v137 & 1) == 0 ) goto LABEL_163; goto LABEL_196; } LABEL_155: if ( (v137 & 1) == 0 ) return 2; LABEL_158: operator delete(v139); return 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source