//
// sub_F00950 from 0xf00950 to 0xf01528 (3032 bytes)
//
// 1 xrefs:
// > sub_F0165C @ 0xf016b8
//
// 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 13:12:19 +0000
//
unsigned __int64 __fastcall sub_F00950(unsigned __int64 result)
{
unsigned int v1; // w6
unsigned int *v2; // x3
int v3; // w2
unsigned __int64 v4; // x1
unsigned int *v5; // x7
unsigned __int64 v6; // x4
unsigned __int64 v7; // x4
int v8; // w11
int v9; // w9
int32x4_t v10; // q0
unsigned int v11; // w6
_OWORD *v12; // x5
int v13; // w10
int8x16_t *v14; // x4
_OWORD *v15; // x7
unsigned int v16; // w8
uint32x4_t v17; // q4
uint32x2_t *v18; // x15
uint32x4_t v19; // q5
_OWORD *v20; // x14
_OWORD *v21; // x13
uint32x4_t v22; // q3
_OWORD *v23; // x12
int v24; // w4
int v25; // w7
int v26; // w8
int v27; // w7
int v28; // w8
int v29; // w7
int v30; // w8
int v31; // w7
int v32; // w8
int v33; // w7
int v34; // w8
int v35; // w7
int v36; // w8
int v37; // w7
int v38; // w4
__int64 v39; // x4
unsigned __int64 v40; // x5
unsigned __int64 v41; // x9
unsigned __int64 v42; // x9
int v43; // w4
unsigned __int64 v44; // x10
int v45; // w11
int32x4_t v46; // q6
unsigned int v47; // w9
int32x4_t v48; // q1
int32x4_t *v49; // x10
int v50; // w14
uint32x4_t *v51; // x8
int8x16_t *v52; // x5
int32x4_t *v53; // x12
unsigned int v54; // w13
uint32x4_t v55; // q2
uint32x4_t v56; // q4
uint32x4_t v57; // q7
int32x4_t *v58; // x20
int32x4_t *v59; // x18
int32x4_t v60; // q5
int32x4_t *v61; // x17
int32x4_t v62; // q3
int32x4_t *v63; // x16
uint64x2_t v64; // q24
uint32x4_t v65; // q19
int32x4_t *v66; // x15
int32x4_t v67; // q23
uint32x4_t v68; // q5
int32x4_t v69; // q21
uint32x4_t v70; // q3
int32x4_t v71; // q22
uint32x4_t v72; // q4
int32x4_t v73; // q20
uint32x4_t v74; // q2
int v75; // w4
int v76; // w10
unsigned __int64 v77; // x9
int v78; // w11
unsigned __int64 v79; // x9
int v80; // w10
unsigned __int64 v81; // x9
int v82; // w11
unsigned __int64 v83; // x9
int v84; // w10
unsigned __int64 v85; // x9
int v86; // w11
unsigned __int64 v87; // x9
int v88; // w10
unsigned __int64 v89; // x9
int v90; // w11
unsigned __int64 v91; // x9
int v92; // w10
unsigned __int64 v93; // x9
int v94; // w11
unsigned __int64 v95; // x9
int v96; // w10
unsigned __int64 v97; // x9
int v98; // w11
unsigned __int64 v99; // x9
int v100; // w10
unsigned __int64 v101; // x9
int v102; // w4
unsigned __int64 v103; // x9
unsigned __int64 v104; // x6
__int64 v105; // x8
unsigned __int64 v106; // x5
__int64 v107; // x6
v1 = -(*(_DWORD *)(result + 24) * *(_DWORD *)(result + 16));
v2 = *(unsigned int **)(result + 72);
v3 = *(_DWORD *)(result + 52) * *(_DWORD *)(result + 8);
v4 = *(_QWORD *)(result + 88);
v5 = *(unsigned int **)(result + 96);
if ( *(_DWORD *)(result + 24) * *(_DWORD *)(result + 16) )
{
if ( v3 > 0 )
{
v39 = 4LL * v3;
if ( (unsigned int)v3 > 0x12
&& (v4 >= (unsigned __int64)(v5 + 16) || (unsigned __int64)v5 >= v4 + 64)
&& (result + 20 >= (unsigned __int64)v2 + v3 || (unsigned __int64)v2 >= result + 24)
&& ((unsigned __int64)v2 >= v4 + v39 || v4 >= (unsigned __int64)v2 + v3)
&& (v2 >= &v5[(unsigned __int64)v39 / 4] || v5 >= (unsigned int *)((char *)v2 + v3))
&& (result + 20 >= v4 + v39 || v4 >= result + 24) )
{
v40 = -((v4 >> 2) & 3) & 3;
if ( v3 <= (unsigned int)v40 )
v40 = (unsigned int)(*(_DWORD *)(result + 52) * *(_DWORD *)(result + 8));
if ( (_DWORD)v40 )
{
v41 = (*v5 * (unsigned __int64)v1 + 0x80000000) >> 32;
*(_BYTE *)v2 = ((unsigned int)(*(_DWORD *)v4 - v41) * (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)v4 = v41;
if ( (_DWORD)v40 == 1 )
{
v43 = 1;
}
else
{
v42 = (v5[1] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + 1) = ((unsigned int)(*(_DWORD *)(v4 + 4) - v42)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4) = v42;
if ( (_DWORD)v40 == 3 )
{
v43 = 3;
v44 = (v5[2] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + 2) = ((unsigned int)(*(_DWORD *)(v4 + 8) - v44)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 8) = v44;
}
else
{
v43 = 2;
}
}
}
else
{
v43 = 0;
}
v45 = v3 - v40;
v46 = vdupq_n_s32(v1);
v47 = ((unsigned int)(v3 - v40 - 16) >> 4) + 1;
v48 = vdupq_n_s32(*(_DWORD *)(result + 20));
v49 = (int32x4_t *)(v4 + 4 * v40);
v50 = 16 * v47;
v51 = (uint32x4_t *)&v5[v40];
v52 = (int8x16_t *)((char *)v2 + v40);
v53 = v49;
v54 = 0;
do
{
v55 = *v51;
v56 = v51[2];
v57 = v51[3];
v58 = v49 + 3;
v59 = v49 + 1;
v60 = *v49;
v61 = v53;
v62 = v49[2];
v63 = v53 + 2;
v64 = vmlal_u32((uint64x2_t)xmmword_F01530, (uint32x2_t)v51->n128_u64[0], (uint32x2_t)v46.n128_u64[0]);
v65 = v51[1];
v66 = v53 + 3;
++v54;
v51 += 4;
v49 += 4;
v53 += 4;
v67 = vmovn_hight_s64(
vmovn_s64(vshrq_n_u64(v64, 0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v55, v46), 0x20u));
v68 = vsubq_s32(v60, v67);
v69 = vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32((uint64x2_t)xmmword_F01530, (uint32x2_t)v56.n128_u64[0], (uint32x2_t)v46.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v56, v46), 0x20u));
v70 = vsubq_s32(v62, v69);
v71 = vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32((uint64x2_t)xmmword_F01530, (uint32x2_t)v65.n128_u64[0], (uint32x2_t)v46.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v65, v46), 0x20u));
v72 = vsubq_s32(*v59, v71);
v73 = vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32((uint64x2_t)xmmword_F01530, (uint32x2_t)v57.n128_u64[0], (uint32x2_t)v46.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v57, v46), 0x20u));
v74 = vsubq_s32(*v58, v73);
*v52++ = vmovn_hight_s16(
vmovn_s16(
vmovn_hight_s32(
vmovn_s32(
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v68.n128_u64[0],
(uint32x2_t)v48.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v68, v48), 0x20u))),
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v72.n128_u64[0],
(uint32x2_t)v48.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v72, v48), 0x20u)))),
vmovn_hight_s32(
vmovn_s32(
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v70.n128_u64[0],
(uint32x2_t)v48.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v70, v48), 0x20u))),
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v74.n128_u64[0],
(uint32x2_t)v48.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v74, v48), 0x20u))));
*v61 = v67;
v61[1] = v71;
*v63 = v69;
*v66 = v73;
}
while ( v54 < v47 );
v75 = v43 + v50;
if ( v45 != v50 )
{
v76 = v75 + 1;
v77 = (v5[v75] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v75) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v75) - v77)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v75) = v77;
if ( v3 > v75 + 1 )
{
v78 = v75 + 2;
v79 = (v5[v76] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v76) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v76) - v79)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v76) = v79;
if ( v3 > v75 + 2 )
{
v80 = v75 + 3;
v81 = (v5[v78] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v78) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v78) - v81)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v78) = v81;
if ( v3 > v75 + 3 )
{
v82 = v75 + 4;
v83 = (v5[v80] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v80) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v80) - v83)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v80) = v83;
if ( v3 > v75 + 4 )
{
v84 = v75 + 5;
v85 = (v5[v82] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v82) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v82) - v85)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v82) = v85;
if ( v3 > v75 + 5 )
{
v86 = v75 + 6;
v87 = (v5[v84] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v84) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v84) - v87)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v84) = v87;
if ( v3 > v75 + 6 )
{
v88 = v75 + 7;
v89 = (v5[v86] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v86) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v86) - v89)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v86) = v89;
if ( v3 > v75 + 7 )
{
v90 = v75 + 8;
v91 = (v5[v88] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v88) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v88) - v91)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v88) = v91;
if ( v3 > v75 + 8 )
{
v92 = v75 + 9;
v93 = (v5[v90] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v90) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v90) - v93)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v90) = v93;
if ( v3 > v75 + 9 )
{
v94 = v75 + 10;
v95 = (v5[v92] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v92) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v92) - v95)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v92) = v95;
if ( v3 > v75 + 10 )
{
v96 = v75 + 11;
v97 = (v5[v94] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v94) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v94) - v97)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v94) = v97;
if ( v3 > v75 + 11 )
{
v98 = v75 + 12;
v99 = (v5[v96] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v96) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v96) - v99)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v96) = v99;
if ( v3 > v75 + 12 )
{
v100 = v75 + 13;
v101 = (v5[v98] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v98) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v98) - v101)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v98) = v101;
if ( v3 > v75 + 13 )
{
v102 = v75 + 14;
v103 = (v5[v100] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v100) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v100) - v103)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v100) = v103;
if ( v3 > v102 )
{
result = *(unsigned int *)(result + 20);
v104 = (v5[v102] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v102) = ((unsigned int)(*(_DWORD *)(v4 + 4LL * v102) - v104)
* (unsigned __int64)(unsigned int)result
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v102) = v104;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
else
{
v105 = 0;
do
{
v106 = (v5[v105] * (unsigned __int64)v1 + 0x80000000) >> 32;
*((_BYTE *)v2 + v105) = ((unsigned int)(*(_DWORD *)(v4 + 4 * v105) - v106)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4 * v105++) = v106;
}
while ( v3 > (int)v105 );
}
}
}
else if ( v3 > 0 )
{
v6 = v4 + 4LL * v3;
if ( (unsigned int)v3 > 0x13
&& ((unsigned __int64)v2 + v3 <= result + 20 || (unsigned __int64)v2 >= result + 24)
&& ((unsigned __int64)v2 >= v6 || v4 >= (unsigned __int64)v2 + v3)
&& (v6 <= result + 20 || v4 >= result + 24) )
{
v7 = -((v4 >> 2) & 3) & 3;
if ( v3 <= (unsigned int)v7 )
v7 = (unsigned int)(*(_DWORD *)(result + 52) * *(_DWORD *)(result + 8));
if ( (_DWORD)v7 )
{
*(_BYTE *)v2 = (*(unsigned int *)v4 * (unsigned __int64)*(unsigned int *)(result + 20) + 0x80000000) >> 32;
*(_DWORD *)v4 = 0;
if ( (_DWORD)v7 == 1 )
{
v8 = 1;
}
else
{
*((_BYTE *)v2 + 1) = (*(unsigned int *)(v4 + 4) * (unsigned __int64)*(unsigned int *)(result + 20) + 0x80000000) >> 32;
*(_DWORD *)(v4 + 4) = 0;
if ( (_DWORD)v7 == 3 )
{
v8 = 3;
*((_BYTE *)v2 + 2) = (*(unsigned int *)(v4 + 8) * (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 8) = 0;
}
else
{
v8 = 2;
}
}
}
else
{
v8 = 0;
}
v9 = v3 - v7;
v10 = vdupq_n_s32(*(_DWORD *)(result + 20));
v11 = ((unsigned int)(v3 - v7 - 16) >> 4) + 1;
v12 = (_OWORD *)(v4 + 4 * v7);
v13 = 16 * v11;
v14 = (int8x16_t *)((char *)v2 + v7);
v15 = v12;
v16 = 0;
do
{
v17 = *((uint32x4_t *)v15 + 2);
v18 = (uint32x2_t *)(v15 + 1);
v19 = *(uint32x4_t *)v15;
v20 = v12;
v21 = v12 + 2;
v22 = *((uint32x4_t *)v15 + 3);
v23 = v12 + 3;
++v16;
v15 += 4;
v12 += 4;
*v14++ = vmovn_hight_s16(
vmovn_s16(
vmovn_hight_s32(
vmovn_s32(
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v19.n128_u64[0],
(uint32x2_t)v10.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v19, v10), 0x20u))),
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v18->n64_u64[0],
(uint32x2_t)v10.n128_u64[0]),
0x20u)),
vshrq_n_u64(
vmlal_high_u32((uint64x2_t)xmmword_F01530, *(uint32x4_t *)v18->n64_u64, v10),
0x20u)))),
vmovn_hight_s32(
vmovn_s32(
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v17.n128_u64[0],
(uint32x2_t)v10.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v17, v10), 0x20u))),
vmovn_hight_s64(
vmovn_s64(
vshrq_n_u64(
vmlal_u32(
(uint64x2_t)xmmword_F01530,
(uint32x2_t)v22.n128_u64[0],
(uint32x2_t)v10.n128_u64[0]),
0x20u)),
vshrq_n_u64(vmlal_high_u32((uint64x2_t)xmmword_F01530, v22, v10), 0x20u))));
*v20 = 0u;
v20[1] = 0u;
*v21 = 0u;
*v23 = 0u;
}
while ( v16 < v11 );
v24 = v8 + v13;
if ( v9 != v13 )
{
v25 = v24 + 1;
*((_BYTE *)v2 + v24) = (*(unsigned int *)(v4 + 4LL * v24) * (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v24) = 0;
if ( v3 > v24 + 1 )
{
v26 = v24 + 2;
*((_BYTE *)v2 + v25) = (*(unsigned int *)(v4 + 4LL * v25) * (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v25) = 0;
if ( v3 > v24 + 2 )
{
v27 = v24 + 3;
*((_BYTE *)v2 + v26) = (*(unsigned int *)(v4 + 4LL * v26) * (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v26) = 0;
if ( v3 > v24 + 3 )
{
v28 = v24 + 4;
*((_BYTE *)v2 + v27) = (*(unsigned int *)(v4 + 4LL * v27)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v27) = 0;
if ( v3 > v24 + 4 )
{
v29 = v24 + 5;
*((_BYTE *)v2 + v28) = (*(unsigned int *)(v4 + 4LL * v28)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v28) = 0;
if ( v3 > v24 + 5 )
{
v30 = v24 + 6;
*((_BYTE *)v2 + v29) = (*(unsigned int *)(v4 + 4LL * v29)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v29) = 0;
if ( v3 > v24 + 6 )
{
v31 = v24 + 7;
*((_BYTE *)v2 + v30) = (*(unsigned int *)(v4 + 4LL * v30)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v30) = 0;
if ( v3 > v24 + 7 )
{
v32 = v24 + 8;
*((_BYTE *)v2 + v31) = (*(unsigned int *)(v4 + 4LL * v31)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v31) = 0;
if ( v3 > v24 + 8 )
{
v33 = v24 + 9;
*((_BYTE *)v2 + v32) = (*(unsigned int *)(v4 + 4LL * v32)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v32) = 0;
if ( v3 > v24 + 9 )
{
v34 = v24 + 10;
*((_BYTE *)v2 + v33) = (*(unsigned int *)(v4 + 4LL * v33)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v33) = 0;
if ( v3 > v24 + 10 )
{
v35 = v24 + 11;
*((_BYTE *)v2 + v34) = (*(unsigned int *)(v4 + 4LL * v34)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v34) = 0;
if ( v3 > v24 + 11 )
{
v36 = v24 + 12;
*((_BYTE *)v2 + v35) = (*(unsigned int *)(v4 + 4LL * v35)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v35) = 0;
if ( v3 > v24 + 12 )
{
v37 = v24 + 13;
*((_BYTE *)v2 + v36) = (*(unsigned int *)(v4 + 4LL * v36)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v36) = 0;
if ( v3 > v24 + 13 )
{
v38 = v24 + 14;
*((_BYTE *)v2 + v37) = (*(unsigned int *)(v4 + 4LL * v37)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4LL * v37) = 0;
if ( v3 > v38 )
{
result = (*(unsigned int *)(v4 + 4LL * v38)
* (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*((_BYTE *)v2 + v38) = result;
*(_DWORD *)(v4 + 4LL * v38) = 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
else
{
v107 = 0;
do
{
*((_BYTE *)v2 + v107) = (*(unsigned int *)(v4 + 4 * v107) * (unsigned __int64)*(unsigned int *)(result + 20)
+ 0x80000000) >> 32;
*(_DWORD *)(v4 + 4 * v107++) = 0;
}
while ( v3 > (int)v107 );
}
}
return result;
}