
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

MagickBooleanType
InterpolatePixelChannels
          (Image *source,CacheView_ *source_view,Image *destination,PixelInterpolateMethod method,
          double x,double y,Quantum *pixel,ExceptionInfo *exception)

{
  double dVar1;
  int iVar2;
  size_t sVar3;
  PixelChannelMap *pPVar4;
  PixelChannelMap *pPVar5;
  int iVar6;
  PixelChannel PVar7;
  double dVar8;
  double dVar9;
  double dVar10;
  double dVar11;
  double dVar12;
  double dVar13;
  double dVar14;
  MagickBooleanType MVar15;
  Quantum *pQVar16;
  Quantum *pQVar17;
  PixelChannelMap *pPVar18;
  int unaff_EDI;
  int in_GS_OFFSET;
  double dVar19;
  int local_1e8;
  int local_1cc;
  double local_1c4;
  double local_1bc;
  double local_1b4;
  double local_1ac;
  ushort __cw;
  ushort __cwtmp;
  double alpha [16];
  double pixels [16];
  
  __x86_get_pc_thunk_di();
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (source == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  if (source->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  if (source_view == (CacheView_ *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  local_1e8 = -0x7ffffdff;
  if ((*(double *)(unaff_EDI + 0x197aa9) <= x) &&
     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))) {
    dVar19 = floor(x);
    local_1e8 = (int)ROUND(dVar19);
  }
  local_1cc = -0x7ffffdff;
  if ((*(double *)(unaff_EDI + 0x197aa9) <= y) &&
     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))) {
    dVar19 = floor(y);
    local_1cc = (int)ROUND(dVar19);
  }
  if (method == UndefinedInterpolatePixel) {
    method = source->interpolate;
  }
  if (SplineInterpolatePixel < method) {
    pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);
    if (pQVar16 == (Quantum *)0x0) {
      MVar15 = MagickFalse;
    }
    else {
      sVar3 = source->number_channels;
      if (0 < (int)sVar3) {
        pPVar4 = source->channel_map;
        dVar19 = *(double *)(unaff_EDI + 0x184eb1);
        pPVar5 = destination->channel_map;
        pQVar17 = pQVar16;
        pPVar18 = pPVar4;
        do {
          PVar7 = pPVar18->channel;
          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&
             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {
            dVar14 = x - (double)local_1e8;
            dVar12 = y - (double)local_1cc;
            dVar13 = 1.0 - dVar14;
            dVar11 = 1.0 - dVar12;
            local_1c4 = *pQVar17;
            local_1bc = pQVar17[sVar3];
            local_1b4 = pQVar17[sVar3 * 2];
            local_1ac = pQVar17[sVar3 * 3];
            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {
              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);
              if (dVar8 < 0.0) {
                dVar10 = -dVar8;
                dVar9 = -1.0;
              }
              else {
                dVar9 = 1.0;
                dVar10 = dVar8;
              }
              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {
                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);
              }
              else {
                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;
              }
              pixel[pPVar5[PVar7].offset] =
                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +
                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));
            }
            else {
              dVar8 = dVar14;
              dVar9 = dVar14;
              dVar10 = dVar13;
              dVar1 = dVar13;
              if (pPVar4[4].traits != UndefinedPixelTrait) {
                iVar6 = pPVar4[4].offset;
                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);
                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;
                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;
                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;
                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];
                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;
                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;
                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;
                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;
              }
              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;
              if (dVar8 < 0.0) {
                dVar10 = -dVar8;
                dVar9 = -1.0;
              }
              else {
                dVar9 = 1.0;
                dVar10 = dVar8;
              }
              if (dVar10 < dVar19) {
                dVar8 = dVar9 / dVar19;
              }
              else {
                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;
              }
              pixel[pPVar5[PVar7].offset] =
                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +
                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));
            }
          }
          pPVar18 = pPVar18 + 1;
          pQVar17 = pQVar17 + 1;
        } while (pPVar4 + sVar3 != pPVar18);
      }
      MVar15 = MagickTrue;
    }
    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local();
    }
    return MVar15;
  }
                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  MVar15 = (*(code *)("stops != (const StopInfo *) NULL" +
                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))();
  return MVar15;
}



undefined4
InterpolatePixelChannels
          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,
          int param_7,undefined4 param_8)

{
  double dVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  double dVar7;
  double dVar8;
  double dVar9;
  double dVar10;
  double dVar11;
  double dVar12;
  double dVar13;
  undefined4 uVar14;
  double *pdVar15;
  double *pdVar16;
  int iVar17;
  int *piVar18;
  int unaff_EDI;
  int in_GS_OFFSET;
  double dVar19;
  int local_1e8;
  int local_1cc;
  double local_1c4;
  double local_1bc;
  double local_1b4;
  double local_1ac;
  
  FUN_0004c803();
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  local_1e8 = -0x7ffffdff;
  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&
     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {
    dVar19 = floor(param_5);
    local_1e8 = (int)ROUND(dVar19);
  }
  local_1cc = -0x7ffffdff;
  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&
     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {
    dVar19 = floor(param_6);
    local_1cc = (int)ROUND(dVar19);
  }
  if (param_4 == 0) {
    param_4 = *(uint *)(param_1 + 0x260);
  }
  if (0xb < param_4) {
    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);
    if (pdVar15 == (double *)0x0) {
      uVar14 = 0;
    }
    else {
      iVar3 = *(int *)(param_1 + 0x298);
      if (0 < iVar3) {
        piVar4 = *(int **)(param_1 + 0x2a8);
        dVar19 = *(double *)(unaff_EDI + 0x184eb1);
        iVar5 = *(int *)(param_3 + 0x2a8);
        pdVar16 = pdVar15;
        piVar18 = piVar4;
        do {
          iVar17 = *piVar18 * 0xc + iVar5;
          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {
            dVar13 = param_5 - (double)local_1e8;
            dVar11 = param_6 - (double)local_1cc;
            dVar12 = 1.0 - dVar13;
            dVar10 = 1.0 - dVar11;
            local_1c4 = *pdVar16;
            local_1bc = pdVar16[iVar3];
            local_1b4 = pdVar16[iVar3 * 2];
            local_1ac = pdVar16[iVar3 * 3];
            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {
              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);
              if (dVar7 < 0.0) {
                dVar9 = -dVar7;
                dVar8 = -1.0;
              }
              else {
                dVar8 = 1.0;
                dVar9 = dVar7;
              }
              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {
                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);
              }
              else {
                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;
              }
              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =
                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +
                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));
            }
            else {
              dVar7 = dVar13;
              dVar8 = dVar13;
              dVar9 = dVar12;
              dVar1 = dVar12;
              if (piVar4[0xd] != 0) {
                iVar6 = piVar4[0xe];
                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);
                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;
                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;
                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;
                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];
                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;
                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;
                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;
                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;
              }
              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;
              if (dVar7 < 0.0) {
                dVar9 = -dVar7;
                dVar8 = -1.0;
              }
              else {
                dVar8 = 1.0;
                dVar9 = dVar7;
              }
              if (dVar9 < dVar19) {
                dVar7 = dVar8 / dVar19;
              }
              else {
                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;
              }
              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =
                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +
                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));
            }
          }
          piVar18 = piVar18 + 3;
          pdVar16 = pdVar16 + 1;
        } while (piVar4 + iVar3 * 3 != piVar18);
      }
      uVar14 = 1;
    }
    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_0029eab0();
    }
    return uVar14;
  }
                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +
                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();
  return uVar14;
}


PUSH EBP
PUSH EDI
CALL 0x0004c803
ADD EDI,0x2bed79
PUSH ESI
PUSH EBX
SUB ESP,0x1dc
MOV EAX,dword ptr [ESP + 0x1f8]
MOV ECX,dword ptr [ESP + 0x1f0]
MOV EBX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x1cc],EBX
XOR EBX,EBX
FLD qword ptr [ESP + 0x200]
FSTP qword ptr [ESP + 0x8]
FLD qword ptr [ESP + 0x208]
MOV dword ptr [ESP + 0x38],EAX
MOV EAX,dword ptr [ESP + 0x210]
MOV dword ptr [ESP + 0x18],ECX
MOV EBP,dword ptr [ESP + 0x1f4]
MOV ESI,dword ptr [ESP + 0x1fc]
FSTP qword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x214]
TEST ECX,ECX
JZ 0x0011bea5
MOV ECX,dword ptr [ESP + 0x18]
CMP dword ptr [ECX + 0x3344],0xabacadab
JNZ 0x0011be84
TEST EBP,EBP
JZ 0x0011bec6
FLD qword ptr [ESP + 0x8]
FLD qword ptr [EDI + 0xffed8d30]
MOV dword ptr [ESP + 0x4],0x80000201
FUCOMIP ST0,ST1
JA 0x0011a390
FLD qword ptr [EDI + 0xffed8d38]
FXCH
MOV dword ptr [ESP + 0x4],0x7ffffdff
FUCOMI ST0,ST1
FSTP ST1
JA 0x0011a398
MOV dword ptr [ESP + 0x20],EAX
SUB ESP,0x10
MOV EBX,EDI
FSTP qword ptr [ESP]
CALL 0x00031230
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x20]
FNSTCW word ptr [ESP + 0xb6]
MOVZX EDX,word ptr [ESP + 0xb6]
OR DH,0xc
MOV word ptr [ESP + 0xb4],DX
FLDCW word ptr [ESP + 0xb4]
FISTP dword ptr [ESP + 0x4]
FLDCW word ptr [ESP + 0xb6]
JMP 0x0011a39a
FSTP ST0
JMP 0x0011a39a
FSTP ST0
FLD qword ptr [ESP + 0x10]
FLD qword ptr [EDI + 0xffed8d30]
MOV dword ptr [ESP + 0x20],0x80000201
FUCOMIP ST0,ST1
JA 0x0011a410
FLD qword ptr [EDI + 0xffed8d38]
FXCH
MOV dword ptr [ESP + 0x20],0x7ffffdff
FUCOMI ST0,ST1
FSTP ST1
JA 0x0011a418
MOV dword ptr [ESP + 0x28],EAX
SUB ESP,0x10
MOV EBX,EDI
FSTP qword ptr [ESP]
CALL 0x00031230
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x28]
FNSTCW word ptr [ESP + 0xb6]
MOVZX EDX,word ptr [ESP + 0xb6]
OR DH,0xc
MOV word ptr [ESP + 0xb4],DX
FLDCW word ptr [ESP + 0xb4]
FISTP dword ptr [ESP + 0x20]
FLDCW word ptr [ESP + 0xb6]
JMP 0x0011a41a
FSTP ST0
JMP 0x0011a41a
FSTP ST0
TEST ESI,ESI
JZ 0x0011a438
CMP ESI,0xb
JA 0x0011b3c0
MOV EDX,dword ptr [EDI + ESI*0x4 + 0xffee6858]
ADD EDX,EDI
JMP EDX
MOV ECX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [ECX + 0x260]
JMP 0x0011a41e
MOV EAX,0x1
MOV EDI,dword ptr [ESP + 0x1cc]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x0011be7f
ADD ESP,0x1dc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
MOV EBX,EDI
PUSH EAX
PUSH 0x2
PUSH 0x2
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x1c]
PUSH EBP
CALL 0x00031280
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0011b5d0
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ECX + 0x298]
TEST EDX,EDX
MOV dword ptr [ESP + 0x58],EDX
MOV ESI,EDX
JLE 0x0011a7e0
MOV EBP,dword ptr [ECX + 0x2a8]
LEA EDX,[EDX + EDX*0x2]
MOV dword ptr [ESP + 0x28],EAX
MOV ECX,dword ptr [ESP + 0x38]
FLD qword ptr [EDI + 0xffec6138]
FSTP qword ptr [ESP + 0x70]
MOV EBX,EBP
MOV dword ptr [ESP + 0x18],EBP
MOV ECX,dword ptr [ECX + 0x2a8]
MOV dword ptr [ESP + 0x50],ECX
LEA ECX,[EBP + EDX*0x4]
MOV EBP,EAX
MOV dword ptr [ESP + 0x48],ECX
MOV ECX,ESI
SHL ECX,0x4
MOV dword ptr [ESP + 0x60],ECX
LEA ECX,[EDX*0x8 + 0x0]
MOV dword ptr [ESP + 0x68],ECX
LEA ECX,[ESI*0x8 + 0x0]
MOV dword ptr [ESP + 0x88],ECX
MOV ECX,EAX
JMP 0x0011b546
MOV ESI,dword ptr [EAX + 0x38]
MOV EAX,dword ptr [ESP + 0x88]
FLD qword ptr [EDI + 0xffec6148]
FLD qword ptr [EBP + ESI*0x8]
FMUL ST1
LEA ESI,[EAX + ESI*0x8]
FLD qword ptr [EBP + ESI*0x1]
ADD ESI,EAX
FMUL ST2
FLD qword ptr [EBP + ESI*0x1]
ADD ESI,EBP
FMUL ST3
FSTP qword ptr [ESP + 0x78]
FXCH ST2
FMUL qword ptr [ESI + EAX*0x1]
FLD qword ptr [ESP + 0x28]
FMUL ST2
FSTP qword ptr [ESP + 0x28]
FLD qword ptr [ESP + 0x30]
FMUL ST3
FSTP qword ptr [ESP + 0x30]
FLD qword ptr [ESP + 0x38]
FMUL qword ptr [ESP + 0x78]
FSTP qword ptr [ESP + 0x38]
FLD qword ptr [ESP + 0x40]
FMUL ST1
FSTP qword ptr [ESP + 0x40]
FXCH
FMUL ST4
FXCH ST2
FMUL ST6
FLD qword ptr [ESP + 0x78]
FMUL ST5
FXCH ST2
FMUL ST7
FXCH ST3
FADDP
FMUL ST3
FXCH
FADDP ST2,ST0
FXCH
FMUL ST4
FADDP
FLDZ
FUCOMIP ST0,ST1
FLD ST0
JA 0x0011bb10
FLD1
FLD qword ptr [ESP + 0x70]
FXCH ST2
FUCOMIP ST0,ST2
FSTP ST1
JC 0x0011b830
FSTP ST0
FDIVR dword ptr [EDI + 0xffec6718]
FLD qword ptr [ESP + 0x28]
FMUL ST3
MOV EDX,dword ptr [EDX + 0x8]
FLD qword ptr [ESP + 0x30]
FMUL ST6
MOV EAX,dword ptr [ESP + 0x24]
FADDP
FMULP ST2
FXCH ST2
FMUL qword ptr [ESP + 0x38]
FXCH ST4
FMUL qword ptr [ESP + 0x40]
FADDP ST4,ST0
FXCH ST2
FMULP ST3
FXCH
FADDP ST2,ST0
FMULP
FSTP qword ptr [EAX + EDX*0x8]
ADD EBX,0xc
ADD ECX,0x8
CMP dword ptr [ESP + 0x48],EBX
JZ 0x0011a7e0
MOV EDX,dword ptr [EBX]
MOV EAX,dword ptr [ESP + 0x18]
LEA EDX,[EDX + EDX*0x2]
SHL EDX,0x2
MOV ESI,dword ptr [EAX + EDX*0x1 + 0x4]
ADD EDX,dword ptr [ESP + 0x50]
MOV EAX,dword ptr [EDX + 0x4]
TEST EAX,EAX
JZ 0x0011b536
TEST ESI,ESI
JZ 0x0011b536
FILD dword ptr [ESP + 0x4]
AND ESI,0x4
FSUBR qword ptr [ESP + 0x8]
FILD dword ptr [ESP + 0x20]
FSUBR qword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x58]
FLD1
FLD ST0
FSUB ST0,ST3
FXCH
FSUB ST0,ST2
FLD qword ptr [ECX]
FSTP qword ptr [ESP + 0x28]
FLD qword ptr [ECX + EAX*0x8]
MOV EAX,dword ptr [ESP + 0x60]
FSTP qword ptr [ESP + 0x30]
FLD qword ptr [ECX + EAX*0x1]
MOV EAX,dword ptr [ESP + 0x68]
FSTP qword ptr [ESP + 0x38]
FLD qword ptr [ECX + EAX*0x1]
FSTP qword ptr [ESP + 0x40]
JZ 0x0011b840
MOV EAX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [EAX + 0x34]
TEST ESI,ESI
JNZ 0x0011b460
FLD ST3
FLD ST2
FLD ST5
FLD ST4
JMP 0x0011b4d0
XOR EAX,EAX
JMP 0x0011a7e5
FSTP ST1
FDIV qword ptr [ESP + 0x70]
JMP 0x0011b504
FLD ST3
FADD ST0,ST2
FLD ST1
FMUL ST1
FXCH
FMUL ST4
FADDP
FLDZ
FLD ST1
FXCH
FUCOMIP ST0,ST2
JA 0x0011bdf0
FLD1
FLD qword ptr [EDI + 0xffec6138]
FXCH ST2
FUCOMIP ST0,ST2
JC 0x0011bb68
FSTP ST0
FSTP ST0
FDIVR dword ptr [EDI + 0xffec6718]
FLD qword ptr [ESP + 0x28]
FMUL ST3
MOV EDX,dword ptr [EDX + 0x8]
FLD qword ptr [ESP + 0x30]
FMUL ST6
MOV EAX,dword ptr [ESP + 0x24]
FADDP
FMULP ST2
FXCH ST2
FMUL qword ptr [ESP + 0x38]
FXCH ST4
FMUL qword ptr [ESP + 0x40]
FADDP ST4,ST0
FXCH ST2
FMULP ST3
FXCH
FADDP ST2,ST0
FMULP
FSTP qword ptr [EAX + EDX*0x8]
JMP 0x0011b536
FCHS
FLD1
FCHS
JMP 0x0011b4ec
FSTP ST2
FXCH
FDIVRP
JMP 0x0011b878
FCHS
FLD1
FCHS
JMP 0x0011b85e
CALL 0x0029eab0
LEA EAX,[EDI + 0xffee690c]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffee5ef5]
PUSH 0x1350
PUSH EAX
LEA EAX,[EDI + 0xffed86d0]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EDI + 0xffee690c]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffee5ef5]
PUSH 0x134f
PUSH EAX
LEA EAX,[EDI + 0xffedf13d]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EDI + 0xffee690c]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffee5ef5]
PUSH 0x1351
PUSH EAX
LEA EAX,[EDI + 0xffee6b50]
PUSH EAX
CALL 0x000313d0
(translation_unit "undefined4\nInterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}\n\n" (function_definition "undefined4\nInterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}" type_identifier (function_declarator "InterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)" identifier (parameter_list "(int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "double param_5" primitive_type identifier) , (parameter_declaration "double param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "double *pdVar15;" primitive_type (pointer_declarator "*pdVar15" * identifier) ;) (declaration "double *pdVar16;" primitive_type (pointer_declarator "*pdVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "int local_1e8;" primitive_type identifier ;) (declaration "int local_1cc;" primitive_type identifier ;) (declaration "double local_1c4;" primitive_type identifier ;) (declaration "double local_1bc;" primitive_type identifier ;) (declaration "double local_1b4;" primitive_type identifier ;) (declaration "double local_1ac;" primitive_type identifier ;) (expression_statement "FUN_0004c803();" (call_expression "FUN_0004c803()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (cast_expression "(char *)(unaff_EDI + 0x19deb6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x19deb6)" ( (binary_expression "unaff_EDI + 0x19deb6" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { comment (expression_statement "__assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (binary_expression "&UNK_00197449 + unaff_EDI" (pointer_expression "&UNK_00197449" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (if_statement "if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { comment (expression_statement "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (binary_expression "&UNK_001a58c9 + unaff_EDI" (pointer_expression "&UNK_001a58c9" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (expression_statement "local_1e8 = -0x7ffffdff;" (assignment_expression "local_1e8 = -0x7ffffdff" identifier = number_literal) ;) (if_statement "if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }" if (parenthesized_expression "((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)))" ( (binary_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (parenthesized_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5)" ( (binary_expression "*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5" (pointer_expression "*(double *)(&DAT_00197aa9 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197aa9 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197aa9 + unaff_EDI)" ( (binary_expression "&DAT_00197aa9 + unaff_EDI" (pointer_expression "&DAT_00197aa9" & identifier) + identifier) )))) <= identifier) )) && (parenthesized_expression "(local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" ( (comma_expression "local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (assignment_expression "local_1e8 = 0x7ffffdff" identifier = number_literal) , (binary_expression "param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" identifier <= (pointer_expression "*(double *)(&DAT_00197ab1 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197ab1 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197ab1 + unaff_EDI)" ( (binary_expression "&DAT_00197ab1 + unaff_EDI" (pointer_expression "&DAT_00197ab1" & identifier) + identifier) )))))) ))) )) (compound_statement "{\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }" { (expression_statement "dVar19 = floor(param_5);" (assignment_expression "dVar19 = floor(param_5)" identifier = (call_expression "floor(param_5)" identifier (argument_list "(param_5)" ( identifier )))) ;) (expression_statement "local_1e8 = (int)ROUND(dVar19);" (assignment_expression "local_1e8 = (int)ROUND(dVar19)" identifier = (cast_expression "(int)ROUND(dVar19)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))))) ;) })) (expression_statement "local_1cc = -0x7ffffdff;" (assignment_expression "local_1cc = -0x7ffffdff" identifier = number_literal) ;) (if_statement "if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }" if (parenthesized_expression "((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)))" ( (binary_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (parenthesized_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6)" ( (binary_expression "*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6" (pointer_expression "*(double *)(&DAT_00197aa9 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197aa9 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197aa9 + unaff_EDI)" ( (binary_expression "&DAT_00197aa9 + unaff_EDI" (pointer_expression "&DAT_00197aa9" & identifier) + identifier) )))) <= identifier) )) && (parenthesized_expression "(local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" ( (comma_expression "local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (assignment_expression "local_1cc = 0x7ffffdff" identifier = number_literal) , (binary_expression "param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" identifier <= (pointer_expression "*(double *)(&DAT_00197ab1 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197ab1 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197ab1 + unaff_EDI)" ( (binary_expression "&DAT_00197ab1 + unaff_EDI" (pointer_expression "&DAT_00197ab1" & identifier) + identifier) )))))) ))) )) (compound_statement "{\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }" { (expression_statement "dVar19 = floor(param_6);" (assignment_expression "dVar19 = floor(param_6)" identifier = (call_expression "floor(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "local_1cc = (int)ROUND(dVar19);" (assignment_expression "local_1cc = (int)ROUND(dVar19)" identifier = (cast_expression "(int)ROUND(dVar19)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))))) ;) })) (if_statement "if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    param_4 = *(uint *)(param_1 + 0x260);\n  }" { (expression_statement "param_4 = *(uint *)(param_1 + 0x260);" (assignment_expression "param_4 = *(uint *)(param_1 + 0x260)" identifier = (pointer_expression "*(uint *)(param_1 + 0x260)" * (cast_expression "(uint *)(param_1 + 0x260)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x260)" ( (binary_expression "param_1 + 0x260" identifier + number_literal) ))))) ;) })) (if_statement "if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    return uVar14;\n  }" if (parenthesized_expression "(0xb < param_4)" ( (binary_expression "0xb < param_4" number_literal < identifier) )) (compound_statement "{\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    return uVar14;\n  }" { (expression_statement "pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);" (assignment_expression "pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" identifier = (cast_expression "(double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" identifier (argument_list "(param_2,local_1e8,local_1cc,2,2,param_8)" ( identifier , identifier , identifier , number_literal , number_literal , identifier ))))) ;) (if_statement "if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" if (parenthesized_expression "(pdVar15 == (double *)0x0)" ( (binary_expression "pdVar15 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar14 = 0;\n    }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" else (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x298);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x298)" identifier = (pointer_expression "*(int *)(param_1 + 0x298)" * (cast_expression "(int *)(param_1 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x298)" ( (binary_expression "param_1 + 0x298" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }" { (expression_statement "piVar4 = *(int **)(param_1 + 0x2a8);" (assignment_expression "piVar4 = *(int **)(param_1 + 0x2a8)" identifier = (pointer_expression "*(int **)(param_1 + 0x2a8)" * (cast_expression "(int **)(param_1 + 0x2a8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2a8)" ( (binary_expression "param_1 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "dVar19 = *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar19 = *(double *)(unaff_EDI + 0x184eb1)" identifier = (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(param_3 + 0x2a8);" (assignment_expression "iVar5 = *(int *)(param_3 + 0x2a8)" identifier = (pointer_expression "*(int *)(param_3 + 0x2a8)" * (cast_expression "(int *)(param_3 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2a8)" ( (binary_expression "param_3 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "pdVar16 = pdVar15;" (assignment_expression "pdVar16 = pdVar15" identifier = identifier) ;) (expression_statement "piVar18 = piVar4;" (assignment_expression "piVar18 = piVar4" identifier = identifier) ;) (do_statement "do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);" do (compound_statement "{\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        }" { (expression_statement "iVar17 = *piVar18 * 0xc + iVar5;" (assignment_expression "iVar17 = *piVar18 * 0xc + iVar5" identifier = (binary_expression "*piVar18 * 0xc + iVar5" (binary_expression "*piVar18 * 0xc" (pointer_expression "*piVar18" * identifier) * number_literal) + identifier)) ;) (if_statement "if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }" if (parenthesized_expression "((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0))" ( (binary_expression "(*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)" (parenthesized_expression "(*(int *)(iVar17 + 4) != 0)" ( (binary_expression "*(int *)(iVar17 + 4) != 0" (pointer_expression "*(int *)(iVar17 + 4)" * (cast_expression "(int *)(iVar17 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 4)" ( (binary_expression "iVar17 + 4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(piVar4[*piVar18 * 3 + 1] != 0)" ( (binary_expression "piVar4[*piVar18 * 3 + 1] != 0" (subscript_expression "piVar4[*piVar18 * 3 + 1]" identifier [ (binary_expression "*piVar18 * 3 + 1" (binary_expression "*piVar18 * 3" (pointer_expression "*piVar18" * identifier) * number_literal) + number_literal) ]) != number_literal) ))) )) (compound_statement "{\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }" { (expression_statement "dVar13 = param_5 - (double)local_1e8;" (assignment_expression "dVar13 = param_5 - (double)local_1e8" identifier = (binary_expression "param_5 - (double)local_1e8" identifier - (cast_expression "(double)local_1e8" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "dVar11 = param_6 - (double)local_1cc;" (assignment_expression "dVar11 = param_6 - (double)local_1cc" identifier = (binary_expression "param_6 - (double)local_1cc" identifier - (cast_expression "(double)local_1cc" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "dVar12 = 1.0 - dVar13;" (assignment_expression "dVar12 = 1.0 - dVar13" identifier = (binary_expression "1.0 - dVar13" number_literal - identifier)) ;) (expression_statement "dVar10 = 1.0 - dVar11;" (assignment_expression "dVar10 = 1.0 - dVar11" identifier = (binary_expression "1.0 - dVar11" number_literal - identifier)) ;) (expression_statement "local_1c4 = *pdVar16;" (assignment_expression "local_1c4 = *pdVar16" identifier = (pointer_expression "*pdVar16" * identifier)) ;) (expression_statement "local_1bc = pdVar16[iVar3];" (assignment_expression "local_1bc = pdVar16[iVar3]" identifier = (subscript_expression "pdVar16[iVar3]" identifier [ identifier ])) ;) (expression_statement "local_1b4 = pdVar16[iVar3 * 2];" (assignment_expression "local_1b4 = pdVar16[iVar3 * 2]" identifier = (subscript_expression "pdVar16[iVar3 * 2]" identifier [ (binary_expression "iVar3 * 2" identifier * number_literal) ])) ;) (expression_statement "local_1ac = pdVar16[iVar3 * 3];" (assignment_expression "local_1ac = pdVar16[iVar3 * 3]" identifier = (subscript_expression "pdVar16[iVar3 * 3]" identifier [ (binary_expression "iVar3 * 3" identifier * number_literal) ])) ;) (if_statement "if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" if (parenthesized_expression "((piVar4[*piVar18 * 3 + 1] & 4U) == 0)" ( (binary_expression "(piVar4[*piVar18 * 3 + 1] & 4U) == 0" (parenthesized_expression "(piVar4[*piVar18 * 3 + 1] & 4U)" ( (binary_expression "piVar4[*piVar18 * 3 + 1] & 4U" (subscript_expression "piVar4[*piVar18 * 3 + 1]" identifier [ (binary_expression "*piVar18 * 3 + 1" (binary_expression "*piVar18 * 3" (pointer_expression "*piVar18" * identifier) * number_literal) + number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" { (expression_statement "dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);" (assignment_expression "dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12)" identifier = (binary_expression "(dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12)" (binary_expression "(dVar13 + dVar12) * dVar11" (parenthesized_expression "(dVar13 + dVar12)" ( (binary_expression "dVar13 + dVar12" identifier + identifier) )) * identifier) + (binary_expression "dVar10 * (dVar13 + dVar12)" identifier * (parenthesized_expression "(dVar13 + dVar12)" ( (binary_expression "dVar13 + dVar12" identifier + identifier) ))))) ;) (if_statement "if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" if (parenthesized_expression "(dVar7 < 0.0)" ( (binary_expression "dVar7 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }" { (expression_statement "dVar9 = -dVar7;" (assignment_expression "dVar9 = -dVar7" identifier = (unary_expression "-dVar7" - identifier)) ;) (expression_statement "dVar8 = -1.0;" (assignment_expression "dVar8 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" else (compound_statement "{\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" { (expression_statement "dVar8 = 1.0;" (assignment_expression "dVar8 = 1.0" identifier = number_literal) ;) (expression_statement "dVar9 = dVar7;" (assignment_expression "dVar9 = dVar7" identifier = identifier) ;) }))) (if_statement "if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" if (parenthesized_expression "(dVar9 < *(double *)(unaff_EDI + 0x184eb1))" ( (binary_expression "dVar9 < *(double *)(unaff_EDI + 0x184eb1)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) ))))) )) (compound_statement "{\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }" { (expression_statement "dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1)" identifier = (binary_expression "dVar8 / *(double *)(unaff_EDI + 0x184eb1)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) )))))) ;) }) (else_clause "else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" else (compound_statement "{\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" { (expression_statement "dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;" (assignment_expression "dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" identifier = (binary_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (cast_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(FUN_00185490 + unaff_EDI + 1)" * (cast_expression "(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(FUN_00185490 + unaff_EDI + 1)" ( (binary_expression "FUN_00185490 + unaff_EDI + 1" (binary_expression "FUN_00185490 + unaff_EDI" identifier + identifier) + number_literal) ))))) / identifier)) ;) }))) (expression_statement "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));" (assignment_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (pointer_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" * (cast_expression "(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + *(int *)(iVar17 + 8) * 8)" ( (binary_expression "param_7 + *(int *)(iVar17 + 8) * 8" identifier + (binary_expression "*(int *)(iVar17 + 8) * 8" (pointer_expression "*(int *)(iVar17 + 8)" * (cast_expression "(int *)(iVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) * number_literal)) )))) = (binary_expression "dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" identifier * (parenthesized_expression "((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" ( (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10" (parenthesized_expression "(local_1bc * dVar13 + local_1c4 * dVar12)" ( (binary_expression "local_1bc * dVar13 + local_1c4 * dVar12" (binary_expression "local_1bc * dVar13" identifier * identifier) + (binary_expression "local_1c4 * dVar12" identifier * identifier)) )) * identifier) + (binary_expression "dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" identifier * (parenthesized_expression "(dVar13 * local_1ac + dVar12 * local_1b4)" ( (binary_expression "dVar13 * local_1ac + dVar12 * local_1b4" (binary_expression "dVar13 * local_1ac" identifier * identifier) + (binary_expression "dVar12 * local_1b4" identifier * identifier)) )))) )))) ;) }) (else_clause "else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" else (compound_statement "{\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" { (expression_statement "dVar7 = dVar13;" (assignment_expression "dVar7 = dVar13" identifier = identifier) ;) (expression_statement "dVar8 = dVar13;" (assignment_expression "dVar8 = dVar13" identifier = identifier) ;) (expression_statement "dVar9 = dVar12;" (assignment_expression "dVar9 = dVar12" identifier = identifier) ;) (expression_statement "dVar1 = dVar12;" (assignment_expression "dVar1 = dVar12" identifier = identifier) ;) (if_statement "if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }" if (parenthesized_expression "(piVar4[0xd] != 0)" ( (binary_expression "piVar4[0xd] != 0" (subscript_expression "piVar4[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }" { (expression_statement "iVar6 = piVar4[0xe];" (assignment_expression "iVar6 = piVar4[0xe]" identifier = (subscript_expression "piVar4[0xe]" identifier [ number_literal ])) ;) (expression_statement "dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);" (assignment_expression "dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1)" identifier = (pointer_expression "*(double *)(FUN_00184ec0 + unaff_EDI + 1)" * (cast_expression "(double *)(FUN_00184ec0 + unaff_EDI + 1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(FUN_00184ec0 + unaff_EDI + 1)" ( (binary_expression "FUN_00184ec0 + unaff_EDI + 1" (binary_expression "FUN_00184ec0 + unaff_EDI" identifier + identifier) + number_literal) ))))) ;) (expression_statement "local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;" (assignment_expression "local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1" identifier = (binary_expression "local_1c4 * pdVar15[iVar6] * dVar1" (binary_expression "local_1c4 * pdVar15[iVar6]" identifier * (subscript_expression "pdVar15[iVar6]" identifier [ identifier ])) * identifier)) ;) (expression_statement "local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;" (assignment_expression "local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1" identifier = (binary_expression "local_1bc * pdVar15[iVar6 + iVar3] * dVar1" (binary_expression "local_1bc * pdVar15[iVar6 + iVar3]" identifier * (subscript_expression "pdVar15[iVar6 + iVar3]" identifier [ (binary_expression "iVar6 + iVar3" identifier + identifier) ])) * identifier)) ;) (expression_statement "local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;" (assignment_expression "local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1" identifier = (binary_expression "local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (binary_expression "local_1b4 * pdVar15[iVar3 + iVar6 + iVar3]" identifier * (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3" (binary_expression "iVar3 + iVar6" identifier + identifier) + identifier) ])) * identifier)) ;) (expression_statement "local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];" (assignment_expression "local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier = (binary_expression "local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" (binary_expression "local_1ac * dVar1" identifier * identifier) * (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3 * 2" (binary_expression "iVar3 + iVar6" identifier + identifier) + (binary_expression "iVar3 * 2" identifier * number_literal)) ]))) ;) (expression_statement "dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;" (assignment_expression "dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13" identifier = (binary_expression "dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13" (binary_expression "dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier * (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3 * 2" (binary_expression "iVar3 + iVar6" identifier + identifier) + (binary_expression "iVar3 * 2" identifier * number_literal)) ])) * identifier)) ;) (expression_statement "dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;" (assignment_expression "dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13" identifier = (binary_expression "pdVar15[iVar6 + iVar3] * dVar1 * dVar13" (binary_expression "pdVar15[iVar6 + iVar3] * dVar1" (subscript_expression "pdVar15[iVar6 + iVar3]" identifier [ (binary_expression "iVar6 + iVar3" identifier + identifier) ]) * identifier) * identifier)) ;) (expression_statement "dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;" (assignment_expression "dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12" identifier = (binary_expression "pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12" (binary_expression "pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3" (binary_expression "iVar3 + iVar6" identifier + identifier) + identifier) ]) * identifier) * identifier)) ;) (expression_statement "dVar1 = pdVar15[iVar6] * dVar1 * dVar12;" (assignment_expression "dVar1 = pdVar15[iVar6] * dVar1 * dVar12" identifier = (binary_expression "pdVar15[iVar6] * dVar1 * dVar12" (binary_expression "pdVar15[iVar6] * dVar1" (subscript_expression "pdVar15[iVar6]" identifier [ identifier ]) * identifier) * identifier)) ;) })) (expression_statement "dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;" (assignment_expression "dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10" identifier = (binary_expression "(dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10" (binary_expression "(dVar9 + dVar7) * dVar11" (parenthesized_expression "(dVar9 + dVar7)" ( (binary_expression "dVar9 + dVar7" identifier + identifier) )) * identifier) + (binary_expression "(dVar1 + dVar8) * dVar10" (parenthesized_expression "(dVar1 + dVar8)" ( (binary_expression "dVar1 + dVar8" identifier + identifier) )) * identifier))) ;) (if_statement "if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" if (parenthesized_expression "(dVar7 < 0.0)" ( (binary_expression "dVar7 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }" { (expression_statement "dVar9 = -dVar7;" (assignment_expression "dVar9 = -dVar7" identifier = (unary_expression "-dVar7" - identifier)) ;) (expression_statement "dVar8 = -1.0;" (assignment_expression "dVar8 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" else (compound_statement "{\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" { (expression_statement "dVar8 = 1.0;" (assignment_expression "dVar8 = 1.0" identifier = number_literal) ;) (expression_statement "dVar9 = dVar7;" (assignment_expression "dVar9 = dVar7" identifier = identifier) ;) }))) (if_statement "if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" if (parenthesized_expression "(dVar9 < dVar19)" ( (binary_expression "dVar9 < dVar19" identifier < identifier) )) (compound_statement "{\n                dVar7 = dVar8 / dVar19;\n              }" { (expression_statement "dVar7 = dVar8 / dVar19;" (assignment_expression "dVar7 = dVar8 / dVar19" identifier = (binary_expression "dVar8 / dVar19" identifier / identifier)) ;) }) (else_clause "else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" else (compound_statement "{\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" { (expression_statement "dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;" (assignment_expression "dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" identifier = (binary_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (cast_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(FUN_00185490 + unaff_EDI + 1)" * (cast_expression "(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(FUN_00185490 + unaff_EDI + 1)" ( (binary_expression "FUN_00185490 + unaff_EDI + 1" (binary_expression "FUN_00185490 + unaff_EDI" identifier + identifier) + number_literal) ))))) / identifier)) ;) }))) (expression_statement "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));" (assignment_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (pointer_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" * (cast_expression "(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + *(int *)(iVar17 + 8) * 8)" ( (binary_expression "param_7 + *(int *)(iVar17 + 8) * 8" identifier + (binary_expression "*(int *)(iVar17 + 8) * 8" (pointer_expression "*(int *)(iVar17 + 8)" * (cast_expression "(int *)(iVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) * number_literal)) )))) = (binary_expression "dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" identifier * (parenthesized_expression "((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" ( (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10" (parenthesized_expression "(local_1bc * dVar13 + local_1c4 * dVar12)" ( (binary_expression "local_1bc * dVar13 + local_1c4 * dVar12" (binary_expression "local_1bc * dVar13" identifier * identifier) + (binary_expression "local_1c4 * dVar12" identifier * identifier)) )) * identifier) + (binary_expression "dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" identifier * (parenthesized_expression "(dVar13 * local_1ac + dVar12 * local_1b4)" ( (binary_expression "dVar13 * local_1ac + dVar12 * local_1b4" (binary_expression "dVar13 * local_1ac" identifier * identifier) + (binary_expression "dVar12 * local_1b4" identifier * identifier)) )))) )))) ;) }))) })) (expression_statement "piVar18 = piVar18 + 3;" (assignment_expression "piVar18 = piVar18 + 3" identifier = (binary_expression "piVar18 + 3" identifier + number_literal)) ;) (expression_statement "pdVar16 = pdVar16 + 1;" (assignment_expression "pdVar16 = pdVar16 + 1" identifier = (binary_expression "pdVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 + iVar3 * 3 != piVar18)" ( (binary_expression "piVar4 + iVar3 * 3 != piVar18" (binary_expression "piVar4 + iVar3 * 3" identifier + (binary_expression "iVar3 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "uVar14 = 1;" (assignment_expression "uVar14 = 1" identifier = number_literal) ;) }))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }" if (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }" { comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar14;" return identifier ;) })) comment comment (expression_statement "uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();" (assignment_expression "uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))()" identifier = (call_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))()" (parenthesized_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))" ( (pointer_expression "*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" * (cast_expression "(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" ( (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" (string_literal ""stops != (const StopInfo *) NULL"" " string_content ") + (pointer_expression "*(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a55d1 + param_4 * 4)" ( (binary_expression "unaff_EDI + 0x1a55d1 + param_4 * 4" (binary_expression "unaff_EDI + 0x1a55d1" identifier + number_literal) + (binary_expression "param_4 * 4" identifier * number_literal)) ))))) + identifier) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar14;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType\nInterpolatePixelChannels\n          (Image *source,CacheView_ *source_view,Image *destination,PixelInterpolateMethod method,\n          double x,double y,Quantum *pixel,ExceptionInfo *exception)\n\n{\n  double dVar1;\n  int iVar2;\n  size_t sVar3;\n  PixelChannelMap *pPVar4;\n  PixelChannelMap *pPVar5;\n  int iVar6;\n  PixelChannel PVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  MagickBooleanType MVar15;\n  Quantum *pQVar16;\n  Quantum *pQVar17;\n  PixelChannelMap *pPVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  ushort __cw;\n  ushort __cwtmp;\n  double alpha [16];\n  double pixels [16];\n  \n  __x86_get_pc_thunk_di();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (source == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (source->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (source_view == (CacheView_ *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(unaff_EDI + 0x197aa9) <= x) &&\n     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(x);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(unaff_EDI + 0x197aa9) <= y) &&\n     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(y);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (method == UndefinedInterpolatePixel) {\n    method = source->interpolate;\n  }\n  if (SplineInterpolatePixel < method) {\n    pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);\n    if (pQVar16 == (Quantum *)0x0) {\n      MVar15 = MagickFalse;\n    }\n    else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar15;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  MVar15 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))();\n  return MVar15;\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType\nInterpolatePixelChannels\n          (Image *source,CacheView_ *source_view,Image *destination,PixelInterpolateMethod method,\n          double x,double y,Quantum *pixel,ExceptionInfo *exception)\n\n{\n  double dVar1;\n  int iVar2;\n  size_t sVar3;\n  PixelChannelMap *pPVar4;\n  PixelChannelMap *pPVar5;\n  int iVar6;\n  PixelChannel PVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  MagickBooleanType MVar15;\n  Quantum *pQVar16;\n  Quantum *pQVar17;\n  PixelChannelMap *pPVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  ushort __cw;\n  ushort __cwtmp;\n  double alpha [16];\n  double pixels [16];\n  \n  __x86_get_pc_thunk_di();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (source == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (source->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (source_view == (CacheView_ *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(unaff_EDI + 0x197aa9) <= x) &&\n     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(x);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(unaff_EDI + 0x197aa9) <= y) &&\n     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(y);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (method == UndefinedInterpolatePixel) {\n    method = source->interpolate;\n  }\n  if (SplineInterpolatePixel < method) {\n    pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);\n    if (pQVar16 == (Quantum *)0x0) {\n      MVar15 = MagickFalse;\n    }\n    else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar15;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  MVar15 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))();\n  return MVar15;\n}" type_identifier (function_declarator "InterpolatePixelChannels\n          (Image *source,CacheView_ *source_view,Image *destination,PixelInterpolateMethod method,\n          double x,double y,Quantum *pixel,ExceptionInfo *exception)" identifier (parameter_list "(Image *source,CacheView_ *source_view,Image *destination,PixelInterpolateMethod method,\n          double x,double y,Quantum *pixel,ExceptionInfo *exception)" ( (parameter_declaration "Image *source" type_identifier (pointer_declarator "*source" * identifier)) , (parameter_declaration "CacheView_ *source_view" type_identifier (pointer_declarator "*source_view" * identifier)) , (parameter_declaration "Image *destination" type_identifier (pointer_declarator "*destination" * identifier)) , (parameter_declaration "PixelInterpolateMethod method" type_identifier identifier) , (parameter_declaration "double x" primitive_type identifier) , (parameter_declaration "double y" primitive_type identifier) , (parameter_declaration "Quantum *pixel" type_identifier (pointer_declarator "*pixel" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  size_t sVar3;\n  PixelChannelMap *pPVar4;\n  PixelChannelMap *pPVar5;\n  int iVar6;\n  PixelChannel PVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  MagickBooleanType MVar15;\n  Quantum *pQVar16;\n  Quantum *pQVar17;\n  PixelChannelMap *pPVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  ushort __cw;\n  ushort __cwtmp;\n  double alpha [16];\n  double pixels [16];\n  \n  __x86_get_pc_thunk_di();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (source == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (source->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (source_view == (CacheView_ *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(unaff_EDI + 0x197aa9) <= x) &&\n     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(x);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(unaff_EDI + 0x197aa9) <= y) &&\n     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(y);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (method == UndefinedInterpolatePixel) {\n    method = source->interpolate;\n  }\n  if (SplineInterpolatePixel < method) {\n    pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);\n    if (pQVar16 == (Quantum *)0x0) {\n      MVar15 = MagickFalse;\n    }\n    else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar15;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  MVar15 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))();\n  return MVar15;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "PixelChannelMap *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "PixelChannel PVar7;" type_identifier identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (declaration "double dVar14;" primitive_type identifier ;) (declaration "MagickBooleanType MVar15;" type_identifier identifier ;) (declaration "Quantum *pQVar16;" type_identifier (pointer_declarator "*pQVar16" * identifier) ;) (declaration "Quantum *pQVar17;" type_identifier (pointer_declarator "*pQVar17" * identifier) ;) (declaration "PixelChannelMap *pPVar18;" type_identifier (pointer_declarator "*pPVar18" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "int local_1e8;" primitive_type identifier ;) (declaration "int local_1cc;" primitive_type identifier ;) (declaration "double local_1c4;" primitive_type identifier ;) (declaration "double local_1bc;" primitive_type identifier ;) (declaration "double local_1b4;" primitive_type identifier ;) (declaration "double local_1ac;" primitive_type identifier ;) (declaration "ushort __cw;" type_identifier identifier ;) (declaration "ushort __cwtmp;" type_identifier identifier ;) (declaration "double alpha [16];" primitive_type (array_declarator "alpha [16]" identifier [ number_literal ]) ;) (declaration "double pixels [16];" primitive_type (array_declarator "pixels [16]" identifier [ number_literal ]) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (source == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(source == (Image *)0x0)" ( (binary_expression "source == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (cast_expression "(char *)(unaff_EDI + 0x19deb6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x19deb6)" ( (binary_expression "unaff_EDI + 0x19deb6" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (if_statement "if (source->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(source->signature != 0xabacadab)" ( (binary_expression "source->signature != 0xabacadab" (field_expression "source->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "((char *)(unaff_EDI + 0x197449),(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (cast_expression "(char *)(unaff_EDI + 0x197449)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x197449)" ( (binary_expression "unaff_EDI + 0x197449" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (if_statement "if (source_view == (CacheView_ *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(source_view == (CacheView_ *)0x0)" ( (binary_expression "source_view == (CacheView_ *)0x0" identifier == (cast_expression "(CacheView_ *)0x0" ( (type_descriptor "CacheView_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { comment (expression_statement "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (binary_expression "&UNK_001a58c9 + unaff_EDI" (pointer_expression "&UNK_001a58c9" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (expression_statement "local_1e8 = -0x7ffffdff;" (assignment_expression "local_1e8 = -0x7ffffdff" identifier = number_literal) ;) (if_statement "if ((*(double *)(unaff_EDI + 0x197aa9) <= x) &&\n     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(x);\n    local_1e8 = (int)ROUND(dVar19);\n  }" if (parenthesized_expression "((*(double *)(unaff_EDI + 0x197aa9) <= x) &&\n     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1)))" ( (binary_expression "(*(double *)(unaff_EDI + 0x197aa9) <= x) &&\n     (local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))" (parenthesized_expression "(*(double *)(unaff_EDI + 0x197aa9) <= x)" ( (binary_expression "*(double *)(unaff_EDI + 0x197aa9) <= x" (pointer_expression "*(double *)(unaff_EDI + 0x197aa9)" * (cast_expression "(double *)(unaff_EDI + 0x197aa9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x197aa9)" ( (binary_expression "unaff_EDI + 0x197aa9" identifier + number_literal) )))) <= identifier) )) && (parenthesized_expression "(local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1))" ( (comma_expression "local_1e8 = 0x7ffffdff, x <= *(double *)(unaff_EDI + 0x197ab1)" (assignment_expression "local_1e8 = 0x7ffffdff" identifier = number_literal) , (binary_expression "x <= *(double *)(unaff_EDI + 0x197ab1)" identifier <= (pointer_expression "*(double *)(unaff_EDI + 0x197ab1)" * (cast_expression "(double *)(unaff_EDI + 0x197ab1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x197ab1)" ( (binary_expression "unaff_EDI + 0x197ab1" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    dVar19 = floor(x);\n    local_1e8 = (int)ROUND(dVar19);\n  }" { (expression_statement "dVar19 = floor(x);" (assignment_expression "dVar19 = floor(x)" identifier = (call_expression "floor(x)" identifier (argument_list "(x)" ( identifier )))) ;) (expression_statement "local_1e8 = (int)ROUND(dVar19);" (assignment_expression "local_1e8 = (int)ROUND(dVar19)" identifier = (cast_expression "(int)ROUND(dVar19)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))))) ;) })) (expression_statement "local_1cc = -0x7ffffdff;" (assignment_expression "local_1cc = -0x7ffffdff" identifier = number_literal) ;) (if_statement "if ((*(double *)(unaff_EDI + 0x197aa9) <= y) &&\n     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))) {\n    dVar19 = floor(y);\n    local_1cc = (int)ROUND(dVar19);\n  }" if (parenthesized_expression "((*(double *)(unaff_EDI + 0x197aa9) <= y) &&\n     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1)))" ( (binary_expression "(*(double *)(unaff_EDI + 0x197aa9) <= y) &&\n     (local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))" (parenthesized_expression "(*(double *)(unaff_EDI + 0x197aa9) <= y)" ( (binary_expression "*(double *)(unaff_EDI + 0x197aa9) <= y" (pointer_expression "*(double *)(unaff_EDI + 0x197aa9)" * (cast_expression "(double *)(unaff_EDI + 0x197aa9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x197aa9)" ( (binary_expression "unaff_EDI + 0x197aa9" identifier + number_literal) )))) <= identifier) )) && (parenthesized_expression "(local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1))" ( (comma_expression "local_1cc = 0x7ffffdff, y <= *(double *)(unaff_EDI + 0x197ab1)" (assignment_expression "local_1cc = 0x7ffffdff" identifier = number_literal) , (binary_expression "y <= *(double *)(unaff_EDI + 0x197ab1)" identifier <= (pointer_expression "*(double *)(unaff_EDI + 0x197ab1)" * (cast_expression "(double *)(unaff_EDI + 0x197ab1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x197ab1)" ( (binary_expression "unaff_EDI + 0x197ab1" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    dVar19 = floor(y);\n    local_1cc = (int)ROUND(dVar19);\n  }" { (expression_statement "dVar19 = floor(y);" (assignment_expression "dVar19 = floor(y)" identifier = (call_expression "floor(y)" identifier (argument_list "(y)" ( identifier )))) ;) (expression_statement "local_1cc = (int)ROUND(dVar19);" (assignment_expression "local_1cc = (int)ROUND(dVar19)" identifier = (cast_expression "(int)ROUND(dVar19)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))))) ;) })) (if_statement "if (method == UndefinedInterpolatePixel) {\n    method = source->interpolate;\n  }" if (parenthesized_expression "(method == UndefinedInterpolatePixel)" ( (binary_expression "method == UndefinedInterpolatePixel" identifier == identifier) )) (compound_statement "{\n    method = source->interpolate;\n  }" { (expression_statement "method = source->interpolate;" (assignment_expression "method = source->interpolate" identifier = (field_expression "source->interpolate" identifier -> field_identifier)) ;) })) (if_statement "if (SplineInterpolatePixel < method) {\n    pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);\n    if (pQVar16 == (Quantum *)0x0) {\n      MVar15 = MagickFalse;\n    }\n    else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar15;\n  }" if (parenthesized_expression "(SplineInterpolatePixel < method)" ( (binary_expression "SplineInterpolatePixel < method" identifier < identifier) )) (compound_statement "{\n    pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);\n    if (pQVar16 == (Quantum *)0x0) {\n      MVar15 = MagickFalse;\n    }\n    else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar15;\n  }" { (expression_statement "pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception);" (assignment_expression "pQVar16 = GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(source_view,local_1e8,local_1cc,2,2,exception)" identifier (argument_list "(source_view,local_1e8,local_1cc,2,2,exception)" ( identifier , identifier , identifier , number_literal , number_literal , identifier )))) ;) (if_statement "if (pQVar16 == (Quantum *)0x0) {\n      MVar15 = MagickFalse;\n    }\n    else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }" if (parenthesized_expression "(pQVar16 == (Quantum *)0x0)" ( (binary_expression "pQVar16 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      MVar15 = MagickFalse;\n    }" { (expression_statement "MVar15 = MagickFalse;" (assignment_expression "MVar15 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }" else (compound_statement "{\n      sVar3 = source->number_channels;\n      if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }\n      MVar15 = MagickTrue;\n    }" { (expression_statement "sVar3 = source->number_channels;" (assignment_expression "sVar3 = source->number_channels" identifier = (field_expression "source->number_channels" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar3) {\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }" if (parenthesized_expression "(0 < (int)sVar3)" ( (binary_expression "0 < (int)sVar3" number_literal < (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        pPVar4 = source->channel_map;\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        pPVar5 = destination->channel_map;\n        pQVar17 = pQVar16;\n        pPVar18 = pPVar4;\n        do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);\n      }" { (expression_statement "pPVar4 = source->channel_map;" (assignment_expression "pPVar4 = source->channel_map" identifier = (field_expression "source->channel_map" identifier -> field_identifier)) ;) (expression_statement "dVar19 = *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar19 = *(double *)(unaff_EDI + 0x184eb1)" identifier = (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) ))))) ;) (expression_statement "pPVar5 = destination->channel_map;" (assignment_expression "pPVar5 = destination->channel_map" identifier = (field_expression "destination->channel_map" identifier -> field_identifier)) ;) (expression_statement "pQVar17 = pQVar16;" (assignment_expression "pQVar17 = pQVar16" identifier = identifier) ;) (expression_statement "pPVar18 = pPVar4;" (assignment_expression "pPVar18 = pPVar4" identifier = identifier) ;) (do_statement "do {\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        } while (pPVar4 + sVar3 != pPVar18);" do (compound_statement "{\n          PVar7 = pPVar18->channel;\n          if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }\n          pPVar18 = pPVar18 + 1;\n          pQVar17 = pQVar17 + 1;\n        }" { (expression_statement "PVar7 = pPVar18->channel;" (assignment_expression "PVar7 = pPVar18->channel" identifier = (field_expression "pPVar18->channel" identifier -> field_identifier)) ;) (if_statement "if ((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)) {\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }" if (parenthesized_expression "((pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait))" ( (binary_expression "(pPVar5[PVar7].traits != UndefinedPixelTrait) &&\n             (pPVar4[PVar7].traits != UndefinedPixelTrait)" (parenthesized_expression "(pPVar5[PVar7].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar5[PVar7].traits != UndefinedPixelTrait" (field_expression "pPVar5[PVar7].traits" (subscript_expression "pPVar5[PVar7]" identifier [ identifier ]) . field_identifier) != identifier) )) && (parenthesized_expression "(pPVar4[PVar7].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar4[PVar7].traits != UndefinedPixelTrait" (field_expression "pPVar4[PVar7].traits" (subscript_expression "pPVar4[PVar7]" identifier [ identifier ]) . field_identifier) != identifier) ))) )) (compound_statement "{\n            dVar14 = x - (double)local_1e8;\n            dVar12 = y - (double)local_1cc;\n            dVar13 = 1.0 - dVar14;\n            dVar11 = 1.0 - dVar12;\n            local_1c4 = *pQVar17;\n            local_1bc = pQVar17[sVar3];\n            local_1b4 = pQVar17[sVar3 * 2];\n            local_1ac = pQVar17[sVar3 * 3];\n            if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n          }" { (expression_statement "dVar14 = x - (double)local_1e8;" (assignment_expression "dVar14 = x - (double)local_1e8" identifier = (binary_expression "x - (double)local_1e8" identifier - (cast_expression "(double)local_1e8" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "dVar12 = y - (double)local_1cc;" (assignment_expression "dVar12 = y - (double)local_1cc" identifier = (binary_expression "y - (double)local_1cc" identifier - (cast_expression "(double)local_1cc" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "dVar13 = 1.0 - dVar14;" (assignment_expression "dVar13 = 1.0 - dVar14" identifier = (binary_expression "1.0 - dVar14" number_literal - identifier)) ;) (expression_statement "dVar11 = 1.0 - dVar12;" (assignment_expression "dVar11 = 1.0 - dVar12" identifier = (binary_expression "1.0 - dVar12" number_literal - identifier)) ;) (expression_statement "local_1c4 = *pQVar17;" (assignment_expression "local_1c4 = *pQVar17" identifier = (pointer_expression "*pQVar17" * identifier)) ;) (expression_statement "local_1bc = pQVar17[sVar3];" (assignment_expression "local_1bc = pQVar17[sVar3]" identifier = (subscript_expression "pQVar17[sVar3]" identifier [ identifier ])) ;) (expression_statement "local_1b4 = pQVar17[sVar3 * 2];" (assignment_expression "local_1b4 = pQVar17[sVar3 * 2]" identifier = (subscript_expression "pQVar17[sVar3 * 2]" identifier [ (binary_expression "sVar3 * 2" identifier * number_literal) ])) ;) (expression_statement "local_1ac = pQVar17[sVar3 * 3];" (assignment_expression "local_1ac = pQVar17[sVar3 * 3]" identifier = (subscript_expression "pQVar17[sVar3 * 3]" identifier [ (binary_expression "sVar3 * 3" identifier * number_literal) ])) ;) (if_statement "if ((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait) {\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }\n            else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }" if (parenthesized_expression "((pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait)" ( (binary_expression "(pPVar4[PVar7].traits & BlendPixelTrait) == UndefinedPixelTrait" (parenthesized_expression "(pPVar4[PVar7].traits & BlendPixelTrait)" ( (binary_expression "pPVar4[PVar7].traits & BlendPixelTrait" (field_expression "pPVar4[PVar7].traits" (subscript_expression "pPVar4[PVar7]" identifier [ identifier ]) . field_identifier) & identifier) )) == identifier) )) (compound_statement "{\n              dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }" { (expression_statement "dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13);" (assignment_expression "dVar8 = (dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13)" identifier = (binary_expression "(dVar14 + dVar13) * dVar12 + dVar11 * (dVar14 + dVar13)" (binary_expression "(dVar14 + dVar13) * dVar12" (parenthesized_expression "(dVar14 + dVar13)" ( (binary_expression "dVar14 + dVar13" identifier + identifier) )) * identifier) + (binary_expression "dVar11 * (dVar14 + dVar13)" identifier * (parenthesized_expression "(dVar14 + dVar13)" ( (binary_expression "dVar14 + dVar13" identifier + identifier) ))))) ;) (if_statement "if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }" if (parenthesized_expression "(dVar8 < 0.0)" ( (binary_expression "dVar8 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }" { (expression_statement "dVar10 = -dVar8;" (assignment_expression "dVar10 = -dVar8" identifier = (unary_expression "-dVar8" - identifier)) ;) (expression_statement "dVar9 = -1.0;" (assignment_expression "dVar9 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }" else (compound_statement "{\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }" { (expression_statement "dVar9 = 1.0;" (assignment_expression "dVar9 = 1.0" identifier = number_literal) ;) (expression_statement "dVar10 = dVar8;" (assignment_expression "dVar10 = dVar8" identifier = identifier) ;) }))) (if_statement "if (dVar10 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }" if (parenthesized_expression "(dVar10 < *(double *)(unaff_EDI + 0x184eb1))" ( (binary_expression "dVar10 < *(double *)(unaff_EDI + 0x184eb1)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) ))))) )) (compound_statement "{\n                dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);\n              }" { (expression_statement "dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar9 = dVar9 / *(double *)(unaff_EDI + 0x184eb1)" identifier = (binary_expression "dVar9 / *(double *)(unaff_EDI + 0x184eb1)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) )))))) ;) }) (else_clause "else {\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }" else (compound_statement "{\n                dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }" { (expression_statement "dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;" (assignment_expression "dVar9 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8" identifier = (binary_expression "(double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8" (cast_expression "(double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" * (cast_expression "(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" ( (binary_expression "IntegralRotateImage__omp_fn_3 + unaff_EDI + 1" (binary_expression "IntegralRotateImage__omp_fn_3 + unaff_EDI" identifier + identifier) + number_literal) ))))) / identifier)) ;) }))) (expression_statement "pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));" (assignment_expression "pixel[pPVar5[PVar7].offset] =\n                   dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4))" (subscript_expression "pixel[pPVar5[PVar7].offset]" identifier [ (field_expression "pPVar5[PVar7].offset" (subscript_expression "pPVar5[PVar7]" identifier [ identifier ]) . field_identifier) ]) = (binary_expression "dVar9 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4))" identifier * (parenthesized_expression "((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4))" ( (binary_expression "(local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4)" (binary_expression "(local_1bc * dVar14 + local_1c4 * dVar13) * dVar11" (parenthesized_expression "(local_1bc * dVar14 + local_1c4 * dVar13)" ( (binary_expression "local_1bc * dVar14 + local_1c4 * dVar13" (binary_expression "local_1bc * dVar14" identifier * identifier) + (binary_expression "local_1c4 * dVar13" identifier * identifier)) )) * identifier) + (binary_expression "dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4)" identifier * (parenthesized_expression "(dVar14 * local_1ac + dVar13 * local_1b4)" ( (binary_expression "dVar14 * local_1ac + dVar13 * local_1b4" (binary_expression "dVar14 * local_1ac" identifier * identifier) + (binary_expression "dVar13 * local_1b4" identifier * identifier)) )))) )))) ;) }) (else_clause "else {\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }" else (compound_statement "{\n              dVar8 = dVar14;\n              dVar9 = dVar14;\n              dVar10 = dVar13;\n              dVar1 = dVar13;\n              if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }\n              dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;\n              if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }\n              if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }\n              pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));\n            }" { (expression_statement "dVar8 = dVar14;" (assignment_expression "dVar8 = dVar14" identifier = identifier) ;) (expression_statement "dVar9 = dVar14;" (assignment_expression "dVar9 = dVar14" identifier = identifier) ;) (expression_statement "dVar10 = dVar13;" (assignment_expression "dVar10 = dVar13" identifier = identifier) ;) (expression_statement "dVar1 = dVar13;" (assignment_expression "dVar1 = dVar13" identifier = identifier) ;) (if_statement "if (pPVar4[4].traits != UndefinedPixelTrait) {\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }" if (parenthesized_expression "(pPVar4[4].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar4[4].traits != UndefinedPixelTrait" (field_expression "pPVar4[4].traits" (subscript_expression "pPVar4[4]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                iVar6 = pPVar4[4].offset;\n                dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;\n                local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;\n                local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];\n                dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;\n                dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;\n                dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;\n                dVar1 = pQVar16[iVar6] * dVar1 * dVar13;\n              }" { (expression_statement "iVar6 = pPVar4[4].offset;" (assignment_expression "iVar6 = pPVar4[4].offset" identifier = (field_expression "pPVar4[4].offset" (subscript_expression "pPVar4[4]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1);" (assignment_expression "dVar1 = *(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1)" identifier = (pointer_expression "*(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1)" * (cast_expression "(double *)(RadonProjection__omp_fn_2 + unaff_EDI + 1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(RadonProjection__omp_fn_2 + unaff_EDI + 1)" ( (binary_expression "RadonProjection__omp_fn_2 + unaff_EDI + 1" (binary_expression "RadonProjection__omp_fn_2 + unaff_EDI" identifier + identifier) + number_literal) ))))) ;) (expression_statement "local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1;" (assignment_expression "local_1c4 = local_1c4 * pQVar16[iVar6] * dVar1" identifier = (binary_expression "local_1c4 * pQVar16[iVar6] * dVar1" (binary_expression "local_1c4 * pQVar16[iVar6]" identifier * (subscript_expression "pQVar16[iVar6]" identifier [ identifier ])) * identifier)) ;) (expression_statement "local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1;" (assignment_expression "local_1bc = local_1bc * pQVar16[iVar6 + sVar3] * dVar1" identifier = (binary_expression "local_1bc * pQVar16[iVar6 + sVar3] * dVar1" (binary_expression "local_1bc * pQVar16[iVar6 + sVar3]" identifier * (subscript_expression "pQVar16[iVar6 + sVar3]" identifier [ (binary_expression "iVar6 + sVar3" identifier + identifier) ])) * identifier)) ;) (expression_statement "local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1;" (assignment_expression "local_1b4 = local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1" identifier = (binary_expression "local_1b4 * pQVar16[sVar3 + iVar6 + sVar3] * dVar1" (binary_expression "local_1b4 * pQVar16[sVar3 + iVar6 + sVar3]" identifier * (subscript_expression "pQVar16[sVar3 + iVar6 + sVar3]" identifier [ (binary_expression "sVar3 + iVar6 + sVar3" (binary_expression "sVar3 + iVar6" identifier + identifier) + identifier) ])) * identifier)) ;) (expression_statement "local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2];" (assignment_expression "local_1ac = local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2]" identifier = (binary_expression "local_1ac * dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2]" (binary_expression "local_1ac * dVar1" identifier * identifier) * (subscript_expression "pQVar16[sVar3 + iVar6 + sVar3 * 2]" identifier [ (binary_expression "sVar3 + iVar6 + sVar3 * 2" (binary_expression "sVar3 + iVar6" identifier + identifier) + (binary_expression "sVar3 * 2" identifier * number_literal)) ]))) ;) (expression_statement "dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14;" (assignment_expression "dVar8 = dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14" identifier = (binary_expression "dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2] * dVar14" (binary_expression "dVar1 * pQVar16[sVar3 + iVar6 + sVar3 * 2]" identifier * (subscript_expression "pQVar16[sVar3 + iVar6 + sVar3 * 2]" identifier [ (binary_expression "sVar3 + iVar6 + sVar3 * 2" (binary_expression "sVar3 + iVar6" identifier + identifier) + (binary_expression "sVar3 * 2" identifier * number_literal)) ])) * identifier)) ;) (expression_statement "dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14;" (assignment_expression "dVar9 = pQVar16[iVar6 + sVar3] * dVar1 * dVar14" identifier = (binary_expression "pQVar16[iVar6 + sVar3] * dVar1 * dVar14" (binary_expression "pQVar16[iVar6 + sVar3] * dVar1" (subscript_expression "pQVar16[iVar6 + sVar3]" identifier [ (binary_expression "iVar6 + sVar3" identifier + identifier) ]) * identifier) * identifier)) ;) (expression_statement "dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13;" (assignment_expression "dVar10 = pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13" identifier = (binary_expression "pQVar16[sVar3 + iVar6 + sVar3] * dVar1 * dVar13" (binary_expression "pQVar16[sVar3 + iVar6 + sVar3] * dVar1" (subscript_expression "pQVar16[sVar3 + iVar6 + sVar3]" identifier [ (binary_expression "sVar3 + iVar6 + sVar3" (binary_expression "sVar3 + iVar6" identifier + identifier) + identifier) ]) * identifier) * identifier)) ;) (expression_statement "dVar1 = pQVar16[iVar6] * dVar1 * dVar13;" (assignment_expression "dVar1 = pQVar16[iVar6] * dVar1 * dVar13" identifier = (binary_expression "pQVar16[iVar6] * dVar1 * dVar13" (binary_expression "pQVar16[iVar6] * dVar1" (subscript_expression "pQVar16[iVar6]" identifier [ identifier ]) * identifier) * identifier)) ;) })) (expression_statement "dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11;" (assignment_expression "dVar8 = (dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11" identifier = (binary_expression "(dVar10 + dVar8) * dVar12 + (dVar1 + dVar9) * dVar11" (binary_expression "(dVar10 + dVar8) * dVar12" (parenthesized_expression "(dVar10 + dVar8)" ( (binary_expression "dVar10 + dVar8" identifier + identifier) )) * identifier) + (binary_expression "(dVar1 + dVar9) * dVar11" (parenthesized_expression "(dVar1 + dVar9)" ( (binary_expression "dVar1 + dVar9" identifier + identifier) )) * identifier))) ;) (if_statement "if (dVar8 < 0.0) {\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }\n              else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }" if (parenthesized_expression "(dVar8 < 0.0)" ( (binary_expression "dVar8 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar10 = -dVar8;\n                dVar9 = -1.0;\n              }" { (expression_statement "dVar10 = -dVar8;" (assignment_expression "dVar10 = -dVar8" identifier = (unary_expression "-dVar8" - identifier)) ;) (expression_statement "dVar9 = -1.0;" (assignment_expression "dVar9 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }" else (compound_statement "{\n                dVar9 = 1.0;\n                dVar10 = dVar8;\n              }" { (expression_statement "dVar9 = 1.0;" (assignment_expression "dVar9 = 1.0" identifier = number_literal) ;) (expression_statement "dVar10 = dVar8;" (assignment_expression "dVar10 = dVar8" identifier = identifier) ;) }))) (if_statement "if (dVar10 < dVar19) {\n                dVar8 = dVar9 / dVar19;\n              }\n              else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }" if (parenthesized_expression "(dVar10 < dVar19)" ( (binary_expression "dVar10 < dVar19" identifier < identifier) )) (compound_statement "{\n                dVar8 = dVar9 / dVar19;\n              }" { (expression_statement "dVar8 = dVar9 / dVar19;" (assignment_expression "dVar8 = dVar9 / dVar19" identifier = (binary_expression "dVar9 / dVar19" identifier / identifier)) ;) }) (else_clause "else {\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }" else (compound_statement "{\n                dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;\n              }" { (expression_statement "dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8;" (assignment_expression "dVar8 = (double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8" identifier = (binary_expression "(double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1) / dVar8" (cast_expression "(double)*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" * (cast_expression "(float *)(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(IntegralRotateImage__omp_fn_3 + unaff_EDI + 1)" ( (binary_expression "IntegralRotateImage__omp_fn_3 + unaff_EDI + 1" (binary_expression "IntegralRotateImage__omp_fn_3 + unaff_EDI" identifier + identifier) + number_literal) ))))) / identifier)) ;) }))) (expression_statement "pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4));" (assignment_expression "pixel[pPVar5[PVar7].offset] =\n                   dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4))" (subscript_expression "pixel[pPVar5[PVar7].offset]" identifier [ (field_expression "pPVar5[PVar7].offset" (subscript_expression "pPVar5[PVar7]" identifier [ identifier ]) . field_identifier) ]) = (binary_expression "dVar8 * ((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4))" identifier * (parenthesized_expression "((local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4))" ( (binary_expression "(local_1bc * dVar14 + local_1c4 * dVar13) * dVar11 +\n                           dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4)" (binary_expression "(local_1bc * dVar14 + local_1c4 * dVar13) * dVar11" (parenthesized_expression "(local_1bc * dVar14 + local_1c4 * dVar13)" ( (binary_expression "local_1bc * dVar14 + local_1c4 * dVar13" (binary_expression "local_1bc * dVar14" identifier * identifier) + (binary_expression "local_1c4 * dVar13" identifier * identifier)) )) * identifier) + (binary_expression "dVar12 * (dVar14 * local_1ac + dVar13 * local_1b4)" identifier * (parenthesized_expression "(dVar14 * local_1ac + dVar13 * local_1b4)" ( (binary_expression "dVar14 * local_1ac + dVar13 * local_1b4" (binary_expression "dVar14 * local_1ac" identifier * identifier) + (binary_expression "dVar13 * local_1b4" identifier * identifier)) )))) )))) ;) }))) })) (expression_statement "pPVar18 = pPVar18 + 1;" (assignment_expression "pPVar18 = pPVar18 + 1" identifier = (binary_expression "pPVar18 + 1" identifier + number_literal)) ;) (expression_statement "pQVar17 = pQVar17 + 1;" (assignment_expression "pQVar17 = pQVar17 + 1" identifier = (binary_expression "pQVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pPVar4 + sVar3 != pPVar18)" ( (binary_expression "pPVar4 + sVar3 != pPVar18" (binary_expression "pPVar4 + sVar3" identifier + identifier) != identifier) )) ;) })) (expression_statement "MVar15 = MagickTrue;" (assignment_expression "MVar15 = MagickTrue" identifier = identifier) ;) }))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" if (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return MVar15;" return identifier ;) })) comment comment (expression_statement "MVar15 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))();" (assignment_expression "MVar15 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))()" identifier = (call_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))()" (parenthesized_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11))" ( (pointer_expression "*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11)" * (cast_expression "(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11)" ( (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI + 0x11" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4) + unaff_EDI" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + method * 4)" (string_literal ""stops != (const StopInfo *) NULL"" " string_content ") + (pointer_expression "*(int *)(unaff_EDI + 0x1a55d1 + method * 4)" * (cast_expression "(int *)(unaff_EDI + 0x1a55d1 + method * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a55d1 + method * 4)" ( (binary_expression "unaff_EDI + 0x1a55d1 + method * 4" (binary_expression "unaff_EDI + 0x1a55d1" identifier + number_literal) + (binary_expression "method * 4" identifier * number_literal)) ))))) + identifier) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return MVar15;" return identifier ;) })))
(translation_unit "undefined4\nInterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    \n                    \n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}\n\n" (function_definition "undefined4\nInterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    \n                    \n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}" type_identifier (function_declarator "InterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)" identifier (parameter_list "(int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "double param_5" primitive_type identifier) , (parameter_declaration "double param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    \n                    \n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "double *pdVar15;" primitive_type (pointer_declarator "*pdVar15" * identifier) ;) (declaration "double *pdVar16;" primitive_type (pointer_declarator "*pdVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "int local_1e8;" primitive_type identifier ;) (declaration "int local_1cc;" primitive_type identifier ;) (declaration "double local_1c4;" primitive_type identifier ;) (declaration "double local_1bc;" primitive_type identifier ;) (declaration "double local_1b4;" primitive_type identifier ;) (declaration "double local_1ac;" primitive_type identifier ;) (expression_statement "FUN_0004c803();" (call_expression "FUN_0004c803()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { (expression_statement "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (cast_expression "(char *)(unaff_EDI + 0x19deb6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x19deb6)" ( (binary_expression "unaff_EDI + 0x19deb6" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { (expression_statement "__assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (binary_expression "&UNK_00197449 + unaff_EDI" (pointer_expression "&UNK_00197449" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" { (expression_statement "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" identifier (argument_list "(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" ( (binary_expression "&UNK_001a58c9 + unaff_EDI" (pointer_expression "&UNK_001a58c9" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" ( (binary_expression "unaff_EDI + 0x1a4c6e" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x1a5685)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a5685)" ( (binary_expression "unaff_EDI + 0x1a5685" identifier + number_literal) ))) ))) ;) })) (expression_statement "local_1e8 = -0x7ffffdff;" (assignment_expression "local_1e8 = -0x7ffffdff" identifier = number_literal) ;) (if_statement "if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }" if (parenthesized_expression "((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)))" ( (binary_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (parenthesized_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5)" ( (binary_expression "*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5" (pointer_expression "*(double *)(&DAT_00197aa9 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197aa9 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197aa9 + unaff_EDI)" ( (binary_expression "&DAT_00197aa9 + unaff_EDI" (pointer_expression "&DAT_00197aa9" & identifier) + identifier) )))) <= identifier) )) && (parenthesized_expression "(local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" ( (comma_expression "local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (assignment_expression "local_1e8 = 0x7ffffdff" identifier = number_literal) , (binary_expression "param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" identifier <= (pointer_expression "*(double *)(&DAT_00197ab1 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197ab1 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197ab1 + unaff_EDI)" ( (binary_expression "&DAT_00197ab1 + unaff_EDI" (pointer_expression "&DAT_00197ab1" & identifier) + identifier) )))))) ))) )) (compound_statement "{\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }" { (expression_statement "dVar19 = floor(param_5);" (assignment_expression "dVar19 = floor(param_5)" identifier = (call_expression "floor(param_5)" identifier (argument_list "(param_5)" ( identifier )))) ;) (expression_statement "local_1e8 = (int)ROUND(dVar19);" (assignment_expression "local_1e8 = (int)ROUND(dVar19)" identifier = (cast_expression "(int)ROUND(dVar19)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))))) ;) })) (expression_statement "local_1cc = -0x7ffffdff;" (assignment_expression "local_1cc = -0x7ffffdff" identifier = number_literal) ;) (if_statement "if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }" if (parenthesized_expression "((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)))" ( (binary_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (parenthesized_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6)" ( (binary_expression "*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6" (pointer_expression "*(double *)(&DAT_00197aa9 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197aa9 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197aa9 + unaff_EDI)" ( (binary_expression "&DAT_00197aa9 + unaff_EDI" (pointer_expression "&DAT_00197aa9" & identifier) + identifier) )))) <= identifier) )) && (parenthesized_expression "(local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" ( (comma_expression "local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (assignment_expression "local_1cc = 0x7ffffdff" identifier = number_literal) , (binary_expression "param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" identifier <= (pointer_expression "*(double *)(&DAT_00197ab1 + unaff_EDI)" * (cast_expression "(double *)(&DAT_00197ab1 + unaff_EDI)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00197ab1 + unaff_EDI)" ( (binary_expression "&DAT_00197ab1 + unaff_EDI" (pointer_expression "&DAT_00197ab1" & identifier) + identifier) )))))) ))) )) (compound_statement "{\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }" { (expression_statement "dVar19 = floor(param_6);" (assignment_expression "dVar19 = floor(param_6)" identifier = (call_expression "floor(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "local_1cc = (int)ROUND(dVar19);" (assignment_expression "local_1cc = (int)ROUND(dVar19)" identifier = (cast_expression "(int)ROUND(dVar19)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))))) ;) })) (if_statement "if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    param_4 = *(uint *)(param_1 + 0x260);\n  }" { (expression_statement "param_4 = *(uint *)(param_1 + 0x260);" (assignment_expression "param_4 = *(uint *)(param_1 + 0x260)" identifier = (pointer_expression "*(uint *)(param_1 + 0x260)" * (cast_expression "(uint *)(param_1 + 0x260)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x260)" ( (binary_expression "param_1 + 0x260" identifier + number_literal) ))))) ;) })) (if_statement "if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }" if (parenthesized_expression "(0xb < param_4)" ( (binary_expression "0xb < param_4" number_literal < identifier) )) (compound_statement "{\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }" { (expression_statement "pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);" (assignment_expression "pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" identifier = (cast_expression "(double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" identifier (argument_list "(param_2,local_1e8,local_1cc,2,2,param_8)" ( identifier , identifier , identifier , number_literal , number_literal , identifier ))))) ;) (if_statement "if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" if (parenthesized_expression "(pdVar15 == (double *)0x0)" ( (binary_expression "pdVar15 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar14 = 0;\n    }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" else (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x298);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x298)" identifier = (pointer_expression "*(int *)(param_1 + 0x298)" * (cast_expression "(int *)(param_1 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x298)" ( (binary_expression "param_1 + 0x298" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }" { (expression_statement "piVar4 = *(int **)(param_1 + 0x2a8);" (assignment_expression "piVar4 = *(int **)(param_1 + 0x2a8)" identifier = (pointer_expression "*(int **)(param_1 + 0x2a8)" * (cast_expression "(int **)(param_1 + 0x2a8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2a8)" ( (binary_expression "param_1 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "dVar19 = *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar19 = *(double *)(unaff_EDI + 0x184eb1)" identifier = (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(param_3 + 0x2a8);" (assignment_expression "iVar5 = *(int *)(param_3 + 0x2a8)" identifier = (pointer_expression "*(int *)(param_3 + 0x2a8)" * (cast_expression "(int *)(param_3 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2a8)" ( (binary_expression "param_3 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "pdVar16 = pdVar15;" (assignment_expression "pdVar16 = pdVar15" identifier = identifier) ;) (expression_statement "piVar18 = piVar4;" (assignment_expression "piVar18 = piVar4" identifier = identifier) ;) (do_statement "do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);" do (compound_statement "{\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        }" { (expression_statement "iVar17 = *piVar18 * 0xc + iVar5;" (assignment_expression "iVar17 = *piVar18 * 0xc + iVar5" identifier = (binary_expression "*piVar18 * 0xc + iVar5" (binary_expression "*piVar18 * 0xc" (pointer_expression "*piVar18" * identifier) * number_literal) + identifier)) ;) (if_statement "if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }" if (parenthesized_expression "((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0))" ( (binary_expression "(*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)" (parenthesized_expression "(*(int *)(iVar17 + 4) != 0)" ( (binary_expression "*(int *)(iVar17 + 4) != 0" (pointer_expression "*(int *)(iVar17 + 4)" * (cast_expression "(int *)(iVar17 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 4)" ( (binary_expression "iVar17 + 4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(piVar4[*piVar18 * 3 + 1] != 0)" ( (binary_expression "piVar4[*piVar18 * 3 + 1] != 0" (subscript_expression "piVar4[*piVar18 * 3 + 1]" identifier [ (binary_expression "*piVar18 * 3 + 1" (binary_expression "*piVar18 * 3" (pointer_expression "*piVar18" * identifier) * number_literal) + number_literal) ]) != number_literal) ))) )) (compound_statement "{\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }" { (expression_statement "dVar13 = param_5 - (double)local_1e8;" (assignment_expression "dVar13 = param_5 - (double)local_1e8" identifier = (binary_expression "param_5 - (double)local_1e8" identifier - (cast_expression "(double)local_1e8" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "dVar11 = param_6 - (double)local_1cc;" (assignment_expression "dVar11 = param_6 - (double)local_1cc" identifier = (binary_expression "param_6 - (double)local_1cc" identifier - (cast_expression "(double)local_1cc" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "dVar12 = 1.0 - dVar13;" (assignment_expression "dVar12 = 1.0 - dVar13" identifier = (binary_expression "1.0 - dVar13" number_literal - identifier)) ;) (expression_statement "dVar10 = 1.0 - dVar11;" (assignment_expression "dVar10 = 1.0 - dVar11" identifier = (binary_expression "1.0 - dVar11" number_literal - identifier)) ;) (expression_statement "local_1c4 = *pdVar16;" (assignment_expression "local_1c4 = *pdVar16" identifier = (pointer_expression "*pdVar16" * identifier)) ;) (expression_statement "local_1bc = pdVar16[iVar3];" (assignment_expression "local_1bc = pdVar16[iVar3]" identifier = (subscript_expression "pdVar16[iVar3]" identifier [ identifier ])) ;) (expression_statement "local_1b4 = pdVar16[iVar3 * 2];" (assignment_expression "local_1b4 = pdVar16[iVar3 * 2]" identifier = (subscript_expression "pdVar16[iVar3 * 2]" identifier [ (binary_expression "iVar3 * 2" identifier * number_literal) ])) ;) (expression_statement "local_1ac = pdVar16[iVar3 * 3];" (assignment_expression "local_1ac = pdVar16[iVar3 * 3]" identifier = (subscript_expression "pdVar16[iVar3 * 3]" identifier [ (binary_expression "iVar3 * 3" identifier * number_literal) ])) ;) (if_statement "if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" if (parenthesized_expression "((piVar4[*piVar18 * 3 + 1] & 4U) == 0)" ( (binary_expression "(piVar4[*piVar18 * 3 + 1] & 4U) == 0" (parenthesized_expression "(piVar4[*piVar18 * 3 + 1] & 4U)" ( (binary_expression "piVar4[*piVar18 * 3 + 1] & 4U" (subscript_expression "piVar4[*piVar18 * 3 + 1]" identifier [ (binary_expression "*piVar18 * 3 + 1" (binary_expression "*piVar18 * 3" (pointer_expression "*piVar18" * identifier) * number_literal) + number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" { (expression_statement "dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);" (assignment_expression "dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12)" identifier = (binary_expression "(dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12)" (binary_expression "(dVar13 + dVar12) * dVar11" (parenthesized_expression "(dVar13 + dVar12)" ( (binary_expression "dVar13 + dVar12" identifier + identifier) )) * identifier) + (binary_expression "dVar10 * (dVar13 + dVar12)" identifier * (parenthesized_expression "(dVar13 + dVar12)" ( (binary_expression "dVar13 + dVar12" identifier + identifier) ))))) ;) (if_statement "if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" if (parenthesized_expression "(dVar7 < 0.0)" ( (binary_expression "dVar7 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }" { (expression_statement "dVar9 = -dVar7;" (assignment_expression "dVar9 = -dVar7" identifier = (unary_expression "-dVar7" - identifier)) ;) (expression_statement "dVar8 = -1.0;" (assignment_expression "dVar8 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" else (compound_statement "{\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" { (expression_statement "dVar8 = 1.0;" (assignment_expression "dVar8 = 1.0" identifier = number_literal) ;) (expression_statement "dVar9 = dVar7;" (assignment_expression "dVar9 = dVar7" identifier = identifier) ;) }))) (if_statement "if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" if (parenthesized_expression "(dVar9 < *(double *)(unaff_EDI + 0x184eb1))" ( (binary_expression "dVar9 < *(double *)(unaff_EDI + 0x184eb1)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) ))))) )) (compound_statement "{\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }" { (expression_statement "dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1)" identifier = (binary_expression "dVar8 / *(double *)(unaff_EDI + 0x184eb1)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" * (cast_expression "(double *)(unaff_EDI + 0x184eb1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x184eb1)" ( (binary_expression "unaff_EDI + 0x184eb1" identifier + number_literal) )))))) ;) }) (else_clause "else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" else (compound_statement "{\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" { (expression_statement "dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;" (assignment_expression "dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" identifier = (binary_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (cast_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(FUN_00185490 + unaff_EDI + 1)" * (cast_expression "(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(FUN_00185490 + unaff_EDI + 1)" ( (binary_expression "FUN_00185490 + unaff_EDI + 1" (binary_expression "FUN_00185490 + unaff_EDI" identifier + identifier) + number_literal) ))))) / identifier)) ;) }))) (expression_statement "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));" (assignment_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (pointer_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" * (cast_expression "(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + *(int *)(iVar17 + 8) * 8)" ( (binary_expression "param_7 + *(int *)(iVar17 + 8) * 8" identifier + (binary_expression "*(int *)(iVar17 + 8) * 8" (pointer_expression "*(int *)(iVar17 + 8)" * (cast_expression "(int *)(iVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) * number_literal)) )))) = (binary_expression "dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" identifier * (parenthesized_expression "((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" ( (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10" (parenthesized_expression "(local_1bc * dVar13 + local_1c4 * dVar12)" ( (binary_expression "local_1bc * dVar13 + local_1c4 * dVar12" (binary_expression "local_1bc * dVar13" identifier * identifier) + (binary_expression "local_1c4 * dVar12" identifier * identifier)) )) * identifier) + (binary_expression "dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" identifier * (parenthesized_expression "(dVar13 * local_1ac + dVar12 * local_1b4)" ( (binary_expression "dVar13 * local_1ac + dVar12 * local_1b4" (binary_expression "dVar13 * local_1ac" identifier * identifier) + (binary_expression "dVar12 * local_1b4" identifier * identifier)) )))) )))) ;) }) (else_clause "else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" else (compound_statement "{\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" { (expression_statement "dVar7 = dVar13;" (assignment_expression "dVar7 = dVar13" identifier = identifier) ;) (expression_statement "dVar8 = dVar13;" (assignment_expression "dVar8 = dVar13" identifier = identifier) ;) (expression_statement "dVar9 = dVar12;" (assignment_expression "dVar9 = dVar12" identifier = identifier) ;) (expression_statement "dVar1 = dVar12;" (assignment_expression "dVar1 = dVar12" identifier = identifier) ;) (if_statement "if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }" if (parenthesized_expression "(piVar4[0xd] != 0)" ( (binary_expression "piVar4[0xd] != 0" (subscript_expression "piVar4[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }" { (expression_statement "iVar6 = piVar4[0xe];" (assignment_expression "iVar6 = piVar4[0xe]" identifier = (subscript_expression "piVar4[0xe]" identifier [ number_literal ])) ;) (expression_statement "dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);" (assignment_expression "dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1)" identifier = (pointer_expression "*(double *)(FUN_00184ec0 + unaff_EDI + 1)" * (cast_expression "(double *)(FUN_00184ec0 + unaff_EDI + 1)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(FUN_00184ec0 + unaff_EDI + 1)" ( (binary_expression "FUN_00184ec0 + unaff_EDI + 1" (binary_expression "FUN_00184ec0 + unaff_EDI" identifier + identifier) + number_literal) ))))) ;) (expression_statement "local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;" (assignment_expression "local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1" identifier = (binary_expression "local_1c4 * pdVar15[iVar6] * dVar1" (binary_expression "local_1c4 * pdVar15[iVar6]" identifier * (subscript_expression "pdVar15[iVar6]" identifier [ identifier ])) * identifier)) ;) (expression_statement "local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;" (assignment_expression "local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1" identifier = (binary_expression "local_1bc * pdVar15[iVar6 + iVar3] * dVar1" (binary_expression "local_1bc * pdVar15[iVar6 + iVar3]" identifier * (subscript_expression "pdVar15[iVar6 + iVar3]" identifier [ (binary_expression "iVar6 + iVar3" identifier + identifier) ])) * identifier)) ;) (expression_statement "local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;" (assignment_expression "local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1" identifier = (binary_expression "local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (binary_expression "local_1b4 * pdVar15[iVar3 + iVar6 + iVar3]" identifier * (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3" (binary_expression "iVar3 + iVar6" identifier + identifier) + identifier) ])) * identifier)) ;) (expression_statement "local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];" (assignment_expression "local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier = (binary_expression "local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" (binary_expression "local_1ac * dVar1" identifier * identifier) * (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3 * 2" (binary_expression "iVar3 + iVar6" identifier + identifier) + (binary_expression "iVar3 * 2" identifier * number_literal)) ]))) ;) (expression_statement "dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;" (assignment_expression "dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13" identifier = (binary_expression "dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13" (binary_expression "dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier * (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3 * 2]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3 * 2" (binary_expression "iVar3 + iVar6" identifier + identifier) + (binary_expression "iVar3 * 2" identifier * number_literal)) ])) * identifier)) ;) (expression_statement "dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;" (assignment_expression "dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13" identifier = (binary_expression "pdVar15[iVar6 + iVar3] * dVar1 * dVar13" (binary_expression "pdVar15[iVar6 + iVar3] * dVar1" (subscript_expression "pdVar15[iVar6 + iVar3]" identifier [ (binary_expression "iVar6 + iVar3" identifier + identifier) ]) * identifier) * identifier)) ;) (expression_statement "dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;" (assignment_expression "dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12" identifier = (binary_expression "pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12" (binary_expression "pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3]" identifier [ (binary_expression "iVar3 + iVar6 + iVar3" (binary_expression "iVar3 + iVar6" identifier + identifier) + identifier) ]) * identifier) * identifier)) ;) (expression_statement "dVar1 = pdVar15[iVar6] * dVar1 * dVar12;" (assignment_expression "dVar1 = pdVar15[iVar6] * dVar1 * dVar12" identifier = (binary_expression "pdVar15[iVar6] * dVar1 * dVar12" (binary_expression "pdVar15[iVar6] * dVar1" (subscript_expression "pdVar15[iVar6]" identifier [ identifier ]) * identifier) * identifier)) ;) })) (expression_statement "dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;" (assignment_expression "dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10" identifier = (binary_expression "(dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10" (binary_expression "(dVar9 + dVar7) * dVar11" (parenthesized_expression "(dVar9 + dVar7)" ( (binary_expression "dVar9 + dVar7" identifier + identifier) )) * identifier) + (binary_expression "(dVar1 + dVar8) * dVar10" (parenthesized_expression "(dVar1 + dVar8)" ( (binary_expression "dVar1 + dVar8" identifier + identifier) )) * identifier))) ;) (if_statement "if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" if (parenthesized_expression "(dVar7 < 0.0)" ( (binary_expression "dVar7 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }" { (expression_statement "dVar9 = -dVar7;" (assignment_expression "dVar9 = -dVar7" identifier = (unary_expression "-dVar7" - identifier)) ;) (expression_statement "dVar8 = -1.0;" (assignment_expression "dVar8 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" else (compound_statement "{\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" { (expression_statement "dVar8 = 1.0;" (assignment_expression "dVar8 = 1.0" identifier = number_literal) ;) (expression_statement "dVar9 = dVar7;" (assignment_expression "dVar9 = dVar7" identifier = identifier) ;) }))) (if_statement "if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" if (parenthesized_expression "(dVar9 < dVar19)" ( (binary_expression "dVar9 < dVar19" identifier < identifier) )) (compound_statement "{\n                dVar7 = dVar8 / dVar19;\n              }" { (expression_statement "dVar7 = dVar8 / dVar19;" (assignment_expression "dVar7 = dVar8 / dVar19" identifier = (binary_expression "dVar8 / dVar19" identifier / identifier)) ;) }) (else_clause "else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" else (compound_statement "{\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" { (expression_statement "dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;" (assignment_expression "dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" identifier = (binary_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (cast_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(FUN_00185490 + unaff_EDI + 1)" * (cast_expression "(float *)(FUN_00185490 + unaff_EDI + 1)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(FUN_00185490 + unaff_EDI + 1)" ( (binary_expression "FUN_00185490 + unaff_EDI + 1" (binary_expression "FUN_00185490 + unaff_EDI" identifier + identifier) + number_literal) ))))) / identifier)) ;) }))) (expression_statement "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));" (assignment_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (pointer_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" * (cast_expression "(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + *(int *)(iVar17 + 8) * 8)" ( (binary_expression "param_7 + *(int *)(iVar17 + 8) * 8" identifier + (binary_expression "*(int *)(iVar17 + 8) * 8" (pointer_expression "*(int *)(iVar17 + 8)" * (cast_expression "(int *)(iVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) * number_literal)) )))) = (binary_expression "dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" identifier * (parenthesized_expression "((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" ( (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10" (parenthesized_expression "(local_1bc * dVar13 + local_1c4 * dVar12)" ( (binary_expression "local_1bc * dVar13 + local_1c4 * dVar12" (binary_expression "local_1bc * dVar13" identifier * identifier) + (binary_expression "local_1c4 * dVar12" identifier * identifier)) )) * identifier) + (binary_expression "dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" identifier * (parenthesized_expression "(dVar13 * local_1ac + dVar12 * local_1b4)" ( (binary_expression "dVar13 * local_1ac + dVar12 * local_1b4" (binary_expression "dVar13 * local_1ac" identifier * identifier) + (binary_expression "dVar12 * local_1b4" identifier * identifier)) )))) )))) ;) }))) })) (expression_statement "piVar18 = piVar18 + 3;" (assignment_expression "piVar18 = piVar18 + 3" identifier = (binary_expression "piVar18 + 3" identifier + number_literal)) ;) (expression_statement "pdVar16 = pdVar16 + 1;" (assignment_expression "pdVar16 = pdVar16 + 1" identifier = (binary_expression "pdVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 + iVar3 * 3 != piVar18)" ( (binary_expression "piVar4 + iVar3 * 3 != piVar18" (binary_expression "piVar4 + iVar3 * 3" identifier + (binary_expression "iVar3 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "uVar14 = 1;" (assignment_expression "uVar14 = 1" identifier = number_literal) ;) }))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }" if (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n      FUN_0029eab0();\n    }" { (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar14;" return identifier ;) })) (expression_statement "uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();" (assignment_expression "uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))()" identifier = (call_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))()" (parenthesized_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))" ( (pointer_expression "*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" * (cast_expression "(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" ( (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" (string_literal ""stops != (const StopInfo *) NULL"" " string_content ") + (pointer_expression "*(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1a55d1 + param_4 * 4)" ( (binary_expression "unaff_EDI + 0x1a55d1 + param_4 * 4" (binary_expression "unaff_EDI + 0x1a55d1" identifier + number_literal) + (binary_expression "param_4 * 4" identifier * number_literal)) ))))) + identifier) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar14;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) * LIT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (pointer_expression * IDENT) * LIT) + LIT) ]) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT * LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT * LIT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (pointer_expression * IDENT) * LIT) + LIT) ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT) + (binary_expression IDENT * (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) / IDENT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (binary_expression IDENT * (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) + (binary_expression IDENT * IDENT)) )) * IDENT) + (binary_expression IDENT * (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) + (binary_expression IDENT * IDENT)) )))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * (subscript_expression IDENT [ IDENT ])) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * (subscript_expression IDENT [ (binary_expression IDENT + IDENT) ])) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + IDENT) + IDENT) ])) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) * (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + IDENT) + (binary_expression IDENT * LIT)) ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + IDENT) + (binary_expression IDENT * LIT)) ])) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + IDENT) ]) * IDENT) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + IDENT) + IDENT) ]) * IDENT) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ IDENT ]) * IDENT) * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) / IDENT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (binary_expression IDENT * (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) + (binary_expression IDENT * IDENT)) )) * IDENT) + (binary_expression IDENT * (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) + (binary_expression IDENT * IDENT)) )))) )))) ;) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (string_literal " string_content ") + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) + IDENT) + LIT) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4\nInterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    \n                    \n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}" (type_identifier "undefined4") (function_declarator "InterpolatePixelChannels\n          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)" (identifier "InterpolatePixelChannels") (parameter_list "(int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,\n          int param_7,undefined4 param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "double param_5" (primitive_type "double") (identifier "param_5")) (, ",") (parameter_declaration "double param_6" (primitive_type "double") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) () ")"))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  undefined4 uVar14;\n  double *pdVar15;\n  double *pdVar16;\n  int iVar17;\n  int *piVar18;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  double dVar19;\n  int local_1e8;\n  int local_1cc;\n  double local_1c4;\n  double local_1bc;\n  double local_1b4;\n  double local_1ac;\n  \n  FUN_0004c803();\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }\n  local_1e8 = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }\n  local_1cc = -0x7ffffdff;\n  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }\n  if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }\n  if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }\n                    \n                    \n  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();\n  return uVar14;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "double dVar7;" (primitive_type "double") (identifier "dVar7") (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (declaration "double dVar9;" (primitive_type "double") (identifier "dVar9") (; ";")) (declaration "double dVar10;" (primitive_type "double") (identifier "dVar10") (; ";")) (declaration "double dVar11;" (primitive_type "double") (identifier "dVar11") (; ";")) (declaration "double dVar12;" (primitive_type "double") (identifier "dVar12") (; ";")) (declaration "double dVar13;" (primitive_type "double") (identifier "dVar13") (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "double *pdVar15;" (primitive_type "double") (pointer_declarator "*pdVar15" (* "*") (identifier "pdVar15")) (; ";")) (declaration "double *pdVar16;" (primitive_type "double") (pointer_declarator "*pdVar16" (* "*") (identifier "pdVar16")) (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "double dVar19;" (primitive_type "double") (identifier "dVar19") (; ";")) (declaration "int local_1e8;" (primitive_type "int") (identifier "local_1e8") (; ";")) (declaration "int local_1cc;" (primitive_type "int") (identifier "local_1cc") (; ";")) (declaration "double local_1c4;" (primitive_type "double") (identifier "local_1c4") (; ";")) (declaration "double local_1bc;" (primitive_type "double") (identifier "local_1bc") (; ";")) (declaration "double local_1b4;" (primitive_type "double") (identifier "local_1b4") (; ";")) (declaration "double local_1ac;" (primitive_type "double") (identifier "local_1ac") (; ";")) (expression_statement "FUN_0004c803();" (call_expression "FUN_0004c803()" (identifier "FUN_0004c803") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" ({ "{") (expression_statement "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" (identifier "__assert_fail") (argument_list "((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,\n                  (char *)(unaff_EDI + 0x1a5685))" (( "(") (cast_expression "(char *)(unaff_EDI + 0x19deb6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x19deb6)" (( "(") (binary_expression "unaff_EDI + 0x19deb6" (identifier "unaff_EDI") (+ "+") (number_literal "0x19deb6")) () ")"))) (, ",") (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" (( "(") (binary_expression "unaff_EDI + 0x1a4c6e" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a4c6e")) () ")"))) (, ",") (number_literal "0x134f") (, ",") (cast_expression "(char *)(unaff_EDI + 0x1a5685)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a5685)" (( "(") (binary_expression "unaff_EDI + 0x1a5685" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a5685")) () ")"))) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" (* "*") (cast_expression "(int *)(param_1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3344)" (( "(") (binary_expression "param_1 + 0x3344" (identifier "param_1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" ({ "{") (expression_statement "__assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" (identifier "__assert_fail") (argument_list "(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,\n                  (char *)(unaff_EDI + 0x1a5685))" (( "(") (binary_expression "&UNK_00197449 + unaff_EDI" (pointer_expression "&UNK_00197449" (& "&") (identifier "UNK_00197449")) (+ "+") (identifier "unaff_EDI")) (, ",") (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" (( "(") (binary_expression "unaff_EDI + 0x1a4c6e" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a4c6e")) () ")"))) (, ",") (number_literal "0x1350") (, ",") (cast_expression "(char *)(unaff_EDI + 0x1a5685)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a5685)" (( "(") (binary_expression "unaff_EDI + 0x1a5685" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a5685")) () ")"))) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));\n  }" ({ "{") (expression_statement "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685));" (call_expression "__assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" (identifier "__assert_fail") (argument_list "(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,\n                  (char *)(unaff_EDI + 0x1a5685))" (( "(") (binary_expression "&UNK_001a58c9 + unaff_EDI" (pointer_expression "&UNK_001a58c9" (& "&") (identifier "UNK_001a58c9")) (+ "+") (identifier "unaff_EDI")) (, ",") (cast_expression "(char *)(unaff_EDI + 0x1a4c6e)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a4c6e)" (( "(") (binary_expression "unaff_EDI + 0x1a4c6e" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a4c6e")) () ")"))) (, ",") (number_literal "0x1351") (, ",") (cast_expression "(char *)(unaff_EDI + 0x1a5685)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a5685)" (( "(") (binary_expression "unaff_EDI + 0x1a5685" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a5685")) () ")"))) () ")"))) (; ";")) (} "}"))) (expression_statement "local_1e8 = -0x7ffffdff;" (assignment_expression "local_1e8 = -0x7ffffdff" (identifier "local_1e8") (= "=") (number_literal "-0x7ffffdff")) (; ";")) (if_statement "if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }" (if "if") (parenthesized_expression "((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)))" (( "(") (binary_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&\n     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (parenthesized_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5)" (( "(") (binary_expression "*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5" (pointer_expression "*(double *)(&DAT_00197aa9 + unaff_EDI)" (* "*") (cast_expression "(double *)(&DAT_00197aa9 + unaff_EDI)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00197aa9 + unaff_EDI)" (( "(") (binary_expression "&DAT_00197aa9 + unaff_EDI" (pointer_expression "&DAT_00197aa9" (& "&") (identifier "DAT_00197aa9")) (+ "+") (identifier "unaff_EDI")) () ")")))) (<= "<=") (identifier "param_5")) () ")")) (&& "&&") (parenthesized_expression "(local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (( "(") (comma_expression "local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (assignment_expression "local_1e8 = 0x7ffffdff" (identifier "local_1e8") (= "=") (number_literal "0x7ffffdff")) (, ",") (binary_expression "param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (identifier "param_5") (<= "<=") (pointer_expression "*(double *)(&DAT_00197ab1 + unaff_EDI)" (* "*") (cast_expression "(double *)(&DAT_00197ab1 + unaff_EDI)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00197ab1 + unaff_EDI)" (( "(") (binary_expression "&DAT_00197ab1 + unaff_EDI" (pointer_expression "&DAT_00197ab1" (& "&") (identifier "DAT_00197ab1")) (+ "+") (identifier "unaff_EDI")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n    dVar19 = floor(param_5);\n    local_1e8 = (int)ROUND(dVar19);\n  }" ({ "{") (expression_statement "dVar19 = floor(param_5);" (assignment_expression "dVar19 = floor(param_5)" (identifier "dVar19") (= "=") (call_expression "floor(param_5)" (identifier "floor") (argument_list "(param_5)" (( "(") (identifier "param_5") () ")")))) (; ";")) (expression_statement "local_1e8 = (int)ROUND(dVar19);" (assignment_expression "local_1e8 = (int)ROUND(dVar19)" (identifier "local_1e8") (= "=") (cast_expression "(int)ROUND(dVar19)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(dVar19)" (identifier "ROUND") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")"))))) (; ";")) (} "}"))) (expression_statement "local_1cc = -0x7ffffdff;" (assignment_expression "local_1cc = -0x7ffffdff" (identifier "local_1cc") (= "=") (number_literal "-0x7ffffdff")) (; ";")) (if_statement "if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }" (if "if") (parenthesized_expression "((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)))" (( "(") (binary_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&\n     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (parenthesized_expression "(*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6)" (( "(") (binary_expression "*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6" (pointer_expression "*(double *)(&DAT_00197aa9 + unaff_EDI)" (* "*") (cast_expression "(double *)(&DAT_00197aa9 + unaff_EDI)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00197aa9 + unaff_EDI)" (( "(") (binary_expression "&DAT_00197aa9 + unaff_EDI" (pointer_expression "&DAT_00197aa9" (& "&") (identifier "DAT_00197aa9")) (+ "+") (identifier "unaff_EDI")) () ")")))) (<= "<=") (identifier "param_6")) () ")")) (&& "&&") (parenthesized_expression "(local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))" (( "(") (comma_expression "local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (assignment_expression "local_1cc = 0x7ffffdff" (identifier "local_1cc") (= "=") (number_literal "0x7ffffdff")) (, ",") (binary_expression "param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI)" (identifier "param_6") (<= "<=") (pointer_expression "*(double *)(&DAT_00197ab1 + unaff_EDI)" (* "*") (cast_expression "(double *)(&DAT_00197ab1 + unaff_EDI)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00197ab1 + unaff_EDI)" (( "(") (binary_expression "&DAT_00197ab1 + unaff_EDI" (pointer_expression "&DAT_00197ab1" (& "&") (identifier "DAT_00197ab1")) (+ "+") (identifier "unaff_EDI")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n    dVar19 = floor(param_6);\n    local_1cc = (int)ROUND(dVar19);\n  }" ({ "{") (expression_statement "dVar19 = floor(param_6);" (assignment_expression "dVar19 = floor(param_6)" (identifier "dVar19") (= "=") (call_expression "floor(param_6)" (identifier "floor") (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "local_1cc = (int)ROUND(dVar19);" (assignment_expression "local_1cc = (int)ROUND(dVar19)" (identifier "local_1cc") (= "=") (cast_expression "(int)ROUND(dVar19)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(dVar19)" (identifier "ROUND") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")"))))) (; ";")) (} "}"))) (if_statement "if (param_4 == 0) {\n    param_4 = *(uint *)(param_1 + 0x260);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_4 = *(uint *)(param_1 + 0x260);\n  }" ({ "{") (expression_statement "param_4 = *(uint *)(param_1 + 0x260);" (assignment_expression "param_4 = *(uint *)(param_1 + 0x260)" (identifier "param_4") (= "=") (pointer_expression "*(uint *)(param_1 + 0x260)" (* "*") (cast_expression "(uint *)(param_1 + 0x260)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x260)" (( "(") (binary_expression "param_1 + 0x260" (identifier "param_1") (+ "+") (number_literal "0x260")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (0xb < param_4) {\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }" (if "if") (parenthesized_expression "(0xb < param_4)" (( "(") (binary_expression "0xb < param_4" (number_literal "0xb") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);\n    if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }\n    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }\n    return uVar14;\n  }" ({ "{") (expression_statement "pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);" (assignment_expression "pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" (identifier "pdVar15") (= "=") (cast_expression "(double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8)" (identifier "GetCacheViewVirtualPixels") (argument_list "(param_2,local_1e8,local_1cc,2,2,param_8)" (( "(") (identifier "param_2") (, ",") (identifier "local_1e8") (, ",") (identifier "local_1cc") (, ",") (number_literal "2") (, ",") (number_literal "2") (, ",") (identifier "param_8") () ")"))))) (; ";")) (if_statement "if (pdVar15 == (double *)0x0) {\n      uVar14 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" (if "if") (parenthesized_expression "(pdVar15 == (double *)0x0)" (( "(") (binary_expression "pdVar15 == (double *)0x0" (identifier "pdVar15") (== "==") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar14 = 0;\n    }" ({ "{") (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" (else "else") (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x298);\n      if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }\n      uVar14 = 1;\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x298);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x298)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x298)" (* "*") (cast_expression "(int *)(param_1 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x298)" (( "(") (binary_expression "param_1 + 0x298" (identifier "param_1") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (if_statement "if (0 < iVar3) {\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n        piVar4 = *(int **)(param_1 + 0x2a8);\n        dVar19 = *(double *)(unaff_EDI + 0x184eb1);\n        iVar5 = *(int *)(param_3 + 0x2a8);\n        pdVar16 = pdVar15;\n        piVar18 = piVar4;\n        do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);\n      }" ({ "{") (expression_statement "piVar4 = *(int **)(param_1 + 0x2a8);" (assignment_expression "piVar4 = *(int **)(param_1 + 0x2a8)" (identifier "piVar4") (= "=") (pointer_expression "*(int **)(param_1 + 0x2a8)" (* "*") (cast_expression "(int **)(param_1 + 0x2a8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2a8)" (( "(") (binary_expression "param_1 + 0x2a8" (identifier "param_1") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "dVar19 = *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar19 = *(double *)(unaff_EDI + 0x184eb1)" (identifier "dVar19") (= "=") (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x184eb1)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x184eb1)" (( "(") (binary_expression "unaff_EDI + 0x184eb1" (identifier "unaff_EDI") (+ "+") (number_literal "0x184eb1")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(param_3 + 0x2a8);" (assignment_expression "iVar5 = *(int *)(param_3 + 0x2a8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_3 + 0x2a8)" (* "*") (cast_expression "(int *)(param_3 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x2a8)" (( "(") (binary_expression "param_3 + 0x2a8" (identifier "param_3") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "pdVar16 = pdVar15;" (assignment_expression "pdVar16 = pdVar15" (identifier "pdVar16") (= "=") (identifier "pdVar15")) (; ";")) (expression_statement "piVar18 = piVar4;" (assignment_expression "piVar18 = piVar4" (identifier "piVar18") (= "=") (identifier "piVar4")) (; ";")) (do_statement "do {\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        } while (piVar4 + iVar3 * 3 != piVar18);" (do "do") (compound_statement "{\n          iVar17 = *piVar18 * 0xc + iVar5;\n          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }\n          piVar18 = piVar18 + 3;\n          pdVar16 = pdVar16 + 1;\n        }" ({ "{") (expression_statement "iVar17 = *piVar18 * 0xc + iVar5;" (assignment_expression "iVar17 = *piVar18 * 0xc + iVar5" (identifier "iVar17") (= "=") (binary_expression "*piVar18 * 0xc + iVar5" (binary_expression "*piVar18 * 0xc" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (* "*") (number_literal "0xc")) (+ "+") (identifier "iVar5"))) (; ";")) (if_statement "if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }" (if "if") (parenthesized_expression "((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0))" (( "(") (binary_expression "(*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)" (parenthesized_expression "(*(int *)(iVar17 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar17 + 4) != 0" (pointer_expression "*(int *)(iVar17 + 4)" (* "*") (cast_expression "(int *)(iVar17 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 4)" (( "(") (binary_expression "iVar17 + 4" (identifier "iVar17") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar4[*piVar18 * 3 + 1] != 0)" (( "(") (binary_expression "piVar4[*piVar18 * 3 + 1] != 0" (subscript_expression "piVar4[*piVar18 * 3 + 1]" (identifier "piVar4") ([ "[") (binary_expression "*piVar18 * 3 + 1" (binary_expression "*piVar18 * 3" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            dVar13 = param_5 - (double)local_1e8;\n            dVar11 = param_6 - (double)local_1cc;\n            dVar12 = 1.0 - dVar13;\n            dVar10 = 1.0 - dVar11;\n            local_1c4 = *pdVar16;\n            local_1bc = pdVar16[iVar3];\n            local_1b4 = pdVar16[iVar3 * 2];\n            local_1ac = pdVar16[iVar3 * 3];\n            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n          }" ({ "{") (expression_statement "dVar13 = param_5 - (double)local_1e8;" (assignment_expression "dVar13 = param_5 - (double)local_1e8" (identifier "dVar13") (= "=") (binary_expression "param_5 - (double)local_1e8" (identifier "param_5") (- "-") (cast_expression "(double)local_1e8" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_1e8")))) (; ";")) (expression_statement "dVar11 = param_6 - (double)local_1cc;" (assignment_expression "dVar11 = param_6 - (double)local_1cc" (identifier "dVar11") (= "=") (binary_expression "param_6 - (double)local_1cc" (identifier "param_6") (- "-") (cast_expression "(double)local_1cc" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_1cc")))) (; ";")) (expression_statement "dVar12 = 1.0 - dVar13;" (assignment_expression "dVar12 = 1.0 - dVar13" (identifier "dVar12") (= "=") (binary_expression "1.0 - dVar13" (number_literal "1.0") (- "-") (identifier "dVar13"))) (; ";")) (expression_statement "dVar10 = 1.0 - dVar11;" (assignment_expression "dVar10 = 1.0 - dVar11" (identifier "dVar10") (= "=") (binary_expression "1.0 - dVar11" (number_literal "1.0") (- "-") (identifier "dVar11"))) (; ";")) (expression_statement "local_1c4 = *pdVar16;" (assignment_expression "local_1c4 = *pdVar16" (identifier "local_1c4") (= "=") (pointer_expression "*pdVar16" (* "*") (identifier "pdVar16"))) (; ";")) (expression_statement "local_1bc = pdVar16[iVar3];" (assignment_expression "local_1bc = pdVar16[iVar3]" (identifier "local_1bc") (= "=") (subscript_expression "pdVar16[iVar3]" (identifier "pdVar16") ([ "[") (identifier "iVar3") (] "]"))) (; ";")) (expression_statement "local_1b4 = pdVar16[iVar3 * 2];" (assignment_expression "local_1b4 = pdVar16[iVar3 * 2]" (identifier "local_1b4") (= "=") (subscript_expression "pdVar16[iVar3 * 2]" (identifier "pdVar16") ([ "[") (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "local_1ac = pdVar16[iVar3 * 3];" (assignment_expression "local_1ac = pdVar16[iVar3 * 3]" (identifier "local_1ac") (= "=") (subscript_expression "pdVar16[iVar3 * 3]" (identifier "pdVar16") ([ "[") (binary_expression "iVar3 * 3" (identifier "iVar3") (* "*") (number_literal "3")) (] "]"))) (; ";")) (if_statement "if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }\n            else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" (if "if") (parenthesized_expression "((piVar4[*piVar18 * 3 + 1] & 4U) == 0)" (( "(") (binary_expression "(piVar4[*piVar18 * 3 + 1] & 4U) == 0" (parenthesized_expression "(piVar4[*piVar18 * 3 + 1] & 4U)" (( "(") (binary_expression "piVar4[*piVar18 * 3 + 1] & 4U" (subscript_expression "piVar4[*piVar18 * 3 + 1]" (identifier "piVar4") ([ "[") (binary_expression "*piVar18 * 3 + 1" (binary_expression "*piVar18 * 3" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (& "&") (number_literal "4U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" ({ "{") (expression_statement "dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);" (assignment_expression "dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12)" (identifier "dVar7") (= "=") (binary_expression "(dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12)" (binary_expression "(dVar13 + dVar12) * dVar11" (parenthesized_expression "(dVar13 + dVar12)" (( "(") (binary_expression "dVar13 + dVar12" (identifier "dVar13") (+ "+") (identifier "dVar12")) () ")")) (* "*") (identifier "dVar11")) (+ "+") (binary_expression "dVar10 * (dVar13 + dVar12)" (identifier "dVar10") (* "*") (parenthesized_expression "(dVar13 + dVar12)" (( "(") (binary_expression "dVar13 + dVar12" (identifier "dVar13") (+ "+") (identifier "dVar12")) () ")"))))) (; ";")) (if_statement "if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" (if "if") (parenthesized_expression "(dVar7 < 0.0)" (( "(") (binary_expression "dVar7 < 0.0" (identifier "dVar7") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }" ({ "{") (expression_statement "dVar9 = -dVar7;" (assignment_expression "dVar9 = -dVar7" (identifier "dVar9") (= "=") (unary_expression "-dVar7" (- "-") (identifier "dVar7"))) (; ";")) (expression_statement "dVar8 = -1.0;" (assignment_expression "dVar8 = -1.0" (identifier "dVar8") (= "=") (number_literal "-1.0")) (; ";")) (} "}")) (else_clause "else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" (else "else") (compound_statement "{\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" ({ "{") (expression_statement "dVar8 = 1.0;" (assignment_expression "dVar8 = 1.0" (identifier "dVar8") (= "=") (number_literal "1.0")) (; ";")) (expression_statement "dVar9 = dVar7;" (assignment_expression "dVar9 = dVar7" (identifier "dVar9") (= "=") (identifier "dVar7")) (; ";")) (} "}")))) (if_statement "if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }\n              else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" (if "if") (parenthesized_expression "(dVar9 < *(double *)(unaff_EDI + 0x184eb1))" (( "(") (binary_expression "dVar9 < *(double *)(unaff_EDI + 0x184eb1)" (identifier "dVar9") (< "<") (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x184eb1)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x184eb1)" (( "(") (binary_expression "unaff_EDI + 0x184eb1" (identifier "unaff_EDI") (+ "+") (number_literal "0x184eb1")) () ")"))))) () ")")) (compound_statement "{\n                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);\n              }" ({ "{") (expression_statement "dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);" (assignment_expression "dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1)" (identifier "dVar8") (= "=") (binary_expression "dVar8 / *(double *)(unaff_EDI + 0x184eb1)" (identifier "dVar8") (/ "/") (pointer_expression "*(double *)(unaff_EDI + 0x184eb1)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x184eb1)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x184eb1)" (( "(") (binary_expression "unaff_EDI + 0x184eb1" (identifier "unaff_EDI") (+ "+") (number_literal "0x184eb1")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" (else "else") (compound_statement "{\n                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" ({ "{") (expression_statement "dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;" (assignment_expression "dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (identifier "dVar8") (= "=") (binary_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (cast_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(FUN_00185490 + unaff_EDI + 1)" (* "*") (cast_expression "(float *)(FUN_00185490 + unaff_EDI + 1)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(FUN_00185490 + unaff_EDI + 1)" (( "(") (binary_expression "FUN_00185490 + unaff_EDI + 1" (binary_expression "FUN_00185490 + unaff_EDI" (identifier "FUN_00185490") (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "1")) () ")"))))) (/ "/") (identifier "dVar7"))) (; ";")) (} "}")))) (expression_statement "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));" (assignment_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (pointer_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" (* "*") (cast_expression "(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_7 + *(int *)(iVar17 + 8) * 8)" (( "(") (binary_expression "param_7 + *(int *)(iVar17 + 8) * 8" (identifier "param_7") (+ "+") (binary_expression "*(int *)(iVar17 + 8) * 8" (pointer_expression "*(int *)(iVar17 + 8)" (* "*") (cast_expression "(int *)(iVar17 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 8)" (( "(") (binary_expression "iVar17 + 8" (identifier "iVar17") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (binary_expression "dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (identifier "dVar8") (* "*") (parenthesized_expression "((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (( "(") (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10" (parenthesized_expression "(local_1bc * dVar13 + local_1c4 * dVar12)" (( "(") (binary_expression "local_1bc * dVar13 + local_1c4 * dVar12" (binary_expression "local_1bc * dVar13" (identifier "local_1bc") (* "*") (identifier "dVar13")) (+ "+") (binary_expression "local_1c4 * dVar12" (identifier "local_1c4") (* "*") (identifier "dVar12"))) () ")")) (* "*") (identifier "dVar10")) (+ "+") (binary_expression "dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (identifier "dVar11") (* "*") (parenthesized_expression "(dVar13 * local_1ac + dVar12 * local_1b4)" (( "(") (binary_expression "dVar13 * local_1ac + dVar12 * local_1b4" (binary_expression "dVar13 * local_1ac" (identifier "dVar13") (* "*") (identifier "local_1ac")) (+ "+") (binary_expression "dVar12 * local_1b4" (identifier "dVar12") (* "*") (identifier "local_1b4"))) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" (else "else") (compound_statement "{\n              dVar7 = dVar13;\n              dVar8 = dVar13;\n              dVar9 = dVar12;\n              dVar1 = dVar12;\n              if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }\n              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;\n              if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }\n              if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }\n              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));\n            }" ({ "{") (expression_statement "dVar7 = dVar13;" (assignment_expression "dVar7 = dVar13" (identifier "dVar7") (= "=") (identifier "dVar13")) (; ";")) (expression_statement "dVar8 = dVar13;" (assignment_expression "dVar8 = dVar13" (identifier "dVar8") (= "=") (identifier "dVar13")) (; ";")) (expression_statement "dVar9 = dVar12;" (assignment_expression "dVar9 = dVar12" (identifier "dVar9") (= "=") (identifier "dVar12")) (; ";")) (expression_statement "dVar1 = dVar12;" (assignment_expression "dVar1 = dVar12" (identifier "dVar1") (= "=") (identifier "dVar12")) (; ";")) (if_statement "if (piVar4[0xd] != 0) {\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }" (if "if") (parenthesized_expression "(piVar4[0xd] != 0)" (( "(") (binary_expression "piVar4[0xd] != 0" (subscript_expression "piVar4[0xd]" (identifier "piVar4") ([ "[") (number_literal "0xd") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                iVar6 = piVar4[0xe];\n                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);\n                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;\n                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;\n                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;\n                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];\n                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;\n                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;\n                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;\n                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;\n              }" ({ "{") (expression_statement "iVar6 = piVar4[0xe];" (assignment_expression "iVar6 = piVar4[0xe]" (identifier "iVar6") (= "=") (subscript_expression "piVar4[0xe]" (identifier "piVar4") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);" (assignment_expression "dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(FUN_00184ec0 + unaff_EDI + 1)" (* "*") (cast_expression "(double *)(FUN_00184ec0 + unaff_EDI + 1)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(FUN_00184ec0 + unaff_EDI + 1)" (( "(") (binary_expression "FUN_00184ec0 + unaff_EDI + 1" (binary_expression "FUN_00184ec0 + unaff_EDI" (identifier "FUN_00184ec0") (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;" (assignment_expression "local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1" (identifier "local_1c4") (= "=") (binary_expression "local_1c4 * pdVar15[iVar6] * dVar1" (binary_expression "local_1c4 * pdVar15[iVar6]" (identifier "local_1c4") (* "*") (subscript_expression "pdVar15[iVar6]" (identifier "pdVar15") ([ "[") (identifier "iVar6") (] "]"))) (* "*") (identifier "dVar1"))) (; ";")) (expression_statement "local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;" (assignment_expression "local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1" (identifier "local_1bc") (= "=") (binary_expression "local_1bc * pdVar15[iVar6 + iVar3] * dVar1" (binary_expression "local_1bc * pdVar15[iVar6 + iVar3]" (identifier "local_1bc") (* "*") (subscript_expression "pdVar15[iVar6 + iVar3]" (identifier "pdVar15") ([ "[") (binary_expression "iVar6 + iVar3" (identifier "iVar6") (+ "+") (identifier "iVar3")) (] "]"))) (* "*") (identifier "dVar1"))) (; ";")) (expression_statement "local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;" (assignment_expression "local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (identifier "local_1b4") (= "=") (binary_expression "local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (binary_expression "local_1b4 * pdVar15[iVar3 + iVar6 + iVar3]" (identifier "local_1b4") (* "*") (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3]" (identifier "pdVar15") ([ "[") (binary_expression "iVar3 + iVar6 + iVar3" (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) (+ "+") (identifier "iVar3")) (] "]"))) (* "*") (identifier "dVar1"))) (; ";")) (expression_statement "local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];" (assignment_expression "local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" (identifier "local_1ac") (= "=") (binary_expression "local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" (binary_expression "local_1ac * dVar1" (identifier "local_1ac") (* "*") (identifier "dVar1")) (* "*") (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3 * 2]" (identifier "pdVar15") ([ "[") (binary_expression "iVar3 + iVar6 + iVar3 * 2" (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) (+ "+") (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2"))) (] "]")))) (; ";")) (expression_statement "dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;" (assignment_expression "dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13" (identifier "dVar7") (= "=") (binary_expression "dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13" (binary_expression "dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2]" (identifier "dVar1") (* "*") (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3 * 2]" (identifier "pdVar15") ([ "[") (binary_expression "iVar3 + iVar6 + iVar3 * 2" (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) (+ "+") (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2"))) (] "]"))) (* "*") (identifier "dVar13"))) (; ";")) (expression_statement "dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;" (assignment_expression "dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13" (identifier "dVar8") (= "=") (binary_expression "pdVar15[iVar6 + iVar3] * dVar1 * dVar13" (binary_expression "pdVar15[iVar6 + iVar3] * dVar1" (subscript_expression "pdVar15[iVar6 + iVar3]" (identifier "pdVar15") ([ "[") (binary_expression "iVar6 + iVar3" (identifier "iVar6") (+ "+") (identifier "iVar3")) (] "]")) (* "*") (identifier "dVar1")) (* "*") (identifier "dVar13"))) (; ";")) (expression_statement "dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;" (assignment_expression "dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12" (identifier "dVar9") (= "=") (binary_expression "pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12" (binary_expression "pdVar15[iVar3 + iVar6 + iVar3] * dVar1" (subscript_expression "pdVar15[iVar3 + iVar6 + iVar3]" (identifier "pdVar15") ([ "[") (binary_expression "iVar3 + iVar6 + iVar3" (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) (+ "+") (identifier "iVar3")) (] "]")) (* "*") (identifier "dVar1")) (* "*") (identifier "dVar12"))) (; ";")) (expression_statement "dVar1 = pdVar15[iVar6] * dVar1 * dVar12;" (assignment_expression "dVar1 = pdVar15[iVar6] * dVar1 * dVar12" (identifier "dVar1") (= "=") (binary_expression "pdVar15[iVar6] * dVar1 * dVar12" (binary_expression "pdVar15[iVar6] * dVar1" (subscript_expression "pdVar15[iVar6]" (identifier "pdVar15") ([ "[") (identifier "iVar6") (] "]")) (* "*") (identifier "dVar1")) (* "*") (identifier "dVar12"))) (; ";")) (} "}"))) (expression_statement "dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;" (assignment_expression "dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10" (identifier "dVar7") (= "=") (binary_expression "(dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10" (binary_expression "(dVar9 + dVar7) * dVar11" (parenthesized_expression "(dVar9 + dVar7)" (( "(") (binary_expression "dVar9 + dVar7" (identifier "dVar9") (+ "+") (identifier "dVar7")) () ")")) (* "*") (identifier "dVar11")) (+ "+") (binary_expression "(dVar1 + dVar8) * dVar10" (parenthesized_expression "(dVar1 + dVar8)" (( "(") (binary_expression "dVar1 + dVar8" (identifier "dVar1") (+ "+") (identifier "dVar8")) () ")")) (* "*") (identifier "dVar10")))) (; ";")) (if_statement "if (dVar7 < 0.0) {\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }\n              else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" (if "if") (parenthesized_expression "(dVar7 < 0.0)" (( "(") (binary_expression "dVar7 < 0.0" (identifier "dVar7") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                dVar9 = -dVar7;\n                dVar8 = -1.0;\n              }" ({ "{") (expression_statement "dVar9 = -dVar7;" (assignment_expression "dVar9 = -dVar7" (identifier "dVar9") (= "=") (unary_expression "-dVar7" (- "-") (identifier "dVar7"))) (; ";")) (expression_statement "dVar8 = -1.0;" (assignment_expression "dVar8 = -1.0" (identifier "dVar8") (= "=") (number_literal "-1.0")) (; ";")) (} "}")) (else_clause "else {\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" (else "else") (compound_statement "{\n                dVar8 = 1.0;\n                dVar9 = dVar7;\n              }" ({ "{") (expression_statement "dVar8 = 1.0;" (assignment_expression "dVar8 = 1.0" (identifier "dVar8") (= "=") (number_literal "1.0")) (; ";")) (expression_statement "dVar9 = dVar7;" (assignment_expression "dVar9 = dVar7" (identifier "dVar9") (= "=") (identifier "dVar7")) (; ";")) (} "}")))) (if_statement "if (dVar9 < dVar19) {\n                dVar7 = dVar8 / dVar19;\n              }\n              else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" (if "if") (parenthesized_expression "(dVar9 < dVar19)" (( "(") (binary_expression "dVar9 < dVar19" (identifier "dVar9") (< "<") (identifier "dVar19")) () ")")) (compound_statement "{\n                dVar7 = dVar8 / dVar19;\n              }" ({ "{") (expression_statement "dVar7 = dVar8 / dVar19;" (assignment_expression "dVar7 = dVar8 / dVar19" (identifier "dVar7") (= "=") (binary_expression "dVar8 / dVar19" (identifier "dVar8") (/ "/") (identifier "dVar19"))) (; ";")) (} "}")) (else_clause "else {\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" (else "else") (compound_statement "{\n                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;\n              }" ({ "{") (expression_statement "dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;" (assignment_expression "dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (identifier "dVar7") (= "=") (binary_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7" (cast_expression "(double)*(float *)(FUN_00185490 + unaff_EDI + 1)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(FUN_00185490 + unaff_EDI + 1)" (* "*") (cast_expression "(float *)(FUN_00185490 + unaff_EDI + 1)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(FUN_00185490 + unaff_EDI + 1)" (( "(") (binary_expression "FUN_00185490 + unaff_EDI + 1" (binary_expression "FUN_00185490 + unaff_EDI" (identifier "FUN_00185490") (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "1")) () ")"))))) (/ "/") (identifier "dVar7"))) (; ";")) (} "}")))) (expression_statement "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));" (assignment_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =\n                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (pointer_expression "*(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" (* "*") (cast_expression "(double *)(param_7 + *(int *)(iVar17 + 8) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_7 + *(int *)(iVar17 + 8) * 8)" (( "(") (binary_expression "param_7 + *(int *)(iVar17 + 8) * 8" (identifier "param_7") (+ "+") (binary_expression "*(int *)(iVar17 + 8) * 8" (pointer_expression "*(int *)(iVar17 + 8)" (* "*") (cast_expression "(int *)(iVar17 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 8)" (( "(") (binary_expression "iVar17 + 8" (identifier "iVar17") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (binary_expression "dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (identifier "dVar7") (* "*") (parenthesized_expression "((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4))" (( "(") (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +\n                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (binary_expression "(local_1bc * dVar13 + local_1c4 * dVar12) * dVar10" (parenthesized_expression "(local_1bc * dVar13 + local_1c4 * dVar12)" (( "(") (binary_expression "local_1bc * dVar13 + local_1c4 * dVar12" (binary_expression "local_1bc * dVar13" (identifier "local_1bc") (* "*") (identifier "dVar13")) (+ "+") (binary_expression "local_1c4 * dVar12" (identifier "local_1c4") (* "*") (identifier "dVar12"))) () ")")) (* "*") (identifier "dVar10")) (+ "+") (binary_expression "dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4)" (identifier "dVar11") (* "*") (parenthesized_expression "(dVar13 * local_1ac + dVar12 * local_1b4)" (( "(") (binary_expression "dVar13 * local_1ac + dVar12 * local_1b4" (binary_expression "dVar13 * local_1ac" (identifier "dVar13") (* "*") (identifier "local_1ac")) (+ "+") (binary_expression "dVar12 * local_1b4" (identifier "dVar12") (* "*") (identifier "local_1b4"))) () ")")))) () ")")))) (; ";")) (} "}")))) (} "}"))) (expression_statement "piVar18 = piVar18 + 3;" (assignment_expression "piVar18 = piVar18 + 3" (identifier "piVar18") (= "=") (binary_expression "piVar18 + 3" (identifier "piVar18") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pdVar16 = pdVar16 + 1;" (assignment_expression "pdVar16 = pdVar16 + 1" (identifier "pdVar16") (= "=") (binary_expression "pdVar16 + 1" (identifier "pdVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 + iVar3 * 3 != piVar18)" (( "(") (binary_expression "piVar4 + iVar3 * 3 != piVar18" (binary_expression "piVar4 + iVar3 * 3" (identifier "piVar4") (+ "+") (binary_expression "iVar3 * 3" (identifier "iVar3") (* "*") (number_literal "3"))) (!= "!=") (identifier "piVar18")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar14 = 1;" (assignment_expression "uVar14 = 1" (identifier "uVar14") (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0029eab0();\n    }" (if "if") (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n      FUN_0029eab0();\n    }" ({ "{") (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar14;" (return "return") (identifier "uVar14") (; ";")) (} "}"))) (expression_statement "uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();" (assignment_expression "uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))()" (identifier "uVar14") (= "=") (call_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))()" (parenthesized_expression "(*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))" (( "(") (pointer_expression "*(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" (* "*") (cast_expression "(code *)("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "("stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11)" (( "(") (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI" (binary_expression ""stops != (const StopInfo *) NULL" +\n                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" (string_literal ""stops != (const StopInfo *) NULL"" (" """) (string_content "stops != (const StopInfo *) NULL") (" """)) (+ "+") (pointer_expression "*(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1a55d1 + param_4 * 4)" (( "(") (binary_expression "unaff_EDI + 0x1a55d1 + param_4 * 4" (binary_expression "unaff_EDI + 0x1a55d1" (identifier "unaff_EDI") (+ "+") (number_literal "0x1a55d1")) (+ "+") (binary_expression "param_4 * 4" (identifier "param_4") (* "*") (number_literal "4"))) () ")"))))) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x11")) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar14;" (return "return") (identifier "uVar14") (; ";")) (} "}")))

/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

type_1
function_1
          (type_2 *var_3,type_3 *var_6,type_2 *destination,type_4 var_11,
          double var_7,double var_10,type_5 *pixel,type_6 *exception)

{
  double var_32;
  int var_38;
  size_t var_19;
  type_7 *var_37;
  type_7 *pPVar5;
  int var_33;
  type_8 PVar7;
  double var_23;
  double var_25;
  double var_24;
  double var_22;
  double var_18;
  double var_21;
  double var_17;
  type_1 MVar15;
  type_5 *var_15;
  type_5 *var_36;
  type_7 *var_35;
  int var_5;
  int var_2;
  double var_34;
  int local_1e8;
  int local_1cc;
  double var_28;
  double var_27;
  double var_30;
  double var_29;
  type_9 __cw;
  type_9 __cwtmp;
  double alpha [16];
  double pixels [16];
  
  var_1();
  var_38 = *(int *)(var_2 + 0x14);
  if (var_3 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_4((char *)(var_5 + 0x19deb6),(char *)(var_5 + 0x1a4c6e),0x134f,
                  (char *)(var_5 + 0x1a5685));
  }
  if (var_3->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_4((char *)(var_5 + 0x197449),(char *)(var_5 + 0x1a4c6e),0x1350,
                  (char *)(var_5 + 0x1a5685));
  }
  if (var_6 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_4(&UNK_001a58c9 + var_5,(char *)(var_5 + 0x1a4c6e),0x1351,
                  (char *)(var_5 + 0x1a5685));
  }
  local_1e8 = -0x7ffffdff;
  if ((*(double *)(var_5 + 0x197aa9) <= var_7) &&
     (local_1e8 = 0x7ffffdff, var_7 <= *(double *)(var_5 + 0x197ab1))) {
    var_34 = var_8(var_7);
    local_1e8 = (int)var_9(var_34);
  }
  local_1cc = -0x7ffffdff;
  if ((*(double *)(var_5 + 0x197aa9) <= var_10) &&
     (local_1cc = 0x7ffffdff, var_10 <= *(double *)(var_5 + 0x197ab1))) {
    var_34 = var_8(var_10);
    local_1cc = (int)var_9(var_34);
  }
  if (var_11 == var_12) {
    var_11 = var_3->interpolate;
  }
  if (var_13 < var_11) {
    var_15 = var_14(var_6,local_1e8,local_1cc,2,2,exception);
    if (var_15 == (type_5 *)0x0) {
      MVar15 = MagickFalse;
    }
    else {
      var_19 = var_3->number_channels;
      if (0 < (int)var_19) {
        var_37 = var_3->channel_map;
        var_34 = *(double *)(var_5 + 0x184eb1);
        pPVar5 = destination->channel_map;
        var_36 = var_15;
        var_35 = var_37;
        do {
          PVar7 = var_35->channel;
          if ((pPVar5[PVar7].traits != var_16) &&
             (var_37[PVar7].traits != var_16)) {
            var_17 = var_7 - (double)local_1e8;
            var_18 = var_10 - (double)local_1cc;
            var_21 = 1.0 - var_17;
            var_22 = 1.0 - var_18;
            var_28 = *var_36;
            var_27 = var_36[var_19];
            var_30 = var_36[var_19 * 2];
            var_29 = var_36[var_19 * 3];
            if ((var_37[PVar7].traits & var_20) == var_16) {
              var_23 = (var_17 + var_21) * var_18 + var_22 * (var_17 + var_21);
              if (var_23 < 0.0) {
                var_24 = -var_23;
                var_25 = -1.0;
              }
              else {
                var_25 = 1.0;
                var_24 = var_23;
              }
              if (var_24 < *(double *)(var_5 + 0x184eb1)) {
                var_25 = var_25 / *(double *)(var_5 + 0x184eb1);
              }
              else {
                var_25 = (double)*(float *)(var_26 + var_5 + 1) / var_23;
              }
              pixel[pPVar5[PVar7].offset] =
                   var_25 * ((var_27 * var_17 + var_28 * var_21) * var_22 +
                           var_18 * (var_17 * var_29 + var_21 * var_30));
            }
            else {
              var_23 = var_17;
              var_25 = var_17;
              var_24 = var_21;
              var_32 = var_21;
              if (var_37[4].traits != var_16) {
                var_33 = var_37[4].offset;
                var_32 = *(double *)(var_31 + var_5 + 1);
                var_28 = var_28 * var_15[var_33] * var_32;
                var_27 = var_27 * var_15[var_33 + var_19] * var_32;
                var_30 = var_30 * var_15[var_19 + var_33 + var_19] * var_32;
                var_29 = var_29 * var_32 * var_15[var_19 + var_33 + var_19 * 2];
                var_23 = var_32 * var_15[var_19 + var_33 + var_19 * 2] * var_17;
                var_25 = var_15[var_33 + var_19] * var_32 * var_17;
                var_24 = var_15[var_19 + var_33 + var_19] * var_32 * var_21;
                var_32 = var_15[var_33] * var_32 * var_21;
              }
              var_23 = (var_24 + var_23) * var_18 + (var_32 + var_25) * var_22;
              if (var_23 < 0.0) {
                var_24 = -var_23;
                var_25 = -1.0;
              }
              else {
                var_25 = 1.0;
                var_24 = var_23;
              }
              if (var_24 < var_34) {
                var_23 = var_25 / var_34;
              }
              else {
                var_23 = (double)*(float *)(var_26 + var_5 + 1) / var_23;
              }
              pixel[pPVar5[PVar7].offset] =
                   var_23 * ((var_27 * var_17 + var_28 * var_21) * var_22 +
                           var_18 * (var_17 * var_29 + var_21 * var_30));
            }
          }
          var_35 = var_35 + 1;
          var_36 = var_36 + 1;
        } while (var_37 + var_19 != var_35);
      }
      MVar15 = MagickTrue;
    }
    if (var_38 != *(int *)(var_2 + 0x14)) {
                    /* WARNING: Subroutine does not return */
      var_39();
    }
    return MVar15;
  }
                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  MVar15 = (*(type_10 *)("stops != (const StopInfo *) NULL" +
                     *(int *)(var_5 + 0x1a55d1 + var_11 * 4) + var_5 + 0x11))();
  return MVar15;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (number_literal) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (number_literal))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) right: (identifier)) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier)))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) right: (identifier)) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (string_literal (string_content)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (identifier)) right: (number_literal)))))) arguments: (argument_list)))) (return_statement (identifier)))))

undefined4
MASKED
          (int param_1,int param_2,int param_3,uint param_4,double param_5,double param_6,
          int param_7,undefined4 param_8)

{
  double dVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  double dVar7;
  double dVar8;
  double dVar9;
  double dVar10;
  double dVar11;
  double dVar12;
  double dVar13;
  undefined4 uVar14;
  double *pdVar15;
  double *pdVar16;
  int iVar17;
  int *piVar18;
  int unaff_EDI;
  int in_GS_OFFSET;
  double dVar19;
  int local_1e8;
  int local_1cc;
  double local_1c4;
  double local_1bc;
  double local_1b4;
  double local_1ac;
  
  FUN_0004c803();
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x19deb6),(char *)(unaff_EDI + 0x1a4c6e),0x134f,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_00197449 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1350,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_001a58c9 + unaff_EDI,(char *)(unaff_EDI + 0x1a4c6e),0x1351,
                  (char *)(unaff_EDI + 0x1a5685));
  }
  local_1e8 = -0x7ffffdff;
  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_5) &&
     (local_1e8 = 0x7ffffdff, param_5 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {
    dVar19 = floor(param_5);
    local_1e8 = (int)ROUND(dVar19);
  }
  local_1cc = -0x7ffffdff;
  if ((*(double *)(&DAT_00197aa9 + unaff_EDI) <= param_6) &&
     (local_1cc = 0x7ffffdff, param_6 <= *(double *)(&DAT_00197ab1 + unaff_EDI))) {
    dVar19 = floor(param_6);
    local_1cc = (int)ROUND(dVar19);
  }
  if (param_4 == 0) {
    param_4 = *(uint *)(param_1 + 0x260);
  }
  if (0xb < param_4) {
    pdVar15 = (double *)GetCacheViewVirtualPixels(param_2,local_1e8,local_1cc,2,2,param_8);
    if (pdVar15 == (double *)0x0) {
      uVar14 = 0;
    }
    else {
      iVar3 = *(int *)(param_1 + 0x298);
      if (0 < iVar3) {
        piVar4 = *(int **)(param_1 + 0x2a8);
        dVar19 = *(double *)(unaff_EDI + 0x184eb1);
        iVar5 = *(int *)(param_3 + 0x2a8);
        pdVar16 = pdVar15;
        piVar18 = piVar4;
        do {
          iVar17 = *piVar18 * 0xc + iVar5;
          if ((*(int *)(iVar17 + 4) != 0) && (piVar4[*piVar18 * 3 + 1] != 0)) {
            dVar13 = param_5 - (double)local_1e8;
            dVar11 = param_6 - (double)local_1cc;
            dVar12 = 1.0 - dVar13;
            dVar10 = 1.0 - dVar11;
            local_1c4 = *pdVar16;
            local_1bc = pdVar16[iVar3];
            local_1b4 = pdVar16[iVar3 * 2];
            local_1ac = pdVar16[iVar3 * 3];
            if ((piVar4[*piVar18 * 3 + 1] & 4U) == 0) {
              dVar7 = (dVar13 + dVar12) * dVar11 + dVar10 * (dVar13 + dVar12);
              if (dVar7 < 0.0) {
                dVar9 = -dVar7;
                dVar8 = -1.0;
              }
              else {
                dVar8 = 1.0;
                dVar9 = dVar7;
              }
              if (dVar9 < *(double *)(unaff_EDI + 0x184eb1)) {
                dVar8 = dVar8 / *(double *)(unaff_EDI + 0x184eb1);
              }
              else {
                dVar8 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;
              }
              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =
                   dVar8 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +
                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));
            }
            else {
              dVar7 = dVar13;
              dVar8 = dVar13;
              dVar9 = dVar12;
              dVar1 = dVar12;
              if (piVar4[0xd] != 0) {
                iVar6 = piVar4[0xe];
                dVar1 = *(double *)(FUN_00184ec0 + unaff_EDI + 1);
                local_1c4 = local_1c4 * pdVar15[iVar6] * dVar1;
                local_1bc = local_1bc * pdVar15[iVar6 + iVar3] * dVar1;
                local_1b4 = local_1b4 * pdVar15[iVar3 + iVar6 + iVar3] * dVar1;
                local_1ac = local_1ac * dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2];
                dVar7 = dVar1 * pdVar15[iVar3 + iVar6 + iVar3 * 2] * dVar13;
                dVar8 = pdVar15[iVar6 + iVar3] * dVar1 * dVar13;
                dVar9 = pdVar15[iVar3 + iVar6 + iVar3] * dVar1 * dVar12;
                dVar1 = pdVar15[iVar6] * dVar1 * dVar12;
              }
              dVar7 = (dVar9 + dVar7) * dVar11 + (dVar1 + dVar8) * dVar10;
              if (dVar7 < 0.0) {
                dVar9 = -dVar7;
                dVar8 = -1.0;
              }
              else {
                dVar8 = 1.0;
                dVar9 = dVar7;
              }
              if (dVar9 < dVar19) {
                dVar7 = dVar8 / dVar19;
              }
              else {
                dVar7 = (double)*(float *)(FUN_00185490 + unaff_EDI + 1) / dVar7;
              }
              *(double *)(param_7 + *(int *)(iVar17 + 8) * 8) =
                   dVar7 * ((local_1bc * dVar13 + local_1c4 * dVar12) * dVar10 +
                           dVar11 * (dVar13 * local_1ac + dVar12 * local_1b4));
            }
          }
          piVar18 = piVar18 + 3;
          pdVar16 = pdVar16 + 1;
        } while (piVar4 + iVar3 * 3 != piVar18);
      }
      uVar14 = 1;
    }
    if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_0029eab0();
    }
    return uVar14;
  }
                    /* WARNING: Could not recover jumptable at 0x0011a430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar14 = (*(code *)("stops != (const StopInfo *) NULL" +
                     *(int *)(unaff_EDI + 0x1a55d1 + param_4 * 4) + unaff_EDI + 0x11))();
  return uVar14;
}

