// // fmt::BasicWriter::PrepareBufferForInt from 0xb6c3cc to 0xb6d260 (3732 bytes) // // 5 xrefs: // > fmt::BasicWriter::PrepareBufferForInt @ 0xb6c8c4 // > fmt::BasicWriter::PrepareBufferForInt @ 0xb6cdf8 // > fmt::BasicWriter::PrepareBufferForInt @ 0xb6d3a8 // > fmt::BasicWriter::PrepareBufferForInt @ 0xb6d8f8 // > @ 0x7dce8 // // 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 // __int64 __fastcall fmt::BasicWriter::PrepareBufferForInt( unsigned __int64 *a1, unsigned int a2, unsigned int *a3, unsigned __int8 *a4, __int64 a5) { unsigned int v7; // w19 unsigned int v8; // w27 unsigned int v9; // w24 __int64 v10; // x23 unsigned __int64 v11; // x21 unsigned __int64 v12; // x24 unsigned __int64 v13; // x2 __int64 v14; // x19 uint32x4_t *v15; // x1 __int64 v16; // x6 unsigned __int64 v17; // x0 __int64 v18; // x2 uint8x16_t *v19; // x10 uint32x4_t *v20; // x4 unsigned __int64 v21; // x5 uint8x16_t v22; // t1 uint32x4_t *v23; // x9 uint32x4_t *v24; // x8 uint32x4_t *v25; // x7 uint16x8_t v26; // q1 uint16x8_t v27; // q0 uint32x4_t *v28; // x0 unsigned __int64 v30; // x25 unsigned __int64 v31; // x26 unsigned __int64 v32; // x2 int32x4_t *v33; // x1 unsigned int *v34; // x20 __int64 v35; // x0 __int64 v36; // x21 int32x4_t *v37; // x23 uint32x4_t *v38; // x26 __int64 v39; // x7 unsigned __int64 v40; // x2 __int64 v41; // x4 uint8x16_t *v42; // x10 unsigned __int64 v43; // x5 uint8x16_t v44; // t1 uint32x4_t *v45; // x9 uint32x4_t *v46; // x8 uint32x4_t *v47; // x6 uint16x8_t v48; // q1 uint16x8_t v49; // q0 int32x4_t *v50; // x2 int32x4_t *v51; // x3 unsigned __int64 v52; // x0 bool v53; // cc unsigned __int64 v54; // x2 unsigned __int64 v55; // x0 unsigned __int64 v56; // x2 int32x4_t v57; // q0 int32x4_t *v58; // x5 unsigned __int64 v59; // x3 unsigned int v60; // w23 __int64 v61; // x19 unsigned __int64 v62; // x23 unsigned __int64 v63; // x25 unsigned __int64 v64; // x0 int32x4_t *v65; // x0 int32x4_t *v66; // x19 unsigned __int32 *v67; // x5 unsigned __int64 v68; // x1 unsigned __int64 v69; // x2 unsigned __int64 v70; // x1 unsigned __int64 v71; // x2 int32x4_t v72; // q0 int32x4_t *v73; // x7 unsigned __int64 v74; // x5 unsigned __int64 v75; // x19 unsigned __int64 v76; // x21 unsigned __int64 v77; // x0 __int64 v78; // x5 int32x4_t v79; // q0 int32x4_t *v80; // x7 unsigned __int64 v81; // x6 bool v82; // zf unsigned int *v83; // x0 unsigned __int64 v84; // x5 unsigned __int64 v85; // x19 _DWORD *v86; // x1 unsigned __int64 v87; // x5 __int64 v88; // x6 int32x4_t v89; // q0 unsigned __int64 v90; // x7 int32x4_t *v91; // x0 unsigned int *v92; // x0 __int64 v93; // x19 unsigned __int64 v94; // x23 uint32x4_t *v95; // x25 __int64 v96; // x5 unsigned __int64 v97; // x0 __int64 v98; // x2 uint8x16_t *v99; // x9 unsigned __int64 v100; // x4 uint8x16_t v101; // t1 uint32x4_t *v102; // x8 uint32x4_t *v103; // x7 uint32x4_t *v104; // x6 uint16x8_t v105; // q1 uint16x8_t v106; // q0 __int64 v107; // x0 __int64 v108; // x8 unsigned __int64 v109; // x4 __int64 v110; // x5 uint8x16_t *v111; // x12 int32x4_t *v112; // x6 unsigned __int64 v113; // x7 uint8x16_t v114; // t1 uint32x4_t *v115; // x11 uint32x4_t *v116; // x10 uint32x4_t *v117; // x9 uint16x8_t v118; // q1 uint16x8_t v119; // q0 int32x4_t *v120; // x4 unsigned int *v121; // x0 unsigned __int64 v122; // x19 unsigned __int64 v123; // x3 unsigned __int64 v124; // x19 unsigned __int64 v125; // x3 int32x4_t v126; // q0 unsigned __int64 v127; // x4 int32x4_t *v128; // x2 __int64 v129; // x20 __int64 v130; // x0 unsigned __int64 v131; // x23 __int64 v132; // x21 unsigned __int64 v133; // x25 unsigned __int64 v134; // x0 int32x4_t *v135; // x0 int32x4_t *v136; // x19 unsigned __int32 *v137; // x3 unsigned __int64 v138; // x1 unsigned __int64 v139; // x2 unsigned __int64 v140; // x1 unsigned __int64 v141; // x2 int32x4_t v142; // q0 int32x4_t *v143; // x5 unsigned __int64 v144; // x3 __int64 v145; // x23 __int64 v146; // x19 unsigned __int64 v147; // x0 __int64 v148; // x2 uint8x16_t *v149; // x9 int32x4_t *v150; // x4 unsigned __int64 v151; // x5 uint8x16_t v152; // t1 uint32x4_t *v153; // x8 uint32x4_t *v154; // x7 uint32x4_t *v155; // x6 uint16x8_t v156; // q1 uint16x8_t v157; // q0 int32x4_t *v158; // x0 unsigned int *v159; // x1 __int64 v160; // x2 __int64 v161; // x4 __int64 v162; // x0 __int64 v163; // x0 int v164; // [xsp+60h] [xbp+60h] int v165; // [xsp+60h] [xbp+60h] __int64 v166; // [xsp+60h] [xbp+60h] __int64 v167; // [xsp+60h] [xbp+60h] unsigned __int8 *v168; // [xsp+68h] [xbp+68h] unsigned __int8 *v169; // [xsp+68h] [xbp+68h] unsigned __int8 *v170; // [xsp+68h] [xbp+68h] unsigned __int8 *v171; // [xsp+68h] [xbp+68h] int v172; // [xsp+78h] [xbp+78h] BYREF int v173; // [xsp+7Ch] [xbp+7Ch] int v174; // [xsp+80h] [xbp+80h] v7 = *a3; v8 = a3[2]; v9 = a3[1]; if ( (int)a2 < -1 ) { if ( !(_DWORD)a5 ) { v172 = -1; v173 = 48; v174 = 4; return fmt::BasicWriter::PrepareBufferForInt(a1, a2, &v172, a4, a5); } v60 = a5 - 1; if ( a4[(unsigned int)(a5 - 1)] == 48 ) { v60 = a5 - 2; a5 = (unsigned int)(a5 - 1); } v172 = v60; v173 = 48; v174 = 4; if ( v7 <= v60 ) return fmt::BasicWriter::PrepareBufferForInt(a1, a2, &v172, a4, a5); if ( a1[1] < v7 ) { v166 = a5; v170 = a4; fmt::internal::Array::grow(a1, v7); a5 = v166; a4 = v170; } v61 = v7 - v60; if ( v8 != 1 ) { v62 = *a1; v63 = v61 + *a1; if ( v63 > a1[1] ) { v167 = a5; v171 = a4; fmt::internal::Array::grow(a1, v61 + *a1); a5 = v167; a4 = v171; } v64 = a1[2]; *a1 = v63; v65 = (int32x4_t *)(v64 + 4 * v62); v66 = (int32x4_t *)((char *)v65 + 4 * v61); if ( v66 == v65 ) return fmt::BasicWriter::PrepareBufferForInt(a1, a2, &v172, a4, a5); v67 = &v65->n128_u32[1]; v68 = (unsigned __int64)((char *)v66 - (char *)&v65->n128_u8[4]) >> 2; v53 = v68 > 2; v69 = (v68 - 3) >> 2; v70 = v68 + 1; v71 = v69 + 1; if ( !v53 ) goto LABEL_66; v72 = vdupq_n_s32(v9); v73 = v65; v74 = 0; do { *v73++ = v72; ++v74; } while ( v71 > v74 ); v65 += v71; if ( 4 * v71 != v70 ) { v67 = &v65->n128_u32[1]; LABEL_66: v65->n128_u32[0] = v9; if ( v66 != (int32x4_t *)v67 ) { v65->n128_u32[1] = v9; if ( v66 != (int32x4_t *)&v65->n128_i8[8] ) v65->n128_u32[2] = v9; } } return fmt::BasicWriter::PrepareBufferForInt(a1, a2, &v172, a4, a5); } v130 = fmt::BasicWriter::PrepareBufferForInt(a1, a2, &v172, a4, a5); v131 = *a1; v132 = v130; v133 = v61 + *a1; if ( v133 > a1[1] ) fmt::internal::Array::grow(a1, v61 + *a1); v134 = a1[2]; *a1 = v133; v135 = (int32x4_t *)(v134 + 4 * v131); v136 = (int32x4_t *)((char *)v135 + 4 * v61); if ( v136 != v135 ) { v137 = &v135->n128_u32[1]; v138 = (unsigned __int64)((char *)v136 - (char *)&v135->n128_u8[4]) >> 2; v53 = v138 > 2; v139 = (v138 - 3) >> 2; v140 = v138 + 1; v141 = v139 + 1; if ( !v53 ) goto LABEL_151; v142 = vdupq_n_s32(v9); v143 = v135; v144 = 0; do { *v143++ = v142; ++v144; } while ( v144 < v141 ); v135 += v141; if ( v140 != 4 * v141 ) { v137 = &v135->n128_u32[1]; LABEL_151: v135->n128_u32[0] = v9; if ( v136 != (int32x4_t *)v137 ) { v135->n128_u32[1] = v9; if ( v136 != (int32x4_t *)&v135->n128_i8[8] ) v135->n128_u32[2] = v9; } } } return v132; } v10 = a2 + (unsigned int)a5; if ( v7 <= (unsigned int)v10 ) { v11 = *a1; v12 = *a1 + (unsigned int)v10; if ( v12 > a1[1] ) { v164 = a5; v168 = a4; fmt::internal::Array::grow(a1, *a1 + (unsigned int)v10); LODWORD(a5) = v164; a4 = v168; } v13 = a1[2]; v14 = (unsigned int)a5; *a1 = v12; v15 = (uint32x4_t *)(v13 + 4 * v11); if ( !(_DWORD)a5 ) return (__int64)v15 + 4 * (unsigned int)v10 - 4; v16 = (unsigned int)a5; if ( ((unsigned __int64)a4 >= v13 + 4 * ((unsigned int)a5 + v11) || v15 >= (uint32x4_t *)&a4[(unsigned int)a5]) && (unsigned int)a5 > 0xF ) { v17 = (((unsigned __int64)(unsigned int)a5 - 16) >> 4) + 1; v18 = 16 * v17; if ( (unsigned int)a5 <= 0xFuLL ) { v28 = v15; } else { v19 = (uint8x16_t *)a4; v20 = v15; v21 = 0; do { v22 = *v19++; v23 = v20; v24 = v20 + 2; v25 = v20 + 3; ++v21; v20 += 4; v26 = vmovl_u8((uint8x8_t)v22.n128_u64[0]); v27 = vmovl_high_u8(v22); *v23 = vmovl_u16((uint16x4_t)v26.n128_u64[0]); v23[1] = vmovl_high_u16(v26); *v24 = vmovl_u16((uint16x4_t)v27.n128_u64[0]); *v25 = vmovl_high_u16(v27); } while ( v21 < v17 ); a4 += v18; v28 = &v15[4 * v17]; v14 -= v18; if ( v16 == v18 ) return (__int64)v15 + 4 * (unsigned int)v10 - 4; } v28->n128_u32[0] = *a4; if ( v14 != 1 ) { v28->n128_u32[1] = a4[1]; if ( v14 != 2 ) { v28->n128_u32[2] = a4[2]; if ( v14 != 3 ) { v28->n128_u32[3] = a4[3]; if ( v14 != 4 ) { v28[1].n128_u32[0] = a4[4]; if ( v14 != 5 ) { v28[1].n128_u32[1] = a4[5]; if ( v14 != 6 ) { v28[1].n128_u32[2] = a4[6]; if ( v14 != 7 ) { v28[1].n128_u32[3] = a4[7]; if ( v14 != 8 ) { v28[2].n128_u32[0] = a4[8]; if ( v14 != 9 ) { v28[2].n128_u32[1] = a4[9]; if ( v14 != 10 ) { v28[2].n128_u32[2] = a4[10]; if ( v14 != 11 ) { v28[2].n128_u32[3] = a4[11]; if ( v14 != 12 ) { v28[3].n128_u32[0] = a4[12]; if ( v14 != 13 ) { v28[3].n128_u32[1] = a4[13]; if ( v14 != 14 ) v28[3].n128_u32[2] = a4[14]; } } } } } } } } } } } } } return (__int64)v15 + 4 * (unsigned int)v10 - 4; } v129 = 0; do { v15->n128_u32[v129] = a4[v129]; ++v129; } while ( v129 != (unsigned int)a5 ); return (__int64)v15 + 4 * (unsigned int)v10 - 4; } v30 = *a1; v31 = v7 + *a1; if ( v31 <= a1[1] ) { v32 = a1[2]; *a1 = v31; v33 = (int32x4_t *)(v32 + 4 * v30); v34 = (unsigned int *)v33 + v7; if ( v8 != 1 ) goto LABEL_15; LABEL_122: v107 = (unsigned int)a5; if ( !(_DWORD)a5 ) goto LABEL_129; v108 = (unsigned int)a5; if ( ((unsigned __int64)a4 >= v32 + 4 * ((unsigned int)a5 + v30) || v33 >= (int32x4_t *)&a4[(unsigned int)a5]) && (unsigned int)a5 > 0xF ) { v109 = (((unsigned __int64)(unsigned int)a5 - 16) >> 4) + 1; v110 = 16 * v109; if ( v107 <= 15 ) { v120 = v33; } else { v111 = (uint8x16_t *)a4; v112 = v33; v113 = 0; do { v114 = *v111++; v115 = v112; v116 = v112 + 2; v117 = v112 + 3; ++v113; v112 += 4; v118 = vmovl_u8((uint8x8_t)v114.n128_u64[0]); v119 = vmovl_high_u8(v114); *v115 = vmovl_u16((uint16x4_t)v118.n128_u64[0]); v115[1] = vmovl_high_u16(v118); *v116 = vmovl_u16((uint16x4_t)v119.n128_u64[0]); *v117 = vmovl_high_u16(v119); } while ( v113 < v109 ); a4 += v110; v120 = &v33[4 * v109]; v107 -= v110; if ( v108 == v110 ) goto LABEL_129; } v120->n128_u32[0] = *a4; if ( v107 != 1 ) { v120->n128_u32[1] = a4[1]; if ( v107 != 2 ) { v120->n128_u32[2] = a4[2]; if ( v107 != 3 ) { v120->n128_u32[3] = a4[3]; if ( v107 != 4 ) { v120[1].n128_u32[0] = a4[4]; if ( v107 != 5 ) { v120[1].n128_u32[1] = a4[5]; if ( v107 != 6 ) { v120[1].n128_u32[2] = a4[6]; if ( v107 != 7 ) { v120[1].n128_u32[3] = a4[7]; if ( v107 != 8 ) { v120[2].n128_u32[0] = a4[8]; if ( v107 != 9 ) { v120[2].n128_u32[1] = a4[9]; if ( v107 != 10 ) { v120[2].n128_u32[2] = a4[10]; if ( v107 != 11 ) { v120[2].n128_u32[3] = a4[11]; if ( v107 != 12 ) { v120[3].n128_u32[0] = a4[12]; if ( v107 != 13 ) { v120[3].n128_u32[1] = a4[13]; if ( v107 != 14 ) v120[3].n128_u32[2] = a4[14]; } } } } } } } } } } } } } } else { v161 = 0; do { v33->n128_u32[v161] = a4[v161]; ++v161; } while ( v161 != v107 ); } LABEL_129: v121 = (unsigned int *)v33 + v10; if ( v34 == v121 ) return (__int64)(v34 - 1); v122 = (unsigned __int64)((char *)v34 - (char *)(v121 + 1)) >> 2; v53 = v122 > 2; v123 = (v122 - 3) >> 2; v124 = v122 + 1; v125 = v123 + 1; if ( v53 ) { v126 = vdupq_n_s32(v9); v127 = 0; v128 = (int32x4_t *)(v32 + 4 * (v10 + v30)); do { *v128++ = v126; ++v127; } while ( v127 < v125 ); v159 = &v121[4 * v125]; if ( v124 == 4 * v125 ) return (__int64)(v121 - 1); } else { v159 = (unsigned int *)v33 + v10; } *v159 = v9; if ( v34 != v159 + 1 ) { v159[1] = v9; if ( v34 != v159 + 2 ) v159[2] = v9; } return (__int64)(v121 - 1); } v165 = a5; v169 = a4; fmt::internal::Array::grow(a1, v7 + *a1); *a1 = v31; v32 = a1[2]; LODWORD(a5) = v165; v33 = (int32x4_t *)(v32 + 4 * v30); a4 = v169; v34 = (unsigned int *)v33 + v7; if ( v8 == 1 ) goto LABEL_122; LABEL_15: if ( v8 != 3 ) { if ( v8 != 4 ) { v35 = (unsigned int)a5; v36 = 4LL * (unsigned int)v10; v37 = (int32x4_t *)&v34[v36 / 0xFFFFFFFFFFFFFFFCLL]; if ( !(_DWORD)a5 ) goto LABEL_39; v38 = (uint32x4_t *)(v32 + 4 * v31 - v36); v39 = (unsigned int)a5; if ( ((unsigned __int64)a4 >= v32 + 4 * ((unsigned int)a5 + v30 + v7) - v36 || v38 >= (uint32x4_t *)&a4[(unsigned int)a5]) && (unsigned int)a5 > 0xF ) { v40 = (((unsigned __int64)(unsigned int)a5 - 16) >> 4) + 1; v41 = 16 * v40; if ( v35 <= 15 ) { v50 = (int32x4_t *)&v34[v36 / 0xFFFFFFFFFFFFFFFCLL]; } else { v42 = (uint8x16_t *)a4; v43 = 0; do { v44 = *v42++; v45 = v38; v46 = v38 + 2; v47 = v38 + 3; ++v43; v38 += 4; v48 = vmovl_u8((uint8x8_t)v44.n128_u64[0]); v49 = vmovl_high_u8(v44); *v45 = vmovl_u16((uint16x4_t)v48.n128_u64[0]); v45[1] = vmovl_high_u16(v48); *v46 = vmovl_u16((uint16x4_t)v49.n128_u64[0]); *v47 = vmovl_high_u16(v49); } while ( v43 < v40 ); a4 += v41; v50 = &v37[4 * v40]; v35 -= v41; if ( v39 == v41 ) goto LABEL_39; } v50->n128_u32[0] = *a4; if ( v35 != 1 ) { v50->n128_u32[1] = a4[1]; if ( v35 != 2 ) { v50->n128_u32[2] = a4[2]; if ( v35 != 3 ) { v50->n128_u32[3] = a4[3]; if ( v35 != 4 ) { v50[1].n128_u32[0] = a4[4]; if ( v35 != 5 ) { v50[1].n128_u32[1] = a4[5]; if ( v35 != 6 ) { v50[1].n128_u32[2] = a4[6]; if ( v35 != 7 ) { v50[1].n128_u32[3] = a4[7]; if ( v35 != 8 ) { v50[2].n128_u32[0] = a4[8]; if ( v35 != 9 ) { v50[2].n128_u32[1] = a4[9]; if ( v35 != 10 ) { v50[2].n128_u32[2] = a4[10]; if ( v35 != 11 ) { v50[2].n128_u32[3] = a4[11]; if ( v35 != 12 ) { v50[3].n128_u32[0] = a4[12]; if ( v35 != 13 ) { v50[3].n128_u32[1] = a4[13]; if ( v35 != 14 ) v50[3].n128_u32[2] = a4[14]; } } } } } } } } } } } } } } else { v160 = 0; do { v37->n128_u32[v160] = a4[v160]; ++v160; } while ( v160 != (unsigned int)a5 ); } LABEL_39: if ( v33 != v37 ) { v51 = (int32x4_t *)&v33->n128_u8[4]; v52 = (unsigned __int64)((char *)v37 - (char *)&v33->n128_u8[4]) >> 2; v53 = v52 > 2; v54 = (v52 - 3) >> 2; v55 = v52 + 1; v56 = v54 + 1; if ( !v53 ) goto LABEL_46; v57 = vdupq_n_s32(v9); v58 = v33; v59 = 0; do { *v58++ = v57; ++v59; } while ( v59 < v56 ); v33 += v56; if ( v55 != 4 * v56 ) { v51 = (int32x4_t *)&v33->n128_u8[4]; LABEL_46: v33->n128_u32[0] = v9; if ( v37 != v51 ) { v33->n128_u32[1] = v9; if ( v37 != (int32x4_t *)&v33->n128_i8[8] ) v33->n128_u32[2] = v9; } } } return (__int64)(v34 - 1); } v37 = (int32x4_t *)&v34[-(unsigned int)v10]; if ( !(_DWORD)a5 ) goto LABEL_39; v145 = (unsigned int)a5; v146 = (unsigned int)a5; if ( ((unsigned __int64)a4 >= v32 + 4 * ((unsigned int)a5 + v30) || v33 >= (int32x4_t *)&a4[(unsigned int)a5]) && (unsigned int)a5 > 0xF ) { v147 = (((unsigned __int64)(unsigned int)a5 - 16) >> 4) + 1; v148 = 16 * v147; if ( (unsigned int)a5 <= 0xFuLL ) { v158 = v33; goto LABEL_162; } v149 = (uint8x16_t *)a4; v150 = v33; v151 = 0; do { v152 = *v149++; v153 = v150; v154 = v150 + 2; v155 = v150 + 3; ++v151; v150 += 4; v156 = vmovl_u8((uint8x8_t)v152.n128_u64[0]); v157 = vmovl_high_u8(v152); *v153 = vmovl_u16((uint16x4_t)v156.n128_u64[0]); v153[1] = vmovl_high_u16(v156); *v154 = vmovl_u16((uint16x4_t)v157.n128_u64[0]); *v155 = vmovl_high_u16(v157); } while ( v151 < v147 ); a4 += v148; v158 = &v33[4 * v147]; v146 = v145 - v148; if ( v145 != v148 ) { LABEL_162: v158->n128_u32[0] = *a4; if ( v146 != 1 ) { v158->n128_u32[1] = a4[1]; if ( v146 != 2 ) { v158->n128_u32[2] = a4[2]; if ( v146 != 3 ) { v158->n128_u32[3] = a4[3]; if ( v146 != 4 ) { v158[1].n128_u32[0] = a4[4]; if ( v146 != 5 ) { v158[1].n128_u32[1] = a4[5]; if ( v146 != 6 ) { v158[1].n128_u32[2] = a4[6]; if ( v146 != 7 ) { v158[1].n128_u32[3] = a4[7]; if ( v146 != 8 ) { v158[2].n128_u32[0] = a4[8]; if ( v146 != 9 ) { v158[2].n128_u32[1] = a4[9]; if ( v146 != 10 ) { v158[2].n128_u32[2] = a4[10]; if ( v146 != 11 ) { v158[2].n128_u32[3] = a4[11]; if ( v146 != 12 ) { v158[3].n128_u32[0] = a4[12]; if ( v146 != 13 ) { v158[3].n128_u32[1] = a4[13]; if ( v146 != 14 ) v158[3].n128_u32[2] = a4[14]; } } } } } } } } } } } } } } } else { v163 = 0; do { v33->n128_u32[v163] = a4[v163]; ++v163; } while ( v163 != (unsigned int)a5 ); } v33 = (int32x4_t *)((char *)v33 + 4 * v145); v37 = (int32x4_t *)&v34[-a2]; goto LABEL_39; } v75 = v7 - v10; v76 = v75 >> 1; if ( v75 >> 1 ) { v77 = ((v76 - 4) >> 2) + 1; v78 = 4 * v77; if ( v76 - 1 <= 2 ) { v84 = v75 >> 1; v83 = (unsigned int *)v33; } else { v79 = vdupq_n_s32(v9); v80 = v33; v81 = 0; do { *v80++ = v79; ++v81; } while ( v81 < v77 ); v82 = v76 == v78; v83 = (unsigned int *)&v33[v77]; v84 = v76 - v78; if ( v82 ) goto LABEL_93; } *v83 = v9; if ( v84 != 1 ) { v83[1] = v9; if ( v84 != 2 ) v83[2] = v9; } } LABEL_93: v85 = v75 - v76; v86 = (_DWORD *)v33 + v76; v34 = &v86[v10]; if ( v85 ) { v87 = ((v85 - 4) >> 2) + 1; v88 = 4 * v87; if ( v85 - 1 <= 2 ) { v92 = &v86[v10]; goto LABEL_195; } v89 = vdupq_n_s32(v9); v90 = 0; v91 = (int32x4_t *)(v32 + 4 * (v10 + v30 + v76)); do { *v91++ = v89; ++v90; } while ( v90 < v87 ); v82 = v85 == v88; v92 = &v34[4 * v87]; v85 -= v88; if ( !v82 ) { LABEL_195: *v92 = v9; if ( v85 != 1 ) { v92[1] = v9; if ( v85 != 2 ) v92[2] = v9; } } } v93 = (unsigned int)a5; if ( !(_DWORD)a5 ) return (__int64)(v34 - 1); v94 = (unsigned int)a5 + v30 + v76; v95 = (uint32x4_t *)(v32 + 4 * (v76 + v30)); v96 = (unsigned int)a5; if ( ((unsigned __int64)a4 >= v32 + 4 * v94 || v95 >= (uint32x4_t *)&a4[(unsigned int)a5]) && (unsigned int)a5 > 0xF ) { v97 = (((unsigned __int64)(unsigned int)a5 - 16) >> 4) + 1; v98 = 16 * v97; if ( (unsigned int)a5 > 0xFuLL ) { v99 = (uint8x16_t *)a4; v100 = 0; do { v101 = *v99++; v102 = v95; v103 = v95 + 2; v104 = v95 + 3; ++v100; v95 += 4; v105 = vmovl_u8((uint8x8_t)v101.n128_u64[0]); v106 = vmovl_high_u8(v101); *v102 = vmovl_u16((uint16x4_t)v105.n128_u64[0]); v102[1] = vmovl_high_u16(v105); *v103 = vmovl_u16((uint16x4_t)v106.n128_u64[0]); *v104 = vmovl_high_u16(v106); } while ( v100 < v97 ); a4 += v98; v86 += 16 * v97; v93 -= v98; if ( v96 == v98 ) return (__int64)(v34 - 1); } *v86 = *a4; if ( v93 == 1 ) return (__int64)(v34 - 1); v86[1] = a4[1]; if ( v93 == 2 ) return (__int64)(v34 - 1); v86[2] = a4[2]; if ( v93 == 3 ) return (__int64)(v34 - 1); v86[3] = a4[3]; if ( v93 == 4 ) return (__int64)(v34 - 1); v86[4] = a4[4]; if ( v93 == 5 ) return (__int64)(v34 - 1); v86[5] = a4[5]; if ( v93 == 6 ) return (__int64)(v34 - 1); v86[6] = a4[6]; if ( v93 == 7 ) return (__int64)(v34 - 1); v86[7] = a4[7]; if ( v93 == 8 ) return (__int64)(v34 - 1); v86[8] = a4[8]; if ( v93 == 9 ) return (__int64)(v34 - 1); v86[9] = a4[9]; if ( v93 == 10 ) return (__int64)(v34 - 1); v86[10] = a4[10]; if ( v93 == 11 ) return (__int64)(v34 - 1); v86[11] = a4[11]; if ( v93 == 12 ) return (__int64)(v34 - 1); v86[12] = a4[12]; if ( v93 == 13 ) return (__int64)(v34 - 1); v86[13] = a4[13]; if ( v93 == 14 ) return (__int64)(v34 - 1); v86[14] = a4[14]; return (__int64)(v34 - 1); } else { v162 = 0; do { v86[v162] = a4[v162]; ++v162; } while ( v162 != (unsigned int)a5 ); return (__int64)(v34 - 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source