
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* WARNING: Removing unreachable block (ram,0x0003cb90) */
/* 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 */
/* DWARF original prototype: void SetImageDepth._omp_fn.4(anon_struct_24_5_83ffb101 * param_0) */

void __thiscall SetImageDepth__omp_fn_4(anon_struct_24_5_83ffb101 *this)

{
  double dVar1;
  double dVar2;
  ulonglong uVar3;
  longlong lVar4;
  Image *pIVar5;
  CacheView *cache_view;
  ExceptionInfo *exception;
  size_t sVar6;
  size_t sVar7;
  PixelChannelMap *pPVar8;
  double dVar9;
  double dVar10;
  float fVar11;
  QuantumAny QVar12;
  ulonglong uVar13;
  double dVar14;
  int iVar15;
  int iVar16;
  PixelChannelMap *pPVar17;
  MagickBooleanType MVar18;
  double *pdVar19;
  size_t local_68;
  double *local_64;
  int local_60;
  undefined4 local_34;
  int iStack_30;
  
  pIVar5 = this->image;
  local_60 = omp_get_num_threads();
  iVar15 = omp_get_thread_num();
  iVar16 = (int)pIVar5->rows / local_60;
  local_60 = (int)pIVar5->rows % local_60;
  if (iVar15 < local_60) {
    iVar16 = iVar16 + 1;
    local_60 = 0;
  }
  local_60 = iVar15 * iVar16 + local_60;
  iVar16 = iVar16 + local_60;
  if (local_60 < iVar16) {
    iVar15 = *(int *)((int)&this->range + 4);
    uVar13 = this->range;
    QVar12 = this->range;
    cache_view = this->image_view;
    exception = this->exception;
    do {
      if (this->status != MagickFalse) {
        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);
        dVar14 = DAT_0029f138;
        if (local_64 != (Quantum *)0x0) {
          sVar6 = pIVar5->columns;
          if (0 < (int)sVar6) {
            sVar7 = pIVar5->number_channels;
            local_68 = 0;
            do {
              if (0 < (int)sVar7) {
                pPVar8 = pIVar5->channel_map;
                pPVar17 = pPVar8;
                pdVar19 = local_64;
                do {
                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {
                    dVar1 = *pdVar19;
                    fVar11 = (float)(longlong)QVar12;
                    if (iVar15 < 0) {
                      fVar11 = fVar11 + DAT_0029f714;
                    }
                    dVar2 = (double)fVar11;
                    dVar9 = DAT_0029f738;
                    if ((dVar1 < 0.0) ||
                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&
                        (dVar10 = dVar1, dVar1 <= 0.0)))) {
                      dVar1 = 0.0;
                      if (dVar14 <= dVar2) {
LAB_0003cb18:
                        dVar9 = (double)DAT_0029f718 / dVar2;
                      }
                      else {
                        dVar1 = 0.0;
                      }
LAB_0003cb1e:
                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;
                    }
                    else {
                      uVar3 = 0xffffffffffffffff;
                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;
                      if (dVar1 < (double)DAT_0029f714) {
                        dVar1 = dVar1 + (double)DAT_0029f124;
                        if ((double)DAT_0029f134 <= dVar1) {
                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);
                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);
                          local_34 = (undefined4)lVar4;
                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);
                        }
                        else {
                          uVar3 = (ulonglong)ROUND(dVar1);
                        }
                      }
                      if (uVar3 <= uVar13) {
                        fVar11 = (float)(longlong)uVar3;
                        if ((longlong)uVar3 < 0) {
                          fVar11 = fVar11 + DAT_0029f714;
                        }
                        dVar1 = (double)fVar11;
                        if (dVar14 <= dVar2) goto LAB_0003cb18;
                        goto LAB_0003cb1e;
                      }
                      dVar1 = (double)DAT_0029f710;
                    }
                    *pdVar19 = dVar1;
                  }
                  pPVar17 = pPVar17 + 1;
                  pdVar19 = pdVar19 + 1;
                } while (pPVar8 + sVar7 != pPVar17);
              }
              local_68 = local_68 + 1;
              local_64 = local_64 + sVar7;
            } while (local_68 != sVar6);
          }
          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar18 != MagickFalse) goto LAB_0003cb70;
        }
        this->status = MagickFalse;
      }
LAB_0003cb70:
      local_60 = local_60 + 1;
    } while (iVar16 != local_60);
  }
  return;
}



/* WARNING: Removing unreachable block (ram,0x0003cb90) */

void FUN_0003c8d0(ulonglong *param_1)

{
  double dVar1;
  double dVar2;
  double dVar3;
  ulonglong uVar4;
  longlong lVar5;
  int iVar6;
  undefined4 uVar7;
  int iVar8;
  int *piVar9;
  double dVar10;
  float fVar11;
  ulonglong uVar12;
  ulonglong uVar13;
  ulonglong uVar14;
  int iVar15;
  int iVar16;
  int *piVar17;
  int iVar18;
  double *pdVar19;
  int unaff_EBP;
  int local_68;
  double *local_64;
  int local_60;
  undefined4 local_34;
  int iStack_30;
  
  FUN_00042799();
  iVar6 = (int)param_1[1];
  local_60 = omp_get_num_threads();
  iVar15 = omp_get_thread_num();
  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;
  local_60 = *(int *)(iVar6 + 0x1c) % local_60;
  if (iVar15 < local_60) {
    iVar16 = iVar16 + 1;
    local_60 = 0;
  }
  local_60 = iVar15 * iVar16 + local_60;
  iVar16 = iVar16 + local_60;
  if (local_60 < iVar16) {
    iVar15 = *(int *)((int)param_1 + 4);
    uVar13 = *param_1;
    uVar12 = *param_1;
    uVar14 = param_1[2];
    uVar7 = *(undefined4 *)((int)param_1 + 0xc);
    do {
      if (*(int *)((int)param_1 + 0x14) != 0) {
        local_64 = (double *)
                   GetCacheViewAuthenticPixels
                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);
        if (local_64 != (double *)0x0) {
          iVar18 = *(int *)(iVar6 + 0x18);
          if (0 < iVar18) {
            iVar8 = *(int *)(iVar6 + 0x298);
            local_68 = 0;
            dVar1 = *(double *)(unaff_EBP + 0x262862);
            do {
              if (0 < iVar8) {
                piVar9 = *(int **)(iVar6 + 0x2a8);
                piVar17 = piVar9;
                pdVar19 = local_64;
                do {
                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {
                    dVar2 = *pdVar19;
                    fVar11 = (float)(longlong)uVar12;
                    if (iVar15 < 0) {
                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);
                    }
                    dVar3 = (double)fVar11;
                    if ((dVar2 < 0.0) ||
                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&
                        (dVar10 = dVar2, dVar2 <= 0.0)))) {
                      dVar2 = 0.0;
                      if (dVar1 <= dVar3) goto LAB_0003cb18;
                      dVar2 = 0.0;
LAB_0003cbe8:
                      dVar3 = *(double *)(unaff_EBP + 0x262e62);
LAB_0003cb1e:
                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);
                    }
                    else {
                      uVar4 = 0xffffffffffffffff;
                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);
                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {
                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);
                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {
                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));
                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);
                          local_34 = (undefined4)lVar5;
                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);
                        }
                        else {
                          uVar4 = (ulonglong)ROUND(dVar2);
                        }
                      }
                      if (uVar4 <= uVar13) {
                        fVar11 = (float)(longlong)uVar4;
                        if ((longlong)uVar4 < 0) {
                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);
                        }
                        dVar2 = (double)fVar11;
                        if (dVar3 < dVar1) goto LAB_0003cbe8;
LAB_0003cb18:
                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;
                        goto LAB_0003cb1e;
                      }
                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);
                    }
                    *pdVar19 = dVar2;
                  }
                  piVar17 = piVar17 + 3;
                  pdVar19 = pdVar19 + 1;
                } while (piVar9 + iVar8 * 3 != piVar17);
              }
              local_68 = local_68 + 1;
              local_64 = local_64 + iVar8;
            } while (local_68 != iVar18);
          }
          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);
          if (iVar18 != 0) goto LAB_0003cb70;
        }
        *(undefined4 *)((int)param_1 + 0x14) = 0;
      }
LAB_0003cb70:
      local_60 = local_60 + 1;
    } while (iVar16 != local_60);
  }
  return;
}


PUSH EBP
CALL 0x00042799
ADD EBP,0x39c72a
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x6c
MOV EAX,dword ptr [ESP + 0x80]
MOV EBX,EBP
MOV EAX,dword ptr [EAX + 0x8]
MOV EDI,EAX
MOV dword ptr [ESP + 0x2c],EAX
CALL 0x00030850
MOV ESI,EAX
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [EDI + 0x1c]
CDQ
IDIV ESI
CMP ECX,EDX
JGE 0x0003c911
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
MOV ESI,EAX
LEA EDI,[ECX + EDX*0x1]
ADD ESI,EDI
MOV dword ptr [ESP + 0x1c],EDI
CMP EDI,ESI
MOV dword ptr [ESP + 0x50],ESI
JGE 0x0003cb83
MOV EAX,dword ptr [ESP + 0x80]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x80]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [ESP + 0x80]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x44],EAX
NOP
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x80]
MOV ESI,dword ptr [EAX + 0x14]
TEST ESI,ESI
JZ 0x0003cb70
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x4c]
PUSH 0x1
MOV ESI,dword ptr [ESP + 0x3c]
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [ESP + 0x30]
PUSH 0x0
PUSH dword ptr [ESP + 0x5c]
CALL 0x000312c0
MOV dword ptr [ESP + 0x38],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0003cc50
MOV EDI,dword ptr [ESI + 0x18]
TEST EDI,EDI
MOV dword ptr [ESP + 0x30],EDI
JLE 0x0003cb53
MOV EBX,dword ptr [ESI + 0x298]
MOV dword ptr [ESP + 0x14],0x0
FLD qword ptr [EBP + 0xffec6138]
LEA EAX,[EBX + EBX*0x2]
MOV dword ptr [ESP + 0x38],EBX
SHL EAX,0x2
MOV dword ptr [ESP + 0x3c],EAX
LEA EAX,[EBX*0x8 + 0x0]
MOV dword ptr [ESP + 0x34],EAX
NOP
MOV EBX,dword ptr [ESP + 0x38]
TEST EBX,EBX
JLE 0x0003cb36
MOV EAX,dword ptr [ESP + 0x2c]
MOV EBX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [EAX + 0x2a8]
LEA ESI,[EDI + EBX*0x1]
MOV EAX,EDI
MOV EBX,ESI
MOV ESI,EDI
MOV EDI,EBX
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX]
LEA ECX,[ECX + ECX*0x2]
TEST byte ptr [ESI + ECX*0x4 + 0x4],0x2
JZ 0x0003cb28
MOV ECX,dword ptr [ESP + 0xc]
FLD qword ptr [EDX]
FILD qword ptr [ESP + 0x8]
TEST ECX,ECX
JNS 0x0003ca34
FADD dword ptr [EBP + 0xffec6714]
FSTP qword ptr [ESP + 0x58]
FLD qword ptr [ESP + 0x58]
FLDZ
FUCOMI ST0,ST2
JA 0x0003cbb0
FLD dword ptr [EBP + 0xffec6710]
FLD ST0
FXCH ST4
FUCOMI ST0,ST4
FSTP ST4
JNC 0x0003cbf8
FSTP ST0
FXCH ST2
FUCOMI ST0,ST0
JP 0x0003cbc0
FXCH ST2
FUCOMIP ST0,ST2
JNC 0x0003cbc6
FXCH
FMUL ST1
MOV ECX,0xffffffff
MOV EBX,0xffffffff
FDIV dword ptr [EBP + 0xffec6710]
FLD dword ptr [EBP + 0xffec6714]
FXCH
FUCOMI ST0,ST1
FSTP ST1
JNC 0x0003cad8
FADD dword ptr [EBP + 0xffec6124]
FLD dword ptr [EBP + 0xffec6134]
FXCH
FUCOMI ST0,ST1
JNC 0x0003cc08
FSTP ST1
FNSTCW word ptr [ESP + 0x56]
MOVZX ECX,word ptr [ESP + 0x56]
OR CH,0xc
MOV word ptr [ESP + 0x54],CX
FLDCW word ptr [ESP + 0x54]
FISTP qword ptr [ESP + 0x48]
FLDCW word ptr [ESP + 0x56]
MOV ECX,dword ptr [ESP + 0x48]
MOV EBX,dword ptr [ESP + 0x4c]
JMP 0x0003cada
FSTP ST0
CMP dword ptr [ESP + 0xc],EBX
JC 0x0003cba0
JBE 0x0003cb90
TEST EBX,EBX
MOV dword ptr [ESP + 0x20],ECX
MOV dword ptr [ESP + 0x24],EBX
FILD qword ptr [ESP + 0x20]
JNS 0x0003cb00
FADD dword ptr [EBP + 0xffec6714]
FSTP qword ptr [ESP + 0x58]
FLD qword ptr [ESP + 0x58]
FXCH
FUCOMI ST0,ST2
JC 0x0003cbe0
LEA ESI,[ESI]
FDIVR dword ptr [EBP + 0xffec6718]
FMULP
FMUL dword ptr [EBP + 0xffec6710]
FSTP qword ptr [EDX]
ADD EAX,0xc
ADD EDX,0x8
CMP EDI,EAX
JNZ 0x0003ca10
MOV EBX,dword ptr [ESP + 0x34]
ADD dword ptr [ESP + 0x14],0x1
ADD dword ptr [ESP + 0x18],EBX
MOV EAX,dword ptr [ESP + 0x14]
CMP EAX,dword ptr [ESP + 0x30]
JNZ 0x0003c9e0
FSTP ST0
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [ESP + 0x4c]
CALL 0x00031800
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003cc50
ADD dword ptr [ESP + 0x1c],0x1
MOV EAX,dword ptr [ESP + 0x1c]
CMP dword ptr [ESP + 0x50],EAX
JNZ 0x0003c960
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP dword ptr [ESP + 0x8],ECX
JNC 0x0003caea
FSTP ST0
JMP 0x0003cba2
FSTP ST0
FLD dword ptr [EBP + 0xffec6710]
JMP 0x0003cb26
FSTP ST0
FSTP ST1
JMP 0x0003cbd0
FSTP ST0
FSTP ST1
JMP 0x0003cbd0
FSTP ST1
NOP
LEA ESI,[ESI]
FLDZ
FXCH
FUCOMI ST0,ST2
JNC 0x0003cb18
FSTP ST0
JMP 0x0003cbe8
FSTP ST0
LEA ESI,[ESI]
FLD qword ptr [EBP + 0xffec6738]
JMP 0x0003cb1e
FSTP ST3
FSTP ST0
FXCH
JMP 0x0003ca72
FNSTCW word ptr [ESP + 0x56]
FSUBRP
MOVZX ECX,word ptr [ESP + 0x56]
OR CH,0xc
MOV word ptr [ESP + 0x54],CX
FLDCW word ptr [ESP + 0x54]
FISTP qword ptr [ESP + 0x48]
FLDCW word ptr [ESP + 0x56]
MOV EBX,dword ptr [ESP + 0x4c]
MOV ECX,dword ptr [ESP + 0x48]
ADD EBX,0x80000000
MOV dword ptr [ESP + 0x20],ECX
MOV ECX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x28],EBX
MOV EBX,dword ptr [ESP + 0x28]
JMP 0x0003cada
MOV EAX,dword ptr [ESP + 0x80]
MOV dword ptr [EAX + 0x14],0x0
JMP 0x0003cb70
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0003cb90) */\n\nvoid FUN_0003c8d0(ulonglong *param_1)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0003c8d0(ulonglong *param_1)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003c8d0(ulonglong *param_1)" identifier (parameter_list "(ulonglong *param_1)" ( (parameter_declaration "ulonglong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "ulonglong uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "float fVar11;" primitive_type identifier ;) (declaration "ulonglong uVar12;" type_identifier identifier ;) (declaration "ulonglong uVar13;" type_identifier identifier ;) (declaration "ulonglong uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "double *pdVar19;" primitive_type (pointer_declarator "*pdVar19" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int local_68;" primitive_type identifier ;) (declaration "double *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int iStack_30;" primitive_type identifier ;) (expression_statement "FUN_00042799();" (call_expression "FUN_00042799()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar6 = (int)param_1[1];" (assignment_expression "iVar6 = (int)param_1[1]" identifier = (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_60 = omp_get_num_threads();" (assignment_expression "local_60 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar15 = omp_get_thread_num();" (assignment_expression "iVar15 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar16 = *(int *)(iVar6 + 0x1c) / local_60;" (assignment_expression "iVar16 = *(int *)(iVar6 + 0x1c) / local_60" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) / local_60" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "local_60 = *(int *)(iVar6 + 0x1c) % local_60;" (assignment_expression "local_60 = *(int *)(iVar6 + 0x1c) % local_60" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) % local_60" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" if (parenthesized_expression "(iVar15 < local_60)" ( (binary_expression "iVar15 < local_60" identifier < identifier) )) (compound_statement "{\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) })) (expression_statement "local_60 = iVar15 * iVar16 + local_60;" (assignment_expression "local_60 = iVar15 * iVar16 + local_60" identifier = (binary_expression "iVar15 * iVar16 + local_60" (binary_expression "iVar15 * iVar16" identifier * identifier) + identifier)) ;) (expression_statement "iVar16 = iVar16 + local_60;" (assignment_expression "iVar16 = iVar16 + local_60" identifier = (binary_expression "iVar16 + local_60" identifier + identifier)) ;) (if_statement "if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" if (parenthesized_expression "(local_60 < iVar16)" ( (binary_expression "local_60 < iVar16" identifier < identifier) )) (compound_statement "{\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" { (expression_statement "iVar15 = *(int *)((int)param_1 + 4);" (assignment_expression "iVar15 = *(int *)((int)param_1 + 4)" identifier = (pointer_expression "*(int *)((int)param_1 + 4)" * (cast_expression "(int *)((int)param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar13 = *param_1;" (assignment_expression "uVar13 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar12 = *param_1;" (assignment_expression "uVar12 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar14 = param_1[2];" (assignment_expression "uVar14 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar7 = *(undefined4 *)((int)param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);" do (compound_statement "{\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    }" { (if_statement "if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }" if (parenthesized_expression "(*(int *)((int)param_1 + 0x14) != 0)" ( (binary_expression "*(int *)((int)param_1 + 0x14) != 0" (pointer_expression "*(int *)((int)param_1 + 0x14)" * (cast_expression "(int *)((int)param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }" { (expression_statement "local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);" (assignment_expression "local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" identifier = (cast_expression "(double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" identifier (argument_list "((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" ( (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (if_statement "if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }" if (parenthesized_expression "(local_64 != (double *)0x0)" ( (binary_expression "local_64 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }" { (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }" if (parenthesized_expression "(0 < iVar18)" ( (binary_expression "0 < iVar18" number_literal < identifier) )) (compound_statement "{\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }" { (expression_statement "iVar8 = *(int *)(iVar6 + 0x298);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x298)" identifier = (pointer_expression "*(int *)(iVar6 + 0x298)" * (cast_expression "(int *)(iVar6 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x298)" ( (binary_expression "iVar6 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "dVar1 = *(double *)(unaff_EBP + 0x262862);" (assignment_expression "dVar1 = *(double *)(unaff_EBP + 0x262862)" identifier = (pointer_expression "*(double *)(unaff_EBP + 0x262862)" * (cast_expression "(double *)(unaff_EBP + 0x262862)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262862)" ( (binary_expression "unaff_EBP + 0x262862" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);" do (compound_statement "{\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            }" { (if_statement "if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }" { (expression_statement "piVar9 = *(int **)(iVar6 + 0x2a8);" (assignment_expression "piVar9 = *(int **)(iVar6 + 0x2a8)" identifier = (pointer_expression "*(int **)(iVar6 + 0x2a8)" * (cast_expression "(int **)(iVar6 + 0x2a8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x2a8)" ( (binary_expression "iVar6 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "piVar17 = piVar9;" (assignment_expression "piVar17 = piVar9" identifier = identifier) ;) (expression_statement "pdVar19 = local_64;" (assignment_expression "pdVar19 = local_64" identifier = identifier) ;) (do_statement "do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);" do (compound_statement "{\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                }" { (if_statement "if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }" if (parenthesized_expression "((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0)" ( (binary_expression "(*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0" (parenthesized_expression "(*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2)" ( (binary_expression "*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2" (pointer_expression "*(byte *)(piVar9 + *piVar17 * 3 + 1)" * (cast_expression "(byte *)(piVar9 + *piVar17 * 3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9 + *piVar17 * 3 + 1)" ( (binary_expression "piVar9 + *piVar17 * 3 + 1" (binary_expression "piVar9 + *piVar17 * 3" identifier + (binary_expression "*piVar17 * 3" (pointer_expression "*piVar17" * identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }" { (expression_statement "dVar2 = *pdVar19;" (assignment_expression "dVar2 = *pdVar19" identifier = (pointer_expression "*pdVar19" * identifier)) ;) (expression_statement "fVar11 = (float)(longlong)uVar12;" (assignment_expression "fVar11 = (float)(longlong)uVar12" identifier = (cast_expression "(float)(longlong)uVar12" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)uVar12" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) (if_statement "if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }" if (parenthesized_expression "(iVar15 < 0)" ( (binary_expression "iVar15 < 0" identifier < number_literal) )) (compound_statement "{\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }" { (expression_statement "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);" (assignment_expression "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier = (binary_expression "fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" * (cast_expression "(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3e)" ( (binary_expression "unaff_EBP + 0x262e3e" identifier + number_literal) )))))) ;) })) (expression_statement "dVar3 = (double)fVar11;" (assignment_expression "dVar3 = (double)fVar11" identifier = (cast_expression "(double)fVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" if (parenthesized_expression "((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0))))" ( (binary_expression "(dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))" (parenthesized_expression "(dVar2 < 0.0)" ( (binary_expression "dVar2 < 0.0" identifier < number_literal) )) || (parenthesized_expression "((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))" ( (parenthesized_expression "(dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0))" ( (comma_expression "dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)" (assignment_expression "dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) )))))) , (binary_expression "dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)" (binary_expression "dVar2 < dVar10" identifier < identifier) && (parenthesized_expression "(dVar10 = dVar2, dVar2 <= 0.0)" ( (comma_expression "dVar10 = dVar2, dVar2 <= 0.0" (assignment_expression "dVar10 = dVar2" identifier = identifier) , (binary_expression "dVar2 <= 0.0" identifier <= number_literal)) )))) )) ))) )) (compound_statement "{\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" { (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" identifier = number_literal) ;) (if_statement "if (dVar1 <= dVar3) goto LAB_0003cb18;" if (parenthesized_expression "(dVar1 <= dVar3)" ( (binary_expression "dVar1 <= dVar3" identifier <= identifier) )) (goto_statement "goto LAB_0003cb18;" goto statement_identifier ;)) (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" identifier = number_literal) ;) (labeled_statement "LAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);" statement_identifier : (expression_statement "dVar3 = *(double *)(unaff_EBP + 0x262e62);" (assignment_expression "dVar3 = *(double *)(unaff_EBP + 0x262e62)" identifier = (pointer_expression "*(double *)(unaff_EBP + 0x262e62)" * (cast_expression "(double *)(unaff_EBP + 0x262e62)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e62)" ( (binary_expression "unaff_EBP + 0x262e62" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);" statement_identifier : (expression_statement "dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (binary_expression "dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a)" (binary_expression "dVar3 * dVar2" identifier * identifier) * (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) ))))))) ;)) }) (else_clause "else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" else (compound_statement "{\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" { (expression_statement "uVar4 = 0xffffffffffffffff;" (assignment_expression "uVar4 = 0xffffffffffffffff" identifier = number_literal) ;) (expression_statement "dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (binary_expression "(dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a)" (parenthesized_expression "(dVar10 * dVar3)" ( (binary_expression "dVar10 * dVar3" identifier * identifier) )) / (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) ))))))) ;) (if_statement "if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }" if (parenthesized_expression "(dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e))" ( (binary_expression "dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)" identifier < (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" * (cast_expression "(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3e)" ( (binary_expression "unaff_EBP + 0x262e3e" identifier + number_literal) )))))) )) (compound_statement "{\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }" { (expression_statement "dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);" (assignment_expression "dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e)" identifier = (binary_expression "dVar2 + (double)*(float *)(unaff_EBP + 0x26284e)" identifier + (cast_expression "(double)*(float *)(unaff_EBP + 0x26284e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x26284e)" * (cast_expression "(float *)(unaff_EBP + 0x26284e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x26284e)" ( (binary_expression "unaff_EBP + 0x26284e" identifier + number_literal) ))))))) ;) (if_statement "if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" if (parenthesized_expression "((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2)" ( (binary_expression "(double)*(float *)(unaff_EBP + 0x26285e) <= dVar2" (cast_expression "(double)*(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x26285e)" * (cast_expression "(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x26285e)" ( (binary_expression "unaff_EBP + 0x26285e" identifier + number_literal) ))))) <= identifier) )) (compound_statement "{\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }" { (expression_statement "lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));" (assignment_expression "lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" identifier = (cast_expression "(longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" identifier (argument_list "(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" ( (binary_expression "dVar2 - (double)*(float *)(unaff_EBP + 0x26285e)" identifier - (cast_expression "(double)*(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x26285e)" * (cast_expression "(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x26285e)" ( (binary_expression "unaff_EBP + 0x26285e" identifier + number_literal) )))))) ))))) ;) (expression_statement "iStack_30 = (int)((ulonglong)lVar5 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)lVar5 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_34 = (undefined4)lVar5;" (assignment_expression "local_34 = (undefined4)lVar5" identifier = (cast_expression "(undefined4)lVar5" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);" (assignment_expression "uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34)" identifier = (call_expression "CONCAT44(iStack_30 + -0x80000000,local_34)" identifier (argument_list "(iStack_30 + -0x80000000,local_34)" ( (binary_expression "iStack_30 + -0x80000000" identifier + number_literal) , identifier )))) ;) }) (else_clause "else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" else (compound_statement "{\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" { (expression_statement "uVar4 = (ulonglong)ROUND(dVar2);" (assignment_expression "uVar4 = (ulonglong)ROUND(dVar2)" identifier = (cast_expression "(ulonglong)ROUND(dVar2)" ( (type_descriptor "ulonglong" type_identifier) ) (call_expression "ROUND(dVar2)" identifier (argument_list "(dVar2)" ( identifier ))))) ;) }))) })) (if_statement "if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }" if (parenthesized_expression "(uVar4 <= uVar13)" ( (binary_expression "uVar4 <= uVar13" identifier <= identifier) )) (compound_statement "{\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }" { (expression_statement "fVar11 = (float)(longlong)uVar4;" (assignment_expression "fVar11 = (float)(longlong)uVar4" identifier = (cast_expression "(float)(longlong)uVar4" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)uVar4" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) (if_statement "if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }" if (parenthesized_expression "((longlong)uVar4 < 0)" ( (binary_expression "(longlong)uVar4 < 0" (cast_expression "(longlong)uVar4" ( (type_descriptor "longlong" type_identifier) ) identifier) < number_literal) )) (compound_statement "{\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }" { (expression_statement "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);" (assignment_expression "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier = (binary_expression "fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" * (cast_expression "(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3e)" ( (binary_expression "unaff_EBP + 0x262e3e" identifier + number_literal) )))))) ;) })) (expression_statement "dVar2 = (double)fVar11;" (assignment_expression "dVar2 = (double)fVar11" identifier = (cast_expression "(double)fVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (dVar3 < dVar1) goto LAB_0003cbe8;" if (parenthesized_expression "(dVar3 < dVar1)" ( (binary_expression "dVar3 < dVar1" identifier < identifier) )) (goto_statement "goto LAB_0003cbe8;" goto statement_identifier ;)) (labeled_statement "LAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;" statement_identifier : (expression_statement "dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;" (assignment_expression "dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3" identifier = (binary_expression "(double)*(float *)(unaff_EBP + 0x262e42) / dVar3" (cast_expression "(double)*(float *)(unaff_EBP + 0x262e42)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e42)" * (cast_expression "(float *)(unaff_EBP + 0x262e42)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e42)" ( (binary_expression "unaff_EBP + 0x262e42" identifier + number_literal) ))))) / identifier)) ;)) (goto_statement "goto LAB_0003cb1e;" goto statement_identifier ;) })) (expression_statement "dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) )))))) ;) }))) (expression_statement "*pdVar19 = dVar2;" (assignment_expression "*pdVar19 = dVar2" (pointer_expression "*pdVar19" * identifier) = identifier) ;) })) (expression_statement "piVar17 = piVar17 + 3;" (assignment_expression "piVar17 = piVar17 + 3" identifier = (binary_expression "piVar17 + 3" identifier + number_literal)) ;) (expression_statement "pdVar19 = pdVar19 + 1;" (assignment_expression "pdVar19 = pdVar19 + 1" identifier = (binary_expression "pdVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar9 + iVar8 * 3 != piVar17)" ( (binary_expression "piVar9 + iVar8 * 3 != piVar17" (binary_expression "piVar9 + iVar8 * 3" identifier + (binary_expression "iVar8 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "local_68 = local_68 + 1;" (assignment_expression "local_68 = local_68 + 1" identifier = (binary_expression "local_68 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = local_64 + iVar8;" (assignment_expression "local_64 = local_64 + iVar8" identifier = (binary_expression "local_64 + iVar8" identifier + identifier)) ;) }) while (parenthesized_expression "(local_68 != iVar18)" ( (binary_expression "local_68 != iVar18" identifier != identifier) )) ;) })) (expression_statement "iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);" (assignment_expression "iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7)" identifier = (call_expression "SyncCacheViewAuthenticPixels((int)uVar14,uVar7)" identifier (argument_list "((int)uVar14,uVar7)" ( (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (if_statement "if (iVar18 != 0) goto LAB_0003cb70;" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003cb70;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)((int)param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x14)" * (cast_expression "(undefined4 *)((int)param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_0003cb70:\n      local_60 = local_60 + 1;" statement_identifier : (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar16 != local_60)" ( (binary_expression "iVar16 != local_60" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n/* WARNING: Removing unreachable block (ram,0x0003cb90) */\n/* 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/* DWARF original prototype: void SetImageDepth._omp_fn.4(anon_struct_24_5_83ffb101 * param_0) */\n\nvoid __thiscall SetImageDepth__omp_fn_4(anon_struct_24_5_83ffb101 *this)\n\n{\n  double dVar1;\n  double dVar2;\n  ulonglong uVar3;\n  longlong lVar4;\n  Image *pIVar5;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  size_t sVar6;\n  size_t sVar7;\n  PixelChannelMap *pPVar8;\n  double dVar9;\n  double dVar10;\n  float fVar11;\n  QuantumAny QVar12;\n  ulonglong uVar13;\n  double dVar14;\n  int iVar15;\n  int iVar16;\n  PixelChannelMap *pPVar17;\n  MagickBooleanType MVar18;\n  double *pdVar19;\n  size_t local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  pIVar5 = this->image;\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = (int)pIVar5->rows / local_60;\n  local_60 = (int)pIVar5->rows % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)&this->range + 4);\n    uVar13 = this->range;\n    QVar12 = this->range;\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "void __thiscall SetImageDepth__omp_fn_4(anon_struct_24_5_83ffb101 *this)\n\n{\n  double dVar1;\n  double dVar2;\n  ulonglong uVar3;\n  longlong lVar4;\n  Image *pIVar5;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  size_t sVar6;\n  size_t sVar7;\n  PixelChannelMap *pPVar8;\n  double dVar9;\n  double dVar10;\n  float fVar11;\n  QuantumAny QVar12;\n  ulonglong uVar13;\n  double dVar14;\n  int iVar15;\n  int iVar16;\n  PixelChannelMap *pPVar17;\n  MagickBooleanType MVar18;\n  double *pdVar19;\n  size_t local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  pIVar5 = this->image;\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = (int)pIVar5->rows / local_60;\n  local_60 = (int)pIVar5->rows % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)&this->range + 4);\n    uVar13 = this->range;\n    QVar12 = this->range;\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "SetImageDepth__omp_fn_4(anon_struct_24_5_83ffb101 *this)" identifier (parameter_list "(anon_struct_24_5_83ffb101 *this)" ( (parameter_declaration "anon_struct_24_5_83ffb101 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  ulonglong uVar3;\n  longlong lVar4;\n  Image *pIVar5;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  size_t sVar6;\n  size_t sVar7;\n  PixelChannelMap *pPVar8;\n  double dVar9;\n  double dVar10;\n  float fVar11;\n  QuantumAny QVar12;\n  ulonglong uVar13;\n  double dVar14;\n  int iVar15;\n  int iVar16;\n  PixelChannelMap *pPVar17;\n  MagickBooleanType MVar18;\n  double *pdVar19;\n  size_t local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  pIVar5 = this->image;\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = (int)pIVar5->rows / local_60;\n  local_60 = (int)pIVar5->rows % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)&this->range + 4);\n    uVar13 = this->range;\n    QVar12 = this->range;\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "ulonglong uVar3;" type_identifier identifier ;) (declaration "longlong lVar4;" type_identifier identifier ;) (declaration "Image *pIVar5;" type_identifier (pointer_declarator "*pIVar5" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar8;" type_identifier (pointer_declarator "*pPVar8" * identifier) ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "float fVar11;" primitive_type identifier ;) (declaration "QuantumAny QVar12;" type_identifier identifier ;) (declaration "ulonglong uVar13;" type_identifier identifier ;) (declaration "double dVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar17;" type_identifier (pointer_declarator "*pPVar17" * identifier) ;) (declaration "MagickBooleanType MVar18;" type_identifier identifier ;) (declaration "double *pdVar19;" primitive_type (pointer_declarator "*pdVar19" * identifier) ;) (declaration "size_t local_68;" primitive_type identifier ;) (declaration "double *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int iStack_30;" primitive_type identifier ;) (expression_statement "pIVar5 = this->image;" (assignment_expression "pIVar5 = this->image" identifier = (field_expression "this->image" identifier -> field_identifier)) ;) (expression_statement "local_60 = omp_get_num_threads();" (assignment_expression "local_60 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar15 = omp_get_thread_num();" (assignment_expression "iVar15 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar16 = (int)pIVar5->rows / local_60;" (assignment_expression "iVar16 = (int)pIVar5->rows / local_60" identifier = (binary_expression "(int)pIVar5->rows / local_60" (cast_expression "(int)pIVar5->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "local_60 = (int)pIVar5->rows % local_60;" (assignment_expression "local_60 = (int)pIVar5->rows % local_60" identifier = (binary_expression "(int)pIVar5->rows % local_60" (cast_expression "(int)pIVar5->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" if (parenthesized_expression "(iVar15 < local_60)" ( (binary_expression "iVar15 < local_60" identifier < identifier) )) (compound_statement "{\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) })) (expression_statement "local_60 = iVar15 * iVar16 + local_60;" (assignment_expression "local_60 = iVar15 * iVar16 + local_60" identifier = (binary_expression "iVar15 * iVar16 + local_60" (binary_expression "iVar15 * iVar16" identifier * identifier) + identifier)) ;) (expression_statement "iVar16 = iVar16 + local_60;" (assignment_expression "iVar16 = iVar16 + local_60" identifier = (binary_expression "iVar16 + local_60" identifier + identifier)) ;) (if_statement "if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)&this->range + 4);\n    uVar13 = this->range;\n    QVar12 = this->range;\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" if (parenthesized_expression "(local_60 < iVar16)" ( (binary_expression "local_60 < iVar16" identifier < identifier) )) (compound_statement "{\n    iVar15 = *(int *)((int)&this->range + 4);\n    uVar13 = this->range;\n    QVar12 = this->range;\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" { (expression_statement "iVar15 = *(int *)((int)&this->range + 4);" (assignment_expression "iVar15 = *(int *)((int)&this->range + 4)" identifier = (pointer_expression "*(int *)((int)&this->range + 4)" * (cast_expression "(int *)((int)&this->range + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->range + 4)" ( (binary_expression "(int)&this->range + 4" (cast_expression "(int)&this->range" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->range" & (field_expression "this->range" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar13 = this->range;" (assignment_expression "uVar13 = this->range" identifier = (field_expression "this->range" identifier -> field_identifier)) ;) (expression_statement "QVar12 = this->range;" (assignment_expression "QVar12 = this->range" identifier = (field_expression "this->range" identifier -> field_identifier)) ;) (expression_statement "cache_view = this->image_view;" (assignment_expression "cache_view = this->image_view" identifier = (field_expression "this->image_view" identifier -> field_identifier)) ;) (expression_statement "exception = this->exception;" (assignment_expression "exception = this->exception" identifier = (field_expression "this->exception" identifier -> field_identifier)) ;) (do_statement "do {\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);\n        dVar14 = DAT_0029f138;\n        if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }\n        this->status = MagickFalse;\n      }" { (expression_statement "local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception);" (assignment_expression "local_64 = GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception)" identifier = (call_expression "GetCacheViewAuthenticPixels(cache_view,0,local_60,pIVar5->columns,1,exception)" identifier (argument_list "(cache_view,0,local_60,pIVar5->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar5->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (expression_statement "dVar14 = DAT_0029f138;" (assignment_expression "dVar14 = DAT_0029f138" identifier = identifier) ;) (if_statement "if (local_64 != (Quantum *)0x0) {\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }" if (parenthesized_expression "(local_64 != (Quantum *)0x0)" ( (binary_expression "local_64 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sVar6 = pIVar5->columns;\n          if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_0003cb70;\n        }" { (expression_statement "sVar6 = pIVar5->columns;" (assignment_expression "sVar6 = pIVar5->columns" identifier = (field_expression "pIVar5->columns" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar6) {\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }" if (parenthesized_expression "(0 < (int)sVar6)" ( (binary_expression "0 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            sVar7 = pIVar5->number_channels;\n            local_68 = 0;\n            do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);\n          }" { (expression_statement "sVar7 = pIVar5->number_channels;" (assignment_expression "sVar7 = pIVar5->number_channels" identifier = (field_expression "pIVar5->number_channels" identifier -> field_identifier)) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            } while (local_68 != sVar6);" do (compound_statement "{\n              if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + sVar7;\n            }" { (if_statement "if (0 < (int)sVar7) {\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }" if (parenthesized_expression "(0 < (int)sVar7)" ( (binary_expression "0 < (int)sVar7" number_literal < (cast_expression "(int)sVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                pPVar8 = pIVar5->channel_map;\n                pPVar17 = pPVar8;\n                pdVar19 = local_64;\n                do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);\n              }" { (expression_statement "pPVar8 = pIVar5->channel_map;" (assignment_expression "pPVar8 = pIVar5->channel_map" identifier = (field_expression "pIVar5->channel_map" identifier -> field_identifier)) ;) (expression_statement "pPVar17 = pPVar8;" (assignment_expression "pPVar17 = pPVar8" identifier = identifier) ;) (expression_statement "pdVar19 = local_64;" (assignment_expression "pdVar19 = local_64" identifier = identifier) ;) (do_statement "do {\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                } while (pPVar8 + sVar7 != pPVar17);" do (compound_statement "{\n                  if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }\n                  pPVar17 = pPVar17 + 1;\n                  pdVar19 = pdVar19 + 1;\n                }" { (if_statement "if ((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }" if (parenthesized_expression "((pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait)" ( (binary_expression "(pPVar8[pPVar17->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait" (parenthesized_expression "(pPVar8[pPVar17->channel].traits & UpdatePixelTrait)" ( (binary_expression "pPVar8[pPVar17->channel].traits & UpdatePixelTrait" (field_expression "pPVar8[pPVar17->channel].traits" (subscript_expression "pPVar8[pPVar17->channel]" identifier [ (field_expression "pPVar17->channel" identifier -> field_identifier) ]) . field_identifier) & identifier) )) != identifier) )) (compound_statement "{\n                    dVar1 = *pdVar19;\n                    fVar11 = (float)(longlong)QVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }\n                    dVar2 = (double)fVar11;\n                    dVar9 = DAT_0029f738;\n                    if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }\n                    *pdVar19 = dVar1;\n                  }" { (expression_statement "dVar1 = *pdVar19;" (assignment_expression "dVar1 = *pdVar19" identifier = (pointer_expression "*pdVar19" * identifier)) ;) (expression_statement "fVar11 = (float)(longlong)QVar12;" (assignment_expression "fVar11 = (float)(longlong)QVar12" identifier = (cast_expression "(float)(longlong)QVar12" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)QVar12" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) (if_statement "if (iVar15 < 0) {\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }" if (parenthesized_expression "(iVar15 < 0)" ( (binary_expression "iVar15 < 0" identifier < number_literal) )) (compound_statement "{\n                      fVar11 = fVar11 + DAT_0029f714;\n                    }" { (expression_statement "fVar11 = fVar11 + DAT_0029f714;" (assignment_expression "fVar11 = fVar11 + DAT_0029f714" identifier = (binary_expression "fVar11 + DAT_0029f714" identifier + identifier)) ;) })) (expression_statement "dVar2 = (double)fVar11;" (assignment_expression "dVar2 = (double)fVar11" identifier = (cast_expression "(double)fVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "dVar9 = DAT_0029f738;" (assignment_expression "dVar9 = DAT_0029f738" identifier = identifier) ;) (if_statement "if ((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))) {\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }\n                    else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }" if (parenthesized_expression "((dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0))))" ( (binary_expression "(dVar1 < 0.0) ||\n                       ((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))" (parenthesized_expression "(dVar1 < 0.0)" ( (binary_expression "dVar1 < 0.0" identifier < number_literal) )) || (parenthesized_expression "((dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)))" ( (parenthesized_expression "(dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0))" ( (comma_expression "dVar10 = (double)DAT_0029f710, dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)" (assignment_expression "dVar10 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) , (binary_expression "dVar1 < dVar10 &&\n                        (dVar10 = dVar1, dVar1 <= 0.0)" (binary_expression "dVar1 < dVar10" identifier < identifier) && (parenthesized_expression "(dVar10 = dVar1, dVar1 <= 0.0)" ( (comma_expression "dVar10 = dVar1, dVar1 <= 0.0" (assignment_expression "dVar10 = dVar1" identifier = identifier) , (binary_expression "dVar1 <= 0.0" identifier <= number_literal)) )))) )) ))) )) (compound_statement "{\n                      dVar1 = 0.0;\n                      if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }\nLAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;\n                    }" { (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;) (if_statement "if (dVar14 <= dVar2) {\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }\n                      else {\n                        dVar1 = 0.0;\n                      }" if (parenthesized_expression "(dVar14 <= dVar2)" ( (binary_expression "dVar14 <= dVar2" identifier <= identifier) )) (compound_statement "{\nLAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;\n                      }" { (labeled_statement "LAB_0003cb18:\n                        dVar9 = (double)DAT_0029f718 / dVar2;" statement_identifier : (expression_statement "dVar9 = (double)DAT_0029f718 / dVar2;" (assignment_expression "dVar9 = (double)DAT_0029f718 / dVar2" identifier = (binary_expression "(double)DAT_0029f718 / dVar2" (cast_expression "(double)DAT_0029f718" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;)) }) (else_clause "else {\n                        dVar1 = 0.0;\n                      }" else (compound_statement "{\n                        dVar1 = 0.0;\n                      }" { (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0003cb1e:\n                      dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;" statement_identifier : (expression_statement "dVar1 = dVar9 * dVar1 * (double)DAT_0029f710;" (assignment_expression "dVar1 = dVar9 * dVar1 * (double)DAT_0029f710" identifier = (binary_expression "dVar9 * dVar1 * (double)DAT_0029f710" (binary_expression "dVar9 * dVar1" identifier * identifier) * (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier))) ;)) }) (else_clause "else {\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }" else (compound_statement "{\n                      uVar3 = 0xffffffffffffffff;\n                      dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;\n                      if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }\n                      if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar1 = (double)DAT_0029f710;\n                    }" { (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" identifier = number_literal) ;) (expression_statement "dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710;" (assignment_expression "dVar1 = (dVar10 * dVar2) / (double)DAT_0029f710" identifier = (binary_expression "(dVar10 * dVar2) / (double)DAT_0029f710" (parenthesized_expression "(dVar10 * dVar2)" ( (binary_expression "dVar10 * dVar2" identifier * identifier) )) / (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (if_statement "if (dVar1 < (double)DAT_0029f714) {\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }" if (parenthesized_expression "(dVar1 < (double)DAT_0029f714)" ( (binary_expression "dVar1 < (double)DAT_0029f714" identifier < (cast_expression "(double)DAT_0029f714" ( (type_descriptor "double" primitive_type) ) identifier)) )) (compound_statement "{\n                        dVar1 = dVar1 + (double)DAT_0029f124;\n                        if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }\n                      }" { (expression_statement "dVar1 = dVar1 + (double)DAT_0029f124;" (assignment_expression "dVar1 = dVar1 + (double)DAT_0029f124" identifier = (binary_expression "dVar1 + (double)DAT_0029f124" identifier + (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (if_statement "if ((double)DAT_0029f134 <= dVar1) {\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }" if (parenthesized_expression "((double)DAT_0029f134 <= dVar1)" ( (binary_expression "(double)DAT_0029f134 <= dVar1" (cast_expression "(double)DAT_0029f134" ( (type_descriptor "double" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n                          lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);\n                          iStack_30 = (int)((ulonglong)lVar4 >> 0x20);\n                          local_34 = (undefined4)lVar4;\n                          uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }" { (expression_statement "lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134);" (assignment_expression "lVar4 = (longlong)ROUND(dVar1 - (double)DAT_0029f134)" identifier = (cast_expression "(longlong)ROUND(dVar1 - (double)DAT_0029f134)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar1 - (double)DAT_0029f134)" identifier (argument_list "(dVar1 - (double)DAT_0029f134)" ( (binary_expression "dVar1 - (double)DAT_0029f134" identifier - (cast_expression "(double)DAT_0029f134" ( (type_descriptor "double" primitive_type) ) identifier)) ))))) ;) (expression_statement "iStack_30 = (int)((ulonglong)lVar4 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)lVar4 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_34 = (undefined4)lVar4;" (assignment_expression "local_34 = (undefined4)lVar4" identifier = (cast_expression "(undefined4)lVar4" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34);" (assignment_expression "uVar3 = CONCAT44(iStack_30 + -0x80000000,local_34)" identifier = (call_expression "CONCAT44(iStack_30 + -0x80000000,local_34)" identifier (argument_list "(iStack_30 + -0x80000000,local_34)" ( (binary_expression "iStack_30 + -0x80000000" identifier + number_literal) , identifier )))) ;) }) (else_clause "else {\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }" else (compound_statement "{\n                          uVar3 = (ulonglong)ROUND(dVar1);\n                        }" { (expression_statement "uVar3 = (ulonglong)ROUND(dVar1);" (assignment_expression "uVar3 = (ulonglong)ROUND(dVar1)" identifier = (cast_expression "(ulonglong)ROUND(dVar1)" ( (type_descriptor "ulonglong" type_identifier) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier ))))) ;) }))) })) (if_statement "if (uVar3 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }" if (parenthesized_expression "(uVar3 <= uVar13)" ( (binary_expression "uVar3 <= uVar13" identifier <= identifier) )) (compound_statement "{\n                        fVar11 = (float)(longlong)uVar3;\n                        if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }\n                        dVar1 = (double)fVar11;\n                        if (dVar14 <= dVar2) goto LAB_0003cb18;\n                        goto LAB_0003cb1e;\n                      }" { (expression_statement "fVar11 = (float)(longlong)uVar3;" (assignment_expression "fVar11 = (float)(longlong)uVar3" identifier = (cast_expression "(float)(longlong)uVar3" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)uVar3" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) (if_statement "if ((longlong)uVar3 < 0) {\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }" if (parenthesized_expression "((longlong)uVar3 < 0)" ( (binary_expression "(longlong)uVar3 < 0" (cast_expression "(longlong)uVar3" ( (type_descriptor "longlong" type_identifier) ) identifier) < number_literal) )) (compound_statement "{\n                          fVar11 = fVar11 + DAT_0029f714;\n                        }" { (expression_statement "fVar11 = fVar11 + DAT_0029f714;" (assignment_expression "fVar11 = fVar11 + DAT_0029f714" identifier = (binary_expression "fVar11 + DAT_0029f714" identifier + identifier)) ;) })) (expression_statement "dVar1 = (double)fVar11;" (assignment_expression "dVar1 = (double)fVar11" identifier = (cast_expression "(double)fVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (dVar14 <= dVar2) goto LAB_0003cb18;" if (parenthesized_expression "(dVar14 <= dVar2)" ( (binary_expression "dVar14 <= dVar2" identifier <= identifier) )) (goto_statement "goto LAB_0003cb18;" goto statement_identifier ;)) (goto_statement "goto LAB_0003cb1e;" goto statement_identifier ;) })) (expression_statement "dVar1 = (double)DAT_0029f710;" (assignment_expression "dVar1 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }))) (expression_statement "*pdVar19 = dVar1;" (assignment_expression "*pdVar19 = dVar1" (pointer_expression "*pdVar19" * identifier) = identifier) ;) })) (expression_statement "pPVar17 = pPVar17 + 1;" (assignment_expression "pPVar17 = pPVar17 + 1" identifier = (binary_expression "pPVar17 + 1" identifier + number_literal)) ;) (expression_statement "pdVar19 = pdVar19 + 1;" (assignment_expression "pdVar19 = pdVar19 + 1" identifier = (binary_expression "pdVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pPVar8 + sVar7 != pPVar17)" ( (binary_expression "pPVar8 + sVar7 != pPVar17" (binary_expression "pPVar8 + sVar7" identifier + identifier) != identifier) )) ;) })) (expression_statement "local_68 = local_68 + 1;" (assignment_expression "local_68 = local_68 + 1" identifier = (binary_expression "local_68 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = local_64 + sVar7;" (assignment_expression "local_64 = local_64 + sVar7" identifier = (binary_expression "local_64 + sVar7" identifier + identifier)) ;) }) while (parenthesized_expression "(local_68 != sVar6)" ( (binary_expression "local_68 != sVar6" identifier != identifier) )) ;) })) (expression_statement "MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar18 != MagickFalse) goto LAB_0003cb70;" if (parenthesized_expression "(MVar18 != MagickFalse)" ( (binary_expression "MVar18 != MagickFalse" identifier != identifier) )) (goto_statement "goto LAB_0003cb70;" goto statement_identifier ;)) })) (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_0003cb70:\n      local_60 = local_60 + 1;" statement_identifier : (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar16 != local_60)" ( (binary_expression "iVar16 != local_60" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003c8d0(ulonglong *param_1)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003c8d0(ulonglong *param_1)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003c8d0(ulonglong *param_1)" identifier (parameter_list "(ulonglong *param_1)" ( (parameter_declaration "ulonglong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "ulonglong uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "float fVar11;" primitive_type identifier ;) (declaration "ulonglong uVar12;" type_identifier identifier ;) (declaration "ulonglong uVar13;" type_identifier identifier ;) (declaration "ulonglong uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "double *pdVar19;" primitive_type (pointer_declarator "*pdVar19" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int local_68;" primitive_type identifier ;) (declaration "double *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int iStack_30;" primitive_type identifier ;) (expression_statement "FUN_00042799();" (call_expression "FUN_00042799()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar6 = (int)param_1[1];" (assignment_expression "iVar6 = (int)param_1[1]" identifier = (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_60 = omp_get_num_threads();" (assignment_expression "local_60 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar15 = omp_get_thread_num();" (assignment_expression "iVar15 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar16 = *(int *)(iVar6 + 0x1c) / local_60;" (assignment_expression "iVar16 = *(int *)(iVar6 + 0x1c) / local_60" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) / local_60" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "local_60 = *(int *)(iVar6 + 0x1c) % local_60;" (assignment_expression "local_60 = *(int *)(iVar6 + 0x1c) % local_60" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) % local_60" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" if (parenthesized_expression "(iVar15 < local_60)" ( (binary_expression "iVar15 < local_60" identifier < identifier) )) (compound_statement "{\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) })) (expression_statement "local_60 = iVar15 * iVar16 + local_60;" (assignment_expression "local_60 = iVar15 * iVar16 + local_60" identifier = (binary_expression "iVar15 * iVar16 + local_60" (binary_expression "iVar15 * iVar16" identifier * identifier) + identifier)) ;) (expression_statement "iVar16 = iVar16 + local_60;" (assignment_expression "iVar16 = iVar16 + local_60" identifier = (binary_expression "iVar16 + local_60" identifier + identifier)) ;) (if_statement "if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" if (parenthesized_expression "(local_60 < iVar16)" ( (binary_expression "local_60 < iVar16" identifier < identifier) )) (compound_statement "{\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" { (expression_statement "iVar15 = *(int *)((int)param_1 + 4);" (assignment_expression "iVar15 = *(int *)((int)param_1 + 4)" identifier = (pointer_expression "*(int *)((int)param_1 + 4)" * (cast_expression "(int *)((int)param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar13 = *param_1;" (assignment_expression "uVar13 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar12 = *param_1;" (assignment_expression "uVar12 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar14 = param_1[2];" (assignment_expression "uVar14 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar7 = *(undefined4 *)((int)param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);" do (compound_statement "{\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    }" { (if_statement "if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }" if (parenthesized_expression "(*(int *)((int)param_1 + 0x14) != 0)" ( (binary_expression "*(int *)((int)param_1 + 0x14) != 0" (pointer_expression "*(int *)((int)param_1 + 0x14)" * (cast_expression "(int *)((int)param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }" { (expression_statement "local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);" (assignment_expression "local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" identifier = (cast_expression "(double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" identifier (argument_list "((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" ( (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (if_statement "if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }" if (parenthesized_expression "(local_64 != (double *)0x0)" ( (binary_expression "local_64 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }" { (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }" if (parenthesized_expression "(0 < iVar18)" ( (binary_expression "0 < iVar18" number_literal < identifier) )) (compound_statement "{\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }" { (expression_statement "iVar8 = *(int *)(iVar6 + 0x298);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x298)" identifier = (pointer_expression "*(int *)(iVar6 + 0x298)" * (cast_expression "(int *)(iVar6 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x298)" ( (binary_expression "iVar6 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "dVar1 = *(double *)(unaff_EBP + 0x262862);" (assignment_expression "dVar1 = *(double *)(unaff_EBP + 0x262862)" identifier = (pointer_expression "*(double *)(unaff_EBP + 0x262862)" * (cast_expression "(double *)(unaff_EBP + 0x262862)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262862)" ( (binary_expression "unaff_EBP + 0x262862" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);" do (compound_statement "{\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            }" { (if_statement "if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }" { (expression_statement "piVar9 = *(int **)(iVar6 + 0x2a8);" (assignment_expression "piVar9 = *(int **)(iVar6 + 0x2a8)" identifier = (pointer_expression "*(int **)(iVar6 + 0x2a8)" * (cast_expression "(int **)(iVar6 + 0x2a8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x2a8)" ( (binary_expression "iVar6 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "piVar17 = piVar9;" (assignment_expression "piVar17 = piVar9" identifier = identifier) ;) (expression_statement "pdVar19 = local_64;" (assignment_expression "pdVar19 = local_64" identifier = identifier) ;) (do_statement "do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);" do (compound_statement "{\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                }" { (if_statement "if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }" if (parenthesized_expression "((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0)" ( (binary_expression "(*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0" (parenthesized_expression "(*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2)" ( (binary_expression "*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2" (pointer_expression "*(byte *)(piVar9 + *piVar17 * 3 + 1)" * (cast_expression "(byte *)(piVar9 + *piVar17 * 3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9 + *piVar17 * 3 + 1)" ( (binary_expression "piVar9 + *piVar17 * 3 + 1" (binary_expression "piVar9 + *piVar17 * 3" identifier + (binary_expression "*piVar17 * 3" (pointer_expression "*piVar17" * identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }" { (expression_statement "dVar2 = *pdVar19;" (assignment_expression "dVar2 = *pdVar19" identifier = (pointer_expression "*pdVar19" * identifier)) ;) (expression_statement "fVar11 = (float)(longlong)uVar12;" (assignment_expression "fVar11 = (float)(longlong)uVar12" identifier = (cast_expression "(float)(longlong)uVar12" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)uVar12" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) (if_statement "if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }" if (parenthesized_expression "(iVar15 < 0)" ( (binary_expression "iVar15 < 0" identifier < number_literal) )) (compound_statement "{\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }" { (expression_statement "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);" (assignment_expression "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier = (binary_expression "fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" * (cast_expression "(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3e)" ( (binary_expression "unaff_EBP + 0x262e3e" identifier + number_literal) )))))) ;) })) (expression_statement "dVar3 = (double)fVar11;" (assignment_expression "dVar3 = (double)fVar11" identifier = (cast_expression "(double)fVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" if (parenthesized_expression "((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0))))" ( (binary_expression "(dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))" (parenthesized_expression "(dVar2 < 0.0)" ( (binary_expression "dVar2 < 0.0" identifier < number_literal) )) || (parenthesized_expression "((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))" ( (parenthesized_expression "(dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0))" ( (comma_expression "dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)" (assignment_expression "dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) )))))) , (binary_expression "dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)" (binary_expression "dVar2 < dVar10" identifier < identifier) && (parenthesized_expression "(dVar10 = dVar2, dVar2 <= 0.0)" ( (comma_expression "dVar10 = dVar2, dVar2 <= 0.0" (assignment_expression "dVar10 = dVar2" identifier = identifier) , (binary_expression "dVar2 <= 0.0" identifier <= number_literal)) )))) )) ))) )) (compound_statement "{\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" { (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" identifier = number_literal) ;) (if_statement "if (dVar1 <= dVar3) goto LAB_0003cb18;" if (parenthesized_expression "(dVar1 <= dVar3)" ( (binary_expression "dVar1 <= dVar3" identifier <= identifier) )) (goto_statement "goto LAB_0003cb18;" goto statement_identifier ;)) (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" identifier = number_literal) ;) (labeled_statement "LAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);" statement_identifier : (expression_statement "dVar3 = *(double *)(unaff_EBP + 0x262e62);" (assignment_expression "dVar3 = *(double *)(unaff_EBP + 0x262e62)" identifier = (pointer_expression "*(double *)(unaff_EBP + 0x262e62)" * (cast_expression "(double *)(unaff_EBP + 0x262e62)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e62)" ( (binary_expression "unaff_EBP + 0x262e62" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);" statement_identifier : (expression_statement "dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (binary_expression "dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a)" (binary_expression "dVar3 * dVar2" identifier * identifier) * (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) ))))))) ;)) }) (else_clause "else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" else (compound_statement "{\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" { (expression_statement "uVar4 = 0xffffffffffffffff;" (assignment_expression "uVar4 = 0xffffffffffffffff" identifier = number_literal) ;) (expression_statement "dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (binary_expression "(dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a)" (parenthesized_expression "(dVar10 * dVar3)" ( (binary_expression "dVar10 * dVar3" identifier * identifier) )) / (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) ))))))) ;) (if_statement "if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }" if (parenthesized_expression "(dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e))" ( (binary_expression "dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)" identifier < (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" * (cast_expression "(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3e)" ( (binary_expression "unaff_EBP + 0x262e3e" identifier + number_literal) )))))) )) (compound_statement "{\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }" { (expression_statement "dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);" (assignment_expression "dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e)" identifier = (binary_expression "dVar2 + (double)*(float *)(unaff_EBP + 0x26284e)" identifier + (cast_expression "(double)*(float *)(unaff_EBP + 0x26284e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x26284e)" * (cast_expression "(float *)(unaff_EBP + 0x26284e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x26284e)" ( (binary_expression "unaff_EBP + 0x26284e" identifier + number_literal) ))))))) ;) (if_statement "if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" if (parenthesized_expression "((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2)" ( (binary_expression "(double)*(float *)(unaff_EBP + 0x26285e) <= dVar2" (cast_expression "(double)*(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x26285e)" * (cast_expression "(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x26285e)" ( (binary_expression "unaff_EBP + 0x26285e" identifier + number_literal) ))))) <= identifier) )) (compound_statement "{\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }" { (expression_statement "lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));" (assignment_expression "lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" identifier = (cast_expression "(longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" identifier (argument_list "(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" ( (binary_expression "dVar2 - (double)*(float *)(unaff_EBP + 0x26285e)" identifier - (cast_expression "(double)*(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x26285e)" * (cast_expression "(float *)(unaff_EBP + 0x26285e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x26285e)" ( (binary_expression "unaff_EBP + 0x26285e" identifier + number_literal) )))))) ))))) ;) (expression_statement "iStack_30 = (int)((ulonglong)lVar5 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)lVar5 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_34 = (undefined4)lVar5;" (assignment_expression "local_34 = (undefined4)lVar5" identifier = (cast_expression "(undefined4)lVar5" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);" (assignment_expression "uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34)" identifier = (call_expression "CONCAT44(iStack_30 + -0x80000000,local_34)" identifier (argument_list "(iStack_30 + -0x80000000,local_34)" ( (binary_expression "iStack_30 + -0x80000000" identifier + number_literal) , identifier )))) ;) }) (else_clause "else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" else (compound_statement "{\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" { (expression_statement "uVar4 = (ulonglong)ROUND(dVar2);" (assignment_expression "uVar4 = (ulonglong)ROUND(dVar2)" identifier = (cast_expression "(ulonglong)ROUND(dVar2)" ( (type_descriptor "ulonglong" type_identifier) ) (call_expression "ROUND(dVar2)" identifier (argument_list "(dVar2)" ( identifier ))))) ;) }))) })) (if_statement "if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }" if (parenthesized_expression "(uVar4 <= uVar13)" ( (binary_expression "uVar4 <= uVar13" identifier <= identifier) )) (compound_statement "{\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }" { (expression_statement "fVar11 = (float)(longlong)uVar4;" (assignment_expression "fVar11 = (float)(longlong)uVar4" identifier = (cast_expression "(float)(longlong)uVar4" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)uVar4" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) (if_statement "if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }" if (parenthesized_expression "((longlong)uVar4 < 0)" ( (binary_expression "(longlong)uVar4 < 0" (cast_expression "(longlong)uVar4" ( (type_descriptor "longlong" type_identifier) ) identifier) < number_literal) )) (compound_statement "{\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }" { (expression_statement "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);" (assignment_expression "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier = (binary_expression "fVar11 + *(float *)(unaff_EBP + 0x262e3e)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" * (cast_expression "(float *)(unaff_EBP + 0x262e3e)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3e)" ( (binary_expression "unaff_EBP + 0x262e3e" identifier + number_literal) )))))) ;) })) (expression_statement "dVar2 = (double)fVar11;" (assignment_expression "dVar2 = (double)fVar11" identifier = (cast_expression "(double)fVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (dVar3 < dVar1) goto LAB_0003cbe8;" if (parenthesized_expression "(dVar3 < dVar1)" ( (binary_expression "dVar3 < dVar1" identifier < identifier) )) (goto_statement "goto LAB_0003cbe8;" goto statement_identifier ;)) (labeled_statement "LAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;" statement_identifier : (expression_statement "dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;" (assignment_expression "dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3" identifier = (binary_expression "(double)*(float *)(unaff_EBP + 0x262e42) / dVar3" (cast_expression "(double)*(float *)(unaff_EBP + 0x262e42)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e42)" * (cast_expression "(float *)(unaff_EBP + 0x262e42)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e42)" ( (binary_expression "unaff_EBP + 0x262e42" identifier + number_literal) ))))) / identifier)) ;)) (goto_statement "goto LAB_0003cb1e;" goto statement_identifier ;) })) (expression_statement "dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a)" identifier = (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" * (cast_expression "(float *)(unaff_EBP + 0x262e3a)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x262e3a)" ( (binary_expression "unaff_EBP + 0x262e3a" identifier + number_literal) )))))) ;) }))) (expression_statement "*pdVar19 = dVar2;" (assignment_expression "*pdVar19 = dVar2" (pointer_expression "*pdVar19" * identifier) = identifier) ;) })) (expression_statement "piVar17 = piVar17 + 3;" (assignment_expression "piVar17 = piVar17 + 3" identifier = (binary_expression "piVar17 + 3" identifier + number_literal)) ;) (expression_statement "pdVar19 = pdVar19 + 1;" (assignment_expression "pdVar19 = pdVar19 + 1" identifier = (binary_expression "pdVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar9 + iVar8 * 3 != piVar17)" ( (binary_expression "piVar9 + iVar8 * 3 != piVar17" (binary_expression "piVar9 + iVar8 * 3" identifier + (binary_expression "iVar8 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "local_68 = local_68 + 1;" (assignment_expression "local_68 = local_68 + 1" identifier = (binary_expression "local_68 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = local_64 + iVar8;" (assignment_expression "local_64 = local_64 + iVar8" identifier = (binary_expression "local_64 + iVar8" identifier + identifier)) ;) }) while (parenthesized_expression "(local_68 != iVar18)" ( (binary_expression "local_68 != iVar18" identifier != identifier) )) ;) })) (expression_statement "iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);" (assignment_expression "iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7)" identifier = (call_expression "SyncCacheViewAuthenticPixels((int)uVar14,uVar7)" identifier (argument_list "((int)uVar14,uVar7)" ( (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (if_statement "if (iVar18 != 0) goto LAB_0003cb70;" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003cb70;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)((int)param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x14)" * (cast_expression "(undefined4 *)((int)param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_0003cb70:\n      local_60 = local_60 + 1;" statement_identifier : (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar16 != local_60)" ( (binary_expression "iVar16 != local_60" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 = (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (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 (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (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) )))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) , (binary_expression (binary_expression IDENT < IDENT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT <= LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) * (cast_expression ( (type_descriptor TYPE) ) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT * IDENT) )) / (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (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 + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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) )))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 IDENT + LIT) ))))) / IDENT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }))) (expression_statement (assignment_expression (pointer_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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0003c8d0(ulonglong *param_1)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003c8d0(ulonglong *param_1)" (identifier "FUN_0003c8d0") (parameter_list "(ulonglong *param_1)" (( "(") (parameter_declaration "ulonglong *param_1" (type_identifier "ulonglong") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  ulonglong uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int *piVar9;\n  double dVar10;\n  float fVar11;\n  ulonglong uVar12;\n  ulonglong uVar13;\n  ulonglong uVar14;\n  int iVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  double *pdVar19;\n  int unaff_EBP;\n  int local_68;\n  double *local_64;\n  int local_60;\n  undefined4 local_34;\n  int iStack_30;\n  \n  FUN_00042799();\n  iVar6 = (int)param_1[1];\n  local_60 = omp_get_num_threads();\n  iVar15 = omp_get_thread_num();\n  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;\n  local_60 = *(int *)(iVar6 + 0x1c) % local_60;\n  if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar15 * iVar16 + local_60;\n  iVar16 = iVar16 + local_60;\n  if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "double dVar2;" (primitive_type "double") (identifier "dVar2") (; ";")) (declaration "double dVar3;" (primitive_type "double") (identifier "dVar3") (; ";")) (declaration "ulonglong uVar4;" (type_identifier "ulonglong") (identifier "uVar4") (; ";")) (declaration "longlong lVar5;" (type_identifier "longlong") (identifier "lVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "double dVar10;" (primitive_type "double") (identifier "dVar10") (; ";")) (declaration "float fVar11;" (primitive_type "float") (identifier "fVar11") (; ";")) (declaration "ulonglong uVar12;" (type_identifier "ulonglong") (identifier "uVar12") (; ";")) (declaration "ulonglong uVar13;" (type_identifier "ulonglong") (identifier "uVar13") (; ";")) (declaration "ulonglong uVar14;" (type_identifier "ulonglong") (identifier "uVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int *piVar17;" (primitive_type "int") (pointer_declarator "*piVar17" (* "*") (identifier "piVar17")) (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "double *pdVar19;" (primitive_type "double") (pointer_declarator "*pdVar19" (* "*") (identifier "pdVar19")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int local_68;" (primitive_type "int") (identifier "local_68") (; ";")) (declaration "double *local_64;" (primitive_type "double") (pointer_declarator "*local_64" (* "*") (identifier "local_64")) (; ";")) (declaration "int local_60;" (primitive_type "int") (identifier "local_60") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "int iStack_30;" (primitive_type "int") (identifier "iStack_30") (; ";")) (expression_statement "FUN_00042799();" (call_expression "FUN_00042799()" (identifier "FUN_00042799") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar6 = (int)param_1[1];" (assignment_expression "iVar6 = (int)param_1[1]" (identifier "iVar6") (= "=") (cast_expression "(int)param_1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "local_60 = omp_get_num_threads();" (assignment_expression "local_60 = omp_get_num_threads()" (identifier "local_60") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar15 = omp_get_thread_num();" (assignment_expression "iVar15 = omp_get_thread_num()" (identifier "iVar15") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar16 = *(int *)(iVar6 + 0x1c) / local_60;" (assignment_expression "iVar16 = *(int *)(iVar6 + 0x1c) / local_60" (identifier "iVar16") (= "=") (binary_expression "*(int *)(iVar6 + 0x1c) / local_60" (pointer_expression "*(int *)(iVar6 + 0x1c)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")")))) (/ "/") (identifier "local_60"))) (; ";")) (expression_statement "local_60 = *(int *)(iVar6 + 0x1c) % local_60;" (assignment_expression "local_60 = *(int *)(iVar6 + 0x1c) % local_60" (identifier "local_60") (= "=") (binary_expression "*(int *)(iVar6 + 0x1c) % local_60" (pointer_expression "*(int *)(iVar6 + 0x1c)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")")))) (% "%") (identifier "local_60"))) (; ";")) (if_statement "if (iVar15 < local_60) {\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" (if "if") (parenthesized_expression "(iVar15 < local_60)" (( "(") (binary_expression "iVar15 < local_60" (identifier "iVar15") (< "<") (identifier "local_60")) () ")")) (compound_statement "{\n    iVar16 = iVar16 + 1;\n    local_60 = 0;\n  }" ({ "{") (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_60 = iVar15 * iVar16 + local_60;" (assignment_expression "local_60 = iVar15 * iVar16 + local_60" (identifier "local_60") (= "=") (binary_expression "iVar15 * iVar16 + local_60" (binary_expression "iVar15 * iVar16" (identifier "iVar15") (* "*") (identifier "iVar16")) (+ "+") (identifier "local_60"))) (; ";")) (expression_statement "iVar16 = iVar16 + local_60;" (assignment_expression "iVar16 = iVar16 + local_60" (identifier "iVar16") (= "=") (binary_expression "iVar16 + local_60" (identifier "iVar16") (+ "+") (identifier "local_60"))) (; ";")) (if_statement "if (local_60 < iVar16) {\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" (if "if") (parenthesized_expression "(local_60 < iVar16)" (( "(") (binary_expression "local_60 < iVar16" (identifier "local_60") (< "<") (identifier "iVar16")) () ")")) (compound_statement "{\n    iVar15 = *(int *)((int)param_1 + 4);\n    uVar13 = *param_1;\n    uVar12 = *param_1;\n    uVar14 = param_1[2];\n    uVar7 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);\n  }" ({ "{") (expression_statement "iVar15 = *(int *)((int)param_1 + 4);" (assignment_expression "iVar15 = *(int *)((int)param_1 + 4)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)((int)param_1 + 4)" (* "*") (cast_expression "(int *)((int)param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 4)" (( "(") (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar13 = *param_1;" (assignment_expression "uVar13 = *param_1" (identifier "uVar13") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar12 = *param_1;" (assignment_expression "uVar12 = *param_1" (identifier "uVar12") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar14 = param_1[2];" (assignment_expression "uVar14 = param_1[2]" (identifier "uVar14") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar7 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar7 = *(undefined4 *)((int)param_1 + 0xc)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc)" (( "(") (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    } while (iVar16 != local_60);" (do "do") (compound_statement "{\n      if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }\nLAB_0003cb70:\n      local_60 = local_60 + 1;\n    }" ({ "{") (if_statement "if (*(int *)((int)param_1 + 0x14) != 0) {\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }" (if "if") (parenthesized_expression "(*(int *)((int)param_1 + 0x14) != 0)" (( "(") (binary_expression "*(int *)((int)param_1 + 0x14) != 0" (pointer_expression "*(int *)((int)param_1 + 0x14)" (* "*") (cast_expression "(int *)((int)param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x14)" (( "(") (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);\n        if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }\n        *(undefined4 *)((int)param_1 + 0x14) = 0;\n      }" ({ "{") (expression_statement "local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);" (assignment_expression "local_64 = (double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" (identifier "local_64") (= "=") (cast_expression "(double *)\n                   GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetCacheViewAuthenticPixels\n                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" (identifier "GetCacheViewAuthenticPixels") (argument_list "((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7)" (( "(") (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14")) (, ",") (number_literal "0") (, ",") (identifier "local_60") (, ",") (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "uVar7") () ")"))))) (; ";")) (if_statement "if (local_64 != (double *)0x0) {\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }" (if "if") (parenthesized_expression "(local_64 != (double *)0x0)" (( "(") (binary_expression "local_64 != (double *)0x0" (identifier "local_64") (!= "!=") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          iVar18 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }\n          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);\n          if (iVar18 != 0) goto LAB_0003cb70;\n        }" ({ "{") (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0 < iVar18) {\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }" (if "if") (parenthesized_expression "(0 < iVar18)" (( "(") (binary_expression "0 < iVar18" (number_literal "0") (< "<") (identifier "iVar18")) () ")")) (compound_statement "{\n            iVar8 = *(int *)(iVar6 + 0x298);\n            local_68 = 0;\n            dVar1 = *(double *)(unaff_EBP + 0x262862);\n            do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);\n          }" ({ "{") (expression_statement "iVar8 = *(int *)(iVar6 + 0x298);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x298)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar6 + 0x298)" (* "*") (cast_expression "(int *)(iVar6 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x298)" (( "(") (binary_expression "iVar6 + 0x298" (identifier "iVar6") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" (identifier "local_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar1 = *(double *)(unaff_EBP + 0x262862);" (assignment_expression "dVar1 = *(double *)(unaff_EBP + 0x262862)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(unaff_EBP + 0x262862)" (* "*") (cast_expression "(double *)(unaff_EBP + 0x262862)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262862)" (( "(") (binary_expression "unaff_EBP + 0x262862" (identifier "unaff_EBP") (+ "+") (number_literal "0x262862")) () ")"))))) (; ";")) (do_statement "do {\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            } while (local_68 != iVar18);" (do "do") (compound_statement "{\n              if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }\n              local_68 = local_68 + 1;\n              local_64 = local_64 + iVar8;\n            }" ({ "{") (if_statement "if (0 < iVar8) {\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }" (if "if") (parenthesized_expression "(0 < iVar8)" (( "(") (binary_expression "0 < iVar8" (number_literal "0") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n                piVar9 = *(int **)(iVar6 + 0x2a8);\n                piVar17 = piVar9;\n                pdVar19 = local_64;\n                do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);\n              }" ({ "{") (expression_statement "piVar9 = *(int **)(iVar6 + 0x2a8);" (assignment_expression "piVar9 = *(int **)(iVar6 + 0x2a8)" (identifier "piVar9") (= "=") (pointer_expression "*(int **)(iVar6 + 0x2a8)" (* "*") (cast_expression "(int **)(iVar6 + 0x2a8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x2a8)" (( "(") (binary_expression "iVar6 + 0x2a8" (identifier "iVar6") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "piVar17 = piVar9;" (assignment_expression "piVar17 = piVar9" (identifier "piVar17") (= "=") (identifier "piVar9")) (; ";")) (expression_statement "pdVar19 = local_64;" (assignment_expression "pdVar19 = local_64" (identifier "pdVar19") (= "=") (identifier "local_64")) (; ";")) (do_statement "do {\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                } while (piVar9 + iVar8 * 3 != piVar17);" (do "do") (compound_statement "{\n                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }\n                  piVar17 = piVar17 + 3;\n                  pdVar19 = pdVar19 + 1;\n                }" ({ "{") (if_statement "if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }" (if "if") (parenthesized_expression "((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0" (parenthesized_expression "(*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2)" (( "(") (binary_expression "*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2" (pointer_expression "*(byte *)(piVar9 + *piVar17 * 3 + 1)" (* "*") (cast_expression "(byte *)(piVar9 + *piVar17 * 3 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar9 + *piVar17 * 3 + 1)" (( "(") (binary_expression "piVar9 + *piVar17 * 3 + 1" (binary_expression "piVar9 + *piVar17 * 3" (identifier "piVar9") (+ "+") (binary_expression "*piVar17 * 3" (pointer_expression "*piVar17" (* "*") (identifier "piVar17")) (* "*") (number_literal "3"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    dVar2 = *pdVar19;\n                    fVar11 = (float)(longlong)uVar12;\n                    if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }\n                    dVar3 = (double)fVar11;\n                    if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    *pdVar19 = dVar2;\n                  }" ({ "{") (expression_statement "dVar2 = *pdVar19;" (assignment_expression "dVar2 = *pdVar19" (identifier "dVar2") (= "=") (pointer_expression "*pdVar19" (* "*") (identifier "pdVar19"))) (; ";")) (expression_statement "fVar11 = (float)(longlong)uVar12;" (assignment_expression "fVar11 = (float)(longlong)uVar12" (identifier "fVar11") (= "=") (cast_expression "(float)(longlong)uVar12" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (cast_expression "(longlong)uVar12" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "uVar12")))) (; ";")) (if_statement "if (iVar15 < 0) {\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }" (if "if") (parenthesized_expression "(iVar15 < 0)" (( "(") (binary_expression "iVar15 < 0" (identifier "iVar15") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                    }" ({ "{") (expression_statement "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);" (assignment_expression "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e)" (identifier "fVar11") (= "=") (binary_expression "fVar11 + *(float *)(unaff_EBP + 0x262e3e)" (identifier "fVar11") (+ "+") (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3e)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3e)" (( "(") (binary_expression "unaff_EBP + 0x262e3e" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3e")) () ")")))))) (; ";")) (} "}"))) (expression_statement "dVar3 = (double)fVar11;" (assignment_expression "dVar3 = (double)fVar11" (identifier "dVar3") (= "=") (cast_expression "(double)fVar11" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar11"))) (; ";")) (if_statement "if ((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))) {\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }\n                    else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" (if "if") (parenthesized_expression "((dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0))))" (( "(") (binary_expression "(dVar2 < 0.0) ||\n                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))" (parenthesized_expression "(dVar2 < 0.0)" (( "(") (binary_expression "dVar2 < 0.0" (identifier "dVar2") (< "<") (number_literal "0.0")) () ")")) (|| "||") (parenthesized_expression "((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)))" (( "(") (parenthesized_expression "(dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0))" (( "(") (comma_expression "dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)" (assignment_expression "dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a)" (identifier "dVar10") (= "=") (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3a)" (( "(") (binary_expression "unaff_EBP + 0x262e3a" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3a")) () ")")))))) (, ",") (binary_expression "dVar2 < dVar10 &&\n                        (dVar10 = dVar2, dVar2 <= 0.0)" (binary_expression "dVar2 < dVar10" (identifier "dVar2") (< "<") (identifier "dVar10")) (&& "&&") (parenthesized_expression "(dVar10 = dVar2, dVar2 <= 0.0)" (( "(") (comma_expression "dVar10 = dVar2, dVar2 <= 0.0" (assignment_expression "dVar10 = dVar2" (identifier "dVar10") (= "=") (identifier "dVar2")) (, ",") (binary_expression "dVar2 <= 0.0" (identifier "dVar2") (<= "<=") (number_literal "0.0"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n                      dVar2 = 0.0;\n                      if (dVar1 <= dVar3) goto LAB_0003cb18;\n                      dVar2 = 0.0;\nLAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);\nLAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" ({ "{") (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" (identifier "dVar2") (= "=") (number_literal "0.0")) (; ";")) (if_statement "if (dVar1 <= dVar3) goto LAB_0003cb18;" (if "if") (parenthesized_expression "(dVar1 <= dVar3)" (( "(") (binary_expression "dVar1 <= dVar3" (identifier "dVar1") (<= "<=") (identifier "dVar3")) () ")")) (goto_statement "goto LAB_0003cb18;" (goto "goto") (statement_identifier "LAB_0003cb18") (; ";"))) (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" (identifier "dVar2") (= "=") (number_literal "0.0")) (; ";")) (labeled_statement "LAB_0003cbe8:\n                      dVar3 = *(double *)(unaff_EBP + 0x262e62);" (statement_identifier "LAB_0003cbe8") (: ":") (expression_statement "dVar3 = *(double *)(unaff_EBP + 0x262e62);" (assignment_expression "dVar3 = *(double *)(unaff_EBP + 0x262e62)" (identifier "dVar3") (= "=") (pointer_expression "*(double *)(unaff_EBP + 0x262e62)" (* "*") (cast_expression "(double *)(unaff_EBP + 0x262e62)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e62)" (( "(") (binary_expression "unaff_EBP + 0x262e62" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e62")) () ")"))))) (; ";"))) (labeled_statement "LAB_0003cb1e:\n                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);" (statement_identifier "LAB_0003cb1e") (: ":") (expression_statement "dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a)" (identifier "dVar2") (= "=") (binary_expression "dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a)" (binary_expression "dVar3 * dVar2" (identifier "dVar3") (* "*") (identifier "dVar2")) (* "*") (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3a)" (( "(") (binary_expression "unaff_EBP + 0x262e3a" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3a")) () ")"))))))) (; ";"))) (} "}")) (else_clause "else {\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" (else "else") (compound_statement "{\n                      uVar4 = 0xffffffffffffffff;\n                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);\n                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }\n                      if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }\n                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);\n                    }" ({ "{") (expression_statement "uVar4 = 0xffffffffffffffff;" (assignment_expression "uVar4 = 0xffffffffffffffff" (identifier "uVar4") (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (expression_statement "dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a)" (identifier "dVar2") (= "=") (binary_expression "(dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a)" (parenthesized_expression "(dVar10 * dVar3)" (( "(") (binary_expression "dVar10 * dVar3" (identifier "dVar10") (* "*") (identifier "dVar3")) () ")")) (/ "/") (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3a)" (( "(") (binary_expression "unaff_EBP + 0x262e3a" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3a")) () ")"))))))) (; ";")) (if_statement "if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }" (if "if") (parenthesized_expression "(dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e))" (( "(") (binary_expression "dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)" (identifier "dVar2") (< "<") (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3e)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3e)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3e)" (( "(") (binary_expression "unaff_EBP + 0x262e3e" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3e")) () ")")))))) () ")")) (compound_statement "{\n                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);\n                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }\n                      }" ({ "{") (expression_statement "dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);" (assignment_expression "dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e)" (identifier "dVar2") (= "=") (binary_expression "dVar2 + (double)*(float *)(unaff_EBP + 0x26284e)" (identifier "dVar2") (+ "+") (cast_expression "(double)*(float *)(unaff_EBP + 0x26284e)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x26284e)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x26284e)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x26284e)" (( "(") (binary_expression "unaff_EBP + 0x26284e" (identifier "unaff_EBP") (+ "+") (number_literal "0x26284e")) () ")"))))))) (; ";")) (if_statement "if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }\n                        else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" (if "if") (parenthesized_expression "((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2)" (( "(") (binary_expression "(double)*(float *)(unaff_EBP + 0x26285e) <= dVar2" (cast_expression "(double)*(float *)(unaff_EBP + 0x26285e)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x26285e)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x26285e)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x26285e)" (( "(") (binary_expression "unaff_EBP + 0x26285e" (identifier "unaff_EBP") (+ "+") (number_literal "0x26285e")) () ")"))))) (<= "<=") (identifier "dVar2")) () ")")) (compound_statement "{\n                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));\n                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);\n                          local_34 = (undefined4)lVar5;\n                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);\n                        }" ({ "{") (expression_statement "lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));" (assignment_expression "lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" (identifier "lVar5") (= "=") (cast_expression "(longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" (identifier "ROUND") (argument_list "(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e))" (( "(") (binary_expression "dVar2 - (double)*(float *)(unaff_EBP + 0x26285e)" (identifier "dVar2") (- "-") (cast_expression "(double)*(float *)(unaff_EBP + 0x26285e)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x26285e)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x26285e)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x26285e)" (( "(") (binary_expression "unaff_EBP + 0x26285e" (identifier "unaff_EBP") (+ "+") (number_literal "0x26285e")) () ")")))))) () ")"))))) (; ";")) (expression_statement "iStack_30 = (int)((ulonglong)lVar5 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)lVar5 >> 0x20)" (identifier "iStack_30") (= "=") (cast_expression "(int)((ulonglong)lVar5 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "local_34 = (undefined4)lVar5;" (assignment_expression "local_34 = (undefined4)lVar5" (identifier "local_34") (= "=") (cast_expression "(undefined4)lVar5" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "lVar5"))) (; ";")) (expression_statement "uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);" (assignment_expression "uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34)" (identifier "uVar4") (= "=") (call_expression "CONCAT44(iStack_30 + -0x80000000,local_34)" (identifier "CONCAT44") (argument_list "(iStack_30 + -0x80000000,local_34)" (( "(") (binary_expression "iStack_30 + -0x80000000" (identifier "iStack_30") (+ "+") (number_literal "-0x80000000")) (, ",") (identifier "local_34") () ")")))) (; ";")) (} "}")) (else_clause "else {\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" (else "else") (compound_statement "{\n                          uVar4 = (ulonglong)ROUND(dVar2);\n                        }" ({ "{") (expression_statement "uVar4 = (ulonglong)ROUND(dVar2);" (assignment_expression "uVar4 = (ulonglong)ROUND(dVar2)" (identifier "uVar4") (= "=") (cast_expression "(ulonglong)ROUND(dVar2)" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (call_expression "ROUND(dVar2)" (identifier "ROUND") (argument_list "(dVar2)" (( "(") (identifier "dVar2") () ")"))))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (uVar4 <= uVar13) {\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }" (if "if") (parenthesized_expression "(uVar4 <= uVar13)" (( "(") (binary_expression "uVar4 <= uVar13" (identifier "uVar4") (<= "<=") (identifier "uVar13")) () ")")) (compound_statement "{\n                        fVar11 = (float)(longlong)uVar4;\n                        if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }\n                        dVar2 = (double)fVar11;\n                        if (dVar3 < dVar1) goto LAB_0003cbe8;\nLAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;\n                        goto LAB_0003cb1e;\n                      }" ({ "{") (expression_statement "fVar11 = (float)(longlong)uVar4;" (assignment_expression "fVar11 = (float)(longlong)uVar4" (identifier "fVar11") (= "=") (cast_expression "(float)(longlong)uVar4" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (cast_expression "(longlong)uVar4" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "uVar4")))) (; ";")) (if_statement "if ((longlong)uVar4 < 0) {\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }" (if "if") (parenthesized_expression "((longlong)uVar4 < 0)" (( "(") (binary_expression "(longlong)uVar4 < 0" (cast_expression "(longlong)uVar4" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "uVar4")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);\n                        }" ({ "{") (expression_statement "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);" (assignment_expression "fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e)" (identifier "fVar11") (= "=") (binary_expression "fVar11 + *(float *)(unaff_EBP + 0x262e3e)" (identifier "fVar11") (+ "+") (pointer_expression "*(float *)(unaff_EBP + 0x262e3e)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3e)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3e)" (( "(") (binary_expression "unaff_EBP + 0x262e3e" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3e")) () ")")))))) (; ";")) (} "}"))) (expression_statement "dVar2 = (double)fVar11;" (assignment_expression "dVar2 = (double)fVar11" (identifier "dVar2") (= "=") (cast_expression "(double)fVar11" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar11"))) (; ";")) (if_statement "if (dVar3 < dVar1) goto LAB_0003cbe8;" (if "if") (parenthesized_expression "(dVar3 < dVar1)" (( "(") (binary_expression "dVar3 < dVar1" (identifier "dVar3") (< "<") (identifier "dVar1")) () ")")) (goto_statement "goto LAB_0003cbe8;" (goto "goto") (statement_identifier "LAB_0003cbe8") (; ";"))) (labeled_statement "LAB_0003cb18:\n                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;" (statement_identifier "LAB_0003cb18") (: ":") (expression_statement "dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;" (assignment_expression "dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3" (identifier "dVar3") (= "=") (binary_expression "(double)*(float *)(unaff_EBP + 0x262e42) / dVar3" (cast_expression "(double)*(float *)(unaff_EBP + 0x262e42)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x262e42)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e42)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e42)" (( "(") (binary_expression "unaff_EBP + 0x262e42" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e42")) () ")"))))) (/ "/") (identifier "dVar3"))) (; ";"))) (goto_statement "goto LAB_0003cb1e;" (goto "goto") (statement_identifier "LAB_0003cb1e") (; ";")) (} "}"))) (expression_statement "dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);" (assignment_expression "dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a)" (identifier "dVar2") (= "=") (cast_expression "(double)*(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x262e3a)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x262e3a)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x262e3a)" (( "(") (binary_expression "unaff_EBP + 0x262e3a" (identifier "unaff_EBP") (+ "+") (number_literal "0x262e3a")) () ")")))))) (; ";")) (} "}")))) (expression_statement "*pdVar19 = dVar2;" (assignment_expression "*pdVar19 = dVar2" (pointer_expression "*pdVar19" (* "*") (identifier "pdVar19")) (= "=") (identifier "dVar2")) (; ";")) (} "}"))) (expression_statement "piVar17 = piVar17 + 3;" (assignment_expression "piVar17 = piVar17 + 3" (identifier "piVar17") (= "=") (binary_expression "piVar17 + 3" (identifier "piVar17") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pdVar19 = pdVar19 + 1;" (assignment_expression "pdVar19 = pdVar19 + 1" (identifier "pdVar19") (= "=") (binary_expression "pdVar19 + 1" (identifier "pdVar19") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar9 + iVar8 * 3 != piVar17)" (( "(") (binary_expression "piVar9 + iVar8 * 3 != piVar17" (binary_expression "piVar9 + iVar8 * 3" (identifier "piVar9") (+ "+") (binary_expression "iVar8 * 3" (identifier "iVar8") (* "*") (number_literal "3"))) (!= "!=") (identifier "piVar17")) () ")")) (; ";")) (} "}"))) (expression_statement "local_68 = local_68 + 1;" (assignment_expression "local_68 = local_68 + 1" (identifier "local_68") (= "=") (binary_expression "local_68 + 1" (identifier "local_68") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_64 = local_64 + iVar8;" (assignment_expression "local_64 = local_64 + iVar8" (identifier "local_64") (= "=") (binary_expression "local_64 + iVar8" (identifier "local_64") (+ "+") (identifier "iVar8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_68 != iVar18)" (( "(") (binary_expression "local_68 != iVar18" (identifier "local_68") (!= "!=") (identifier "iVar18")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);" (assignment_expression "iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7)" (identifier "iVar18") (= "=") (call_expression "SyncCacheViewAuthenticPixels((int)uVar14,uVar7)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "((int)uVar14,uVar7)" (( "(") (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14")) (, ",") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar18 != 0) goto LAB_0003cb70;" (if "if") (parenthesized_expression "(iVar18 != 0)" (( "(") (binary_expression "iVar18 != 0" (identifier "iVar18") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003cb70;" (goto "goto") (statement_identifier "LAB_0003cb70") (; ";"))) (} "}"))) (expression_statement "*(undefined4 *)((int)param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x14)" (( "(") (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (labeled_statement "LAB_0003cb70:\n      local_60 = local_60 + 1;" (statement_identifier "LAB_0003cb70") (: ":") (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" (identifier "local_60") (= "=") (binary_expression "local_60 + 1" (identifier "local_60") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar16 != local_60)" (( "(") (binary_expression "iVar16 != local_60" (identifier "iVar16") (!= "!=") (identifier "local_60")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* WARNING: Removing unreachable block (ram,0x0003cb90) */
/* 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 */
/* DWARF original prototype: void SetImageDepth._omp_fn.4(anon_struct_24_5_83ffb101 * param_0) */

void __thiscall function_1(type_1 *this)

{
  double var_13;
  double var_16;
  type_2 var_21;
  type_3 lVar4;
  type_4 *pIVar5;
  type_5 *cache_view;
  type_6 *exception;
  size_t var_28;
  size_t var_26;
  type_7 *var_25;
  double var_17;
  double var_14;
  float var_11;
  type_8 QVar12;
  type_2 var_22;
  double var_15;
  int var_4;
  int var_5;
  type_7 *var_23;
  type_9 var_30;
  double *var_24;
  size_t var_27;
  double *var_8;
  int var_3;
  type_10 local_34;
  int var_20;
  
  pIVar5 = this->image;
  var_3 = var_1();
  var_4 = var_2();
  var_5 = (int)pIVar5->rows / var_3;
  var_3 = (int)pIVar5->rows % var_3;
  if (var_4 < var_3) {
    var_5 = var_5 + 1;
    var_3 = 0;
  }
  var_3 = var_4 * var_5 + var_3;
  var_5 = var_5 + var_3;
  if (var_3 < var_5) {
    var_4 = *(int *)((int)&this->range + 4);
    var_22 = this->range;
    QVar12 = this->range;
    cache_view = this->image_view;
    exception = this->exception;
    do {
      if (this->status != var_6) {
        var_8 = var_7(cache_view,0,var_3,pIVar5->columns,1,exception);
        var_15 = DAT_0029f138;
        if (var_8 != (type_11 *)0x0) {
          var_28 = pIVar5->columns;
          if (0 < (int)var_28) {
            var_26 = pIVar5->number_channels;
            var_27 = 0;
            do {
              if (0 < (int)var_26) {
                var_25 = pIVar5->channel_map;
                var_23 = var_25;
                var_24 = var_8;
                do {
                  if ((var_25[var_23->channel].traits & var_9) != var_10) {
                    var_13 = *var_24;
                    var_11 = (float)(type_3)QVar12;
                    if (var_4 < 0) {
                      var_11 = var_11 + var_12;
                    }
                    var_16 = (double)var_11;
                    var_17 = DAT_0029f738;
                    if ((var_13 < 0.0) ||
                       ((var_14 = (double)DAT_0029f710, var_13 < var_14 &&
                        (var_14 = var_13, var_13 <= 0.0)))) {
                      var_13 = 0.0;
                      if (var_15 <= var_16) {
LAB_0003cb18:
                        var_17 = (double)DAT_0029f718 / var_16;
                      }
                      else {
                        var_13 = 0.0;
                      }
LAB_0003cb1e:
                      var_13 = var_17 * var_13 * (double)DAT_0029f710;
                    }
                    else {
                      var_21 = 0xffffffffffffffff;
                      var_13 = (var_14 * var_16) / (double)DAT_0029f710;
                      if (var_13 < (double)var_12) {
                        var_13 = var_13 + (double)DAT_0029f124;
                        if ((double)DAT_0029f134 <= var_13) {
                          lVar4 = (type_3)var_18(var_13 - (double)DAT_0029f134);
                          var_20 = (int)((type_2)lVar4 >> 0x20);
                          local_34 = (type_10)lVar4;
                          var_21 = var_19(var_20 + -0x80000000,local_34);
                        }
                        else {
                          var_21 = (type_2)var_18(var_13);
                        }
                      }
                      if (var_21 <= var_22) {
                        var_11 = (float)(type_3)var_21;
                        if ((type_3)var_21 < 0) {
                          var_11 = var_11 + var_12;
                        }
                        var_13 = (double)var_11;
                        if (var_15 <= var_16) goto LAB_0003cb18;
                        goto LAB_0003cb1e;
                      }
                      var_13 = (double)DAT_0029f710;
                    }
                    *var_24 = var_13;
                  }
                  var_23 = var_23 + 1;
                  var_24 = var_24 + 1;
                } while (var_25 + var_26 != var_23);
              }
              var_27 = var_27 + 1;
              var_8 = var_8 + var_26;
            } while (var_27 != var_28);
          }
          var_30 = var_29(cache_view,exception);
          if (var_30 != var_6) goto LAB_0003cb70;
        }
        this->status = var_6;
      }
LAB_0003cb70:
      var_3 = var_3 + 1;
    } while (var_5 != var_3);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_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: (identifier)))) (expression_statement (assignment_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: (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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (do_statement body: (compound_statement (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) 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 (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (identifier) (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))))) (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: (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_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))))))) (do_statement body: (compound_statement (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (if_statement condition: (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)))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (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)))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (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: (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: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (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: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier) 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: (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: (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: (identifier) right: (number_literal)))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (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: (identifier) right: (number_literal)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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)))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (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: (identifier) right: (number_literal)))))) right: (identifier))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

/* WARNING: Removing unreachable block (ram,0x0003cb90) */

void MASKED(ulonglong *param_1)

{
  double dVar1;
  double dVar2;
  double dVar3;
  ulonglong uVar4;
  longlong lVar5;
  int iVar6;
  undefined4 uVar7;
  int iVar8;
  int *piVar9;
  double dVar10;
  float fVar11;
  ulonglong uVar12;
  ulonglong uVar13;
  ulonglong uVar14;
  int iVar15;
  int iVar16;
  int *piVar17;
  int iVar18;
  double *pdVar19;
  int unaff_EBP;
  int local_68;
  double *local_64;
  int local_60;
  undefined4 local_34;
  int iStack_30;
  
  FUN_00042799();
  iVar6 = (int)param_1[1];
  local_60 = omp_get_num_threads();
  iVar15 = omp_get_thread_num();
  iVar16 = *(int *)(iVar6 + 0x1c) / local_60;
  local_60 = *(int *)(iVar6 + 0x1c) % local_60;
  if (iVar15 < local_60) {
    iVar16 = iVar16 + 1;
    local_60 = 0;
  }
  local_60 = iVar15 * iVar16 + local_60;
  iVar16 = iVar16 + local_60;
  if (local_60 < iVar16) {
    iVar15 = *(int *)((int)param_1 + 4);
    uVar13 = *param_1;
    uVar12 = *param_1;
    uVar14 = param_1[2];
    uVar7 = *(undefined4 *)((int)param_1 + 0xc);
    do {
      if (*(int *)((int)param_1 + 0x14) != 0) {
        local_64 = (double *)
                   GetCacheViewAuthenticPixels
                             ((int)uVar14,0,local_60,*(undefined4 *)(iVar6 + 0x18),1,uVar7);
        if (local_64 != (double *)0x0) {
          iVar18 = *(int *)(iVar6 + 0x18);
          if (0 < iVar18) {
            iVar8 = *(int *)(iVar6 + 0x298);
            local_68 = 0;
            dVar1 = *(double *)(unaff_EBP + 0x262862);
            do {
              if (0 < iVar8) {
                piVar9 = *(int **)(iVar6 + 0x2a8);
                piVar17 = piVar9;
                pdVar19 = local_64;
                do {
                  if ((*(byte *)(piVar9 + *piVar17 * 3 + 1) & 2) != 0) {
                    dVar2 = *pdVar19;
                    fVar11 = (float)(longlong)uVar12;
                    if (iVar15 < 0) {
                      fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);
                    }
                    dVar3 = (double)fVar11;
                    if ((dVar2 < 0.0) ||
                       ((dVar10 = (double)*(float *)(unaff_EBP + 0x262e3a), dVar2 < dVar10 &&
                        (dVar10 = dVar2, dVar2 <= 0.0)))) {
                      dVar2 = 0.0;
                      if (dVar1 <= dVar3) goto LAB_0003cb18;
                      dVar2 = 0.0;
LAB_0003cbe8:
                      dVar3 = *(double *)(unaff_EBP + 0x262e62);
LAB_0003cb1e:
                      dVar2 = dVar3 * dVar2 * (double)*(float *)(unaff_EBP + 0x262e3a);
                    }
                    else {
                      uVar4 = 0xffffffffffffffff;
                      dVar2 = (dVar10 * dVar3) / (double)*(float *)(unaff_EBP + 0x262e3a);
                      if (dVar2 < (double)*(float *)(unaff_EBP + 0x262e3e)) {
                        dVar2 = dVar2 + (double)*(float *)(unaff_EBP + 0x26284e);
                        if ((double)*(float *)(unaff_EBP + 0x26285e) <= dVar2) {
                          lVar5 = (longlong)ROUND(dVar2 - (double)*(float *)(unaff_EBP + 0x26285e));
                          iStack_30 = (int)((ulonglong)lVar5 >> 0x20);
                          local_34 = (undefined4)lVar5;
                          uVar4 = CONCAT44(iStack_30 + -0x80000000,local_34);
                        }
                        else {
                          uVar4 = (ulonglong)ROUND(dVar2);
                        }
                      }
                      if (uVar4 <= uVar13) {
                        fVar11 = (float)(longlong)uVar4;
                        if ((longlong)uVar4 < 0) {
                          fVar11 = fVar11 + *(float *)(unaff_EBP + 0x262e3e);
                        }
                        dVar2 = (double)fVar11;
                        if (dVar3 < dVar1) goto LAB_0003cbe8;
LAB_0003cb18:
                        dVar3 = (double)*(float *)(unaff_EBP + 0x262e42) / dVar3;
                        goto LAB_0003cb1e;
                      }
                      dVar2 = (double)*(float *)(unaff_EBP + 0x262e3a);
                    }
                    *pdVar19 = dVar2;
                  }
                  piVar17 = piVar17 + 3;
                  pdVar19 = pdVar19 + 1;
                } while (piVar9 + iVar8 * 3 != piVar17);
              }
              local_68 = local_68 + 1;
              local_64 = local_64 + iVar8;
            } while (local_68 != iVar18);
          }
          iVar18 = SyncCacheViewAuthenticPixels((int)uVar14,uVar7);
          if (iVar18 != 0) goto LAB_0003cb70;
        }
        *(undefined4 *)((int)param_1 + 0x14) = 0;
      }
LAB_0003cb70:
      local_60 = local_60 + 1;
    } while (iVar16 != local_60);
  }
  return;
}

