
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* 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 GammaImage._omp_fn.6(anon_struct_24_6_ca95b348 * param_0) */

void __thiscall GammaImage__omp_fn_6(anon_struct_24_6_ca95b348 *this)

{
  longlong lVar1;
  Image *image;
  CacheView *cache_view;
  double *pdVar2;
  ExceptionInfo *exception;
  size_t sVar3;
  size_t sVar4;
  PixelChannelMap *pPVar5;
  uint *puVar6;
  float fVar7;
  int iVar8;
  int iVar9;
  PixelChannelMap *pPVar10;
  MagickBooleanType MVar11;
  uint uVar12;
  double *pdVar13;
  double *pdVar14;
  uint uVar15;
  bool bVar16;
  size_t local_5c;
  double *local_50;
  int local_4c;
  int local_2c;
  
  image = this->image;
  local_4c = omp_get_num_threads();
  iVar8 = omp_get_thread_num();
  iVar9 = (int)image->rows / local_4c;
  local_4c = (int)image->rows % local_4c;
  if (iVar8 < local_4c) {
    iVar9 = iVar9 + 1;
    local_4c = 0;
  }
  local_4c = iVar8 * iVar9 + local_4c;
  iVar9 = iVar9 + local_4c;
  if (local_4c < iVar9) {
    cache_view = this->image_view;
    pdVar2 = this->gamma_map;
    exception = this->exception;
    do {
      if (this->status != MagickFalse) {
        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);
        if (local_50 == (Quantum *)0x0) {
LAB_000b3fac:
          this->status = MagickFalse;
        }
        else {
          sVar3 = image->columns;
          if (0 < (int)sVar3) {
            sVar4 = image->number_channels;
            local_5c = 0;
            do {
              if (0 < (int)sVar4) {
                pPVar5 = image->channel_map;
                pPVar10 = pPVar5;
                pdVar14 = local_50;
                do {
                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {
                    fVar7 = (float)*pdVar14;
                    pdVar13 = pdVar2 + 0xffff;
                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {
                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);
                      pdVar13 = pdVar2 + local_2c;
                    }
                    *pdVar14 = *pdVar13;
                  }
                  pPVar10 = pPVar10 + 1;
                  pdVar14 = pdVar14 + 1;
                } while (pPVar10 != pPVar5 + sVar4);
              }
              local_5c = local_5c + 1;
              local_50 = local_50 + sVar4;
            } while (local_5c != sVar3);
          }
          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar11 == MagickFalse) {
            this->status = MagickFalse;
          }
          if (image->progress_monitor != (MagickProgressMonitor)0x0) {
            puVar6 = (uint *)this->progress;
            uVar12 = *puVar6;
            uVar15 = puVar6[1];
            do {
              LOCK();
              lVar1 = *(longlong *)puVar6;
              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;
              if (bVar16) {
                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);
              }
              else {
                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);
                uVar12 = (uint)lVar1;
              }
              UNLOCK();
            } while (!bVar16);
            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);
            if (MVar11 == MagickFalse) goto LAB_000b3fac;
          }
        }
      }
      local_4c = local_4c + 1;
    } while (iVar9 != local_4c);
  }
  return;
}



void FUN_000b3d50(int *param_1)

{
  longlong lVar1;
  int iVar2;
  double *pdVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  uint *puVar7;
  float fVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  int iVar12;
  uint uVar13;
  double *pdVar14;
  double *pdVar15;
  uint uVar16;
  int unaff_EBP;
  bool bVar17;
  int local_5c;
  double *local_50;
  int local_4c;
  int local_2c;
  
  FUN_00042799();
  iVar2 = *param_1;
  local_4c = omp_get_num_threads();
  iVar9 = omp_get_thread_num();
  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;
  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;
  if (iVar9 < local_4c) {
    iVar10 = iVar10 + 1;
    local_4c = 0;
  }
  local_4c = iVar9 * iVar10 + local_4c;
  iVar10 = iVar10 + local_4c;
  if (local_4c < iVar10) {
    iVar9 = param_1[2];
    pdVar3 = (double *)param_1[3];
    iVar4 = param_1[1];
    do {
      if (param_1[4] != 0) {
        local_50 = (double *)
                   GetCacheViewAuthenticPixels
                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);
        if (local_50 == (double *)0x0) {
LAB_000b3fac:
          param_1[4] = 0;
        }
        else {
          iVar12 = *(int *)(iVar2 + 0x18);
          if (0 < iVar12) {
            iVar5 = *(int *)(iVar2 + 0x298);
            local_5c = 0;
            do {
              if (0 < iVar5) {
                piVar6 = *(int **)(iVar2 + 0x2a8);
                piVar11 = piVar6;
                pdVar15 = local_50;
                do {
                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {
                    fVar8 = (float)*pdVar15;
                    pdVar14 = pdVar3 + 0xffff;
                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&
                       (pdVar14 = pdVar3, 0.0 < fVar8)) {
                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));
                      pdVar14 = pdVar3 + local_2c;
                    }
                    *pdVar15 = *pdVar14;
                  }
                  piVar11 = piVar11 + 3;
                  pdVar15 = pdVar15 + 1;
                } while (piVar11 != piVar6 + iVar5 * 3);
              }
              local_5c = local_5c + 1;
              local_50 = local_50 + iVar5;
            } while (local_5c != iVar12);
          }
          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);
          if (iVar12 == 0) {
            param_1[4] = 0;
          }
          if (*(int *)(iVar2 + 0x300) != 0) {
            puVar7 = (uint *)param_1[5];
            uVar13 = *puVar7;
            uVar16 = puVar7[1];
            do {
              LOCK();
              lVar1 = *(longlong *)puVar7;
              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;
              if (bVar17) {
                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);
              }
              else {
                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);
                uVar13 = (uint)lVar1;
              }
              UNLOCK();
            } while (!bVar17);
            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],
                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)
            ;
            if (iVar12 == 0) goto LAB_000b3fac;
          }
        }
      }
      local_4c = local_4c + 1;
    } while (iVar10 != local_4c);
  }
  return;
}


PUSH EBP
CALL 0x00042799
ADD EBP,0x3252aa
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x5c
MOV EAX,dword ptr [ESP + 0x70]
MOV EBX,EBP
MOV EAX,dword ptr [EAX]
MOV EDI,EAX
MOV dword ptr [ESP + 0x24],EAX
CALL 0x00030850
MOV ESI,EAX
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [EDI + 0x1c]
CDQ
IDIV ESI
CMP ECX,EDX
JGE 0x000b3d8d
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
MOV EDI,EAX
LEA EBX,[ECX + EDX*0x1]
ADD EDI,EBX
MOV dword ptr [ESP + 0x20],EBX
CMP EBX,EDI
MOV dword ptr [ESP + 0x38],EDI
JGE 0x000b3fca
MOV ESI,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [ESP + 0x70]
MOV ESI,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x3c],ESI
MOV ESI,dword ptr [ESP + 0x70]
MOV dword ptr [ESP + 0x18],EAX
ADD EAX,0x7fff8
MOV dword ptr [ESP + 0xc],EAX
MOV EBX,dword ptr [ESI + 0x4]
MOV dword ptr [ESP + 0x48],EBX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x70]
MOV ECX,dword ptr [EAX + 0x10]
TEST ECX,ECX
JZ 0x000b3fb7
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x50]
PUSH 0x1
MOV EDI,dword ptr [ESP + 0x34]
PUSH dword ptr [EDI + 0x18]
PUSH dword ptr [ESP + 0x34]
PUSH 0x0
PUSH dword ptr [ESP + 0x58]
CALL 0x000312c0
MOV dword ptr [ESP + 0x3c],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x000b3fac
MOV EBX,dword ptr [EDI + 0x18]
TEST EBX,EBX
MOV dword ptr [ESP + 0x28],EBX
JLE 0x000b3f1d
MOV EAX,dword ptr [EDI + 0x298]
MOV dword ptr [ESP + 0x10],0x0
LEA ESI,[EAX*0x8 + 0x0]
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[EAX + EAX*0x2]
MOV dword ptr [ESP + 0x30],ESI
SHL EAX,0x2
MOV dword ptr [ESP + 0x34],EAX
LEA ESI,[ESI]
MOV EDX,dword ptr [ESP + 0x2c]
TEST EDX,EDX
JLE 0x000b3f02
MOV EAX,dword ptr [ESP + 0x24]
MOV EBX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [EAX + 0x2a8]
LEA EDI,[ESI + EBX*0x1]
MOV EAX,ESI
NOP
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX]
LEA ECX,[ECX + ECX*0x2]
TEST byte ptr [ESI + ECX*0x4 + 0x4],0x2
JZ 0x000b3ef4
FLD dword ptr [EBP + 0xffec6710]
FLD qword ptr [EDX]
FUCOMI ST0,ST1
FSTP ST1
MOV ECX,dword ptr [ESP + 0xc]
JNC 0x000b3ed8
FUCOMI ST0,ST0
MOV ECX,dword ptr [ESP + 0x18]
JP 0x000b3ee0
FLDZ
FUCOMIP ST0,ST1
JNC 0x000b3ee8
FNSTCW word ptr [ESP + 0x4e]
MOV EBX,dword ptr [ESP + 0x18]
FADD dword ptr [EBP + 0xffec6124]
MOVZX ECX,word ptr [ESP + 0x4e]
OR CH,0xc
MOV word ptr [ESP + 0x4c],CX
FLDCW word ptr [ESP + 0x4c]
FISTP qword ptr [ESP + 0x40]
FLDCW word ptr [ESP + 0x4e]
MOV ECX,dword ptr [ESP + 0x40]
LEA ECX,[EBX + ECX*0x8]
JMP 0x000b3ef0
FSTP ST0
JMP 0x000b3ef0
FSTP ST0
JMP 0x000b3ef0
FSTP ST0
LEA ESI,[ESI]
FLD qword ptr [ECX]
FSTP qword ptr [EDX]
ADD EAX,0xc
ADD EDX,0x8
CMP EAX,EDI
JNZ 0x000b3e78
MOV EBX,dword ptr [ESP + 0x30]
ADD dword ptr [ESP + 0x10],0x1
ADD dword ptr [ESP + 0x1c],EBX
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,dword ptr [ESP + 0x28]
JNZ 0x000b3e50
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x48]
CALL 0x00031800
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000b3f41
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [EAX + 0x10],0x0
MOV EAX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EAX + 0x300]
TEST EAX,EAX
JZ 0x000b3fb7
MOV EAX,dword ptr [ESP + 0x70]
MOV ESI,dword ptr [EAX + 0x14]
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [ESI + 0x4]
MOV ECX,EAX
MOV EBX,EDX
ADD ECX,0x1
ADC EBX,0x0
MOV dword ptr [ESP + 0x10],ECX
MOV dword ptr [ESP + 0x14],EBX
MOV EBX,ECX
MOV ECX,dword ptr [ESP + 0x14]
CMPXCHG8B.LOCK qword ptr [ESI]
JNZ 0x000b3f5b
SUB ESP,0x8
XOR EDX,EDX
MOV EBX,dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [EBX + 0x1c]
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x80]
MOV EAX,dword ptr [EAX + 0x14]
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
LEA EAX,[EBP + 0xffed949d]
PUSH EAX
PUSH EBX
MOV EBX,EBP
CALL 0x00033840
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000b3fb7
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [EAX + 0x10],0x0
ADD dword ptr [ESP + 0x20],0x1
MOV EAX,dword ptr [ESP + 0x20]
CMP dword ptr [ESP + 0x38],EAX
JNZ 0x000b3dd8
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_000b3d50(int *param_1)\n\n{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000b3d50(int *param_1)\n\n{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000b3d50(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "double *pdVar3;" primitive_type (pointer_declarator "*pdVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "float fVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "double *pdVar14;" primitive_type (pointer_declarator "*pdVar14" * identifier) ;) (declaration "double *pdVar15;" primitive_type (pointer_declarator "*pdVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "double *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "FUN_00042799();" (call_expression "FUN_00042799()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_4c = omp_get_num_threads();" (assignment_expression "local_4c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x1c) / local_4c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / local_4c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "local_4c = *(int *)(iVar2 + 0x1c) % local_4c;" (assignment_expression "local_4c = *(int *)(iVar2 + 0x1c) % local_4c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % local_4c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }" if (parenthesized_expression "(iVar9 < local_4c)" ( (binary_expression "iVar9 < local_4c" identifier < identifier) )) (compound_statement "{\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) })) (expression_statement "local_4c = iVar9 * iVar10 + local_4c;" (assignment_expression "local_4c = iVar9 * iVar10 + local_4c" identifier = (binary_expression "iVar9 * iVar10 + local_4c" (binary_expression "iVar9 * iVar10" identifier * identifier) + identifier)) ;) (expression_statement "iVar10 = iVar10 + local_4c;" (assignment_expression "iVar10 = iVar10 + local_4c" identifier = (binary_expression "iVar10 + local_4c" identifier + identifier)) ;) (if_statement "if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }" if (parenthesized_expression "(local_4c < iVar10)" ( (binary_expression "local_4c < iVar10" identifier < identifier) )) (compound_statement "{\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }" { (expression_statement "iVar9 = param_1[2];" (assignment_expression "iVar9 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "pdVar3 = (double *)param_1[3];" (assignment_expression "pdVar3 = (double *)param_1[3]" identifier = (cast_expression "(double *)param_1[3]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = param_1[1];" (assignment_expression "iVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    }" { (if_statement "if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }" { (expression_statement "local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);" (assignment_expression "local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier = (cast_expression "(double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier (argument_list "(iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (if_statement "if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" if (parenthesized_expression "(local_50 == (double *)0x0)" ( (binary_expression "local_50 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000b3fac:\n          param_1[4] = 0;\n        }" { (labeled_statement "LAB_000b3fac:\n          param_1[4] = 0;" statement_identifier : (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" else (compound_statement "{\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" { (expression_statement "iVar12 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar12 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }" if (parenthesized_expression "(0 < iVar12)" ( (binary_expression "0 < iVar12" number_literal < identifier) )) (compound_statement "{\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }" { (expression_statement "iVar5 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (do_statement "do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);" do (compound_statement "{\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            }" { (if_statement "if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }" { (expression_statement "piVar6 = *(int **)(iVar2 + 0x2a8);" (assignment_expression "piVar6 = *(int **)(iVar2 + 0x2a8)" identifier = (pointer_expression "*(int **)(iVar2 + 0x2a8)" * (cast_expression "(int **)(iVar2 + 0x2a8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "piVar11 = piVar6;" (assignment_expression "piVar11 = piVar6" identifier = identifier) ;) (expression_statement "pdVar15 = local_50;" (assignment_expression "pdVar15 = local_50" identifier = identifier) ;) (do_statement "do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);" do (compound_statement "{\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                }" { (if_statement "if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }" if (parenthesized_expression "((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0)" ( (binary_expression "(*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0" (parenthesized_expression "(*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2)" ( (binary_expression "*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2" (pointer_expression "*(byte *)(piVar6 + *piVar11 * 3 + 1)" * (cast_expression "(byte *)(piVar6 + *piVar11 * 3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6 + *piVar11 * 3 + 1)" ( (binary_expression "piVar6 + *piVar11 * 3 + 1" (binary_expression "piVar6 + *piVar11 * 3" identifier + (binary_expression "*piVar11 * 3" (pointer_expression "*piVar11" * identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }" { (expression_statement "fVar8 = (float)*pdVar15;" (assignment_expression "fVar8 = (float)*pdVar15" identifier = (cast_expression "(float)*pdVar15" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pdVar15" * identifier))) ;) (expression_statement "pdVar14 = pdVar3 + 0xffff;" (assignment_expression "pdVar14 = pdVar3 + 0xffff" identifier = (binary_expression "pdVar3 + 0xffff" identifier + number_literal)) ;) (if_statement "if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }" if (parenthesized_expression "((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8))" ( (binary_expression "(fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)" (parenthesized_expression "(fVar8 < *(float *)(unaff_EBP + 0x1eb9ba))" ( (binary_expression "fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)" identifier < (pointer_expression "*(float *)(unaff_EBP + 0x1eb9ba)" * (cast_expression "(float *)(unaff_EBP + 0x1eb9ba)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x1eb9ba)" ( (binary_expression "unaff_EBP + 0x1eb9ba" identifier + number_literal) ))))) )) && (parenthesized_expression "(pdVar14 = pdVar3, 0.0 < fVar8)" ( (comma_expression "pdVar14 = pdVar3, 0.0 < fVar8" (assignment_expression "pdVar14 = pdVar3" identifier = identifier) , (binary_expression "0.0 < fVar8" number_literal < identifier)) ))) )) (compound_statement "{\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }" { (expression_statement "local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" identifier = (cast_expression "(int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" identifier (argument_list "(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" ( (binary_expression "fVar8 + *(float *)(unaff_EBP + 0x1eb3ce)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x1eb3ce)" * (cast_expression "(float *)(unaff_EBP + 0x1eb3ce)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x1eb3ce)" ( (binary_expression "unaff_EBP + 0x1eb3ce" identifier + number_literal) ))))) )))))) ;) (expression_statement "pdVar14 = pdVar3 + local_2c;" (assignment_expression "pdVar14 = pdVar3 + local_2c" identifier = (binary_expression "pdVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "*pdVar15 = *pdVar14;" (assignment_expression "*pdVar15 = *pdVar14" (pointer_expression "*pdVar15" * identifier) = (pointer_expression "*pdVar14" * identifier)) ;) })) (expression_statement "piVar11 = piVar11 + 3;" (assignment_expression "piVar11 = piVar11 + 3" identifier = (binary_expression "piVar11 + 3" identifier + number_literal)) ;) (expression_statement "pdVar15 = pdVar15 + 1;" (assignment_expression "pdVar15 = pdVar15 + 1" identifier = (binary_expression "pdVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar11 != piVar6 + iVar5 * 3)" ( (binary_expression "piVar11 != piVar6 + iVar5 * 3" identifier != (binary_expression "piVar6 + iVar5 * 3" identifier + (binary_expression "iVar5 * 3" identifier * number_literal))) )) ;) })) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "local_50 = local_50 + iVar5;" (assignment_expression "local_50 = local_50 + iVar5" identifier = (binary_expression "local_50 + iVar5" identifier + identifier)) ;) }) while (parenthesized_expression "(local_5c != iVar12)" ( (binary_expression "local_5c != iVar12" identifier != identifier) )) ;) })) (expression_statement "iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);" (assignment_expression "iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4)" identifier = (call_expression "SyncCacheViewAuthenticPixels(iVar9,iVar4)" identifier (argument_list "(iVar9,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar12 == 0) {\n            param_1[4] = 0;\n          }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[4] = 0;\n          }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 0x300) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x300) != 0" (pointer_expression "*(int *)(iVar2 + 0x300)" * (cast_expression "(int *)(iVar2 + 0x300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x300)" ( (binary_expression "iVar2 + 0x300" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }" { (expression_statement "puVar7 = (uint *)param_1[5];" (assignment_expression "puVar7 = (uint *)param_1[5]" identifier = (cast_expression "(uint *)param_1[5]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "uVar13 = *puVar7;" (assignment_expression "uVar13 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "uVar16 = puVar7[1];" (assignment_expression "uVar16 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);" do (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(longlong *)puVar7;" (assignment_expression "lVar1 = *(longlong *)puVar7" identifier = (pointer_expression "*(longlong *)puVar7" * (cast_expression "(longlong *)puVar7" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar17 = CONCAT44(uVar16,uVar13) == lVar1;" (assignment_expression "bVar17 = CONCAT44(uVar16,uVar13) == lVar1" identifier = (binary_expression "CONCAT44(uVar16,uVar13) == lVar1" (call_expression "CONCAT44(uVar16,uVar13)" identifier (argument_list "(uVar16,uVar13)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" if (parenthesized_expression "(bVar17)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }" { (expression_statement "*(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);" (assignment_expression "*(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" (pointer_expression "*(longlong *)puVar7" * (cast_expression "(longlong *)puVar7" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" identifier (argument_list "(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" ( (binary_expression "uVar16 + (0xfffffffe < uVar13)" identifier + (parenthesized_expression "(0xfffffffe < uVar13)" ( (binary_expression "0xfffffffe < uVar13" number_literal < identifier) ))) , (binary_expression "uVar13 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" else (compound_statement "{\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" { (expression_statement "uVar16 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar16 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar13 = (uint)lVar1;" (assignment_expression "uVar13 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar17)" ( (unary_expression "!bVar17" ! identifier) )) ;) (expression_statement "iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;" (assignment_expression "iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" identifier = (call_expression "SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" identifier (argument_list "(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" ( identifier , (binary_expression "unaff_EBP + 0x1fe747" identifier + number_literal) , (pointer_expression "*(undefined4 *)param_1[5]" * (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) , (subscript_expression "((undefined4 *)param_1[5])[1]" (parenthesized_expression "((undefined4 *)param_1[5])" ( (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) )) [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar12 == 0) goto LAB_000b3fac;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000b3fac;" goto statement_identifier ;)) })) }))) })) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != local_4c)" ( (binary_expression "iVar10 != local_4c" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\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 GammaImage._omp_fn.6(anon_struct_24_6_ca95b348 * param_0) */\n\nvoid __thiscall GammaImage__omp_fn_6(anon_struct_24_6_ca95b348 *this)\n\n{\n  longlong lVar1;\n  Image *image;\n  CacheView *cache_view;\n  double *pdVar2;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  size_t sVar4;\n  PixelChannelMap *pPVar5;\n  uint *puVar6;\n  float fVar7;\n  int iVar8;\n  int iVar9;\n  PixelChannelMap *pPVar10;\n  MagickBooleanType MVar11;\n  uint uVar12;\n  double *pdVar13;\n  double *pdVar14;\n  uint uVar15;\n  bool bVar16;\n  size_t local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  image = this->image;\n  local_4c = omp_get_num_threads();\n  iVar8 = omp_get_thread_num();\n  iVar9 = (int)image->rows / local_4c;\n  local_4c = (int)image->rows % local_4c;\n  if (iVar8 < local_4c) {\n    iVar9 = iVar9 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar8 * iVar9 + local_4c;\n  iVar9 = iVar9 + local_4c;\n  if (local_4c < iVar9) {\n    cache_view = this->image_view;\n    pdVar2 = this->gamma_map;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar9 != local_4c);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall GammaImage__omp_fn_6(anon_struct_24_6_ca95b348 *this)\n\n{\n  longlong lVar1;\n  Image *image;\n  CacheView *cache_view;\n  double *pdVar2;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  size_t sVar4;\n  PixelChannelMap *pPVar5;\n  uint *puVar6;\n  float fVar7;\n  int iVar8;\n  int iVar9;\n  PixelChannelMap *pPVar10;\n  MagickBooleanType MVar11;\n  uint uVar12;\n  double *pdVar13;\n  double *pdVar14;\n  uint uVar15;\n  bool bVar16;\n  size_t local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  image = this->image;\n  local_4c = omp_get_num_threads();\n  iVar8 = omp_get_thread_num();\n  iVar9 = (int)image->rows / local_4c;\n  local_4c = (int)image->rows % local_4c;\n  if (iVar8 < local_4c) {\n    iVar9 = iVar9 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar8 * iVar9 + local_4c;\n  iVar9 = iVar9 + local_4c;\n  if (local_4c < iVar9) {\n    cache_view = this->image_view;\n    pdVar2 = this->gamma_map;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar9 != local_4c);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "GammaImage__omp_fn_6(anon_struct_24_6_ca95b348 *this)" identifier (parameter_list "(anon_struct_24_6_ca95b348 *this)" ( (parameter_declaration "anon_struct_24_6_ca95b348 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  Image *image;\n  CacheView *cache_view;\n  double *pdVar2;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  size_t sVar4;\n  PixelChannelMap *pPVar5;\n  uint *puVar6;\n  float fVar7;\n  int iVar8;\n  int iVar9;\n  PixelChannelMap *pPVar10;\n  MagickBooleanType MVar11;\n  uint uVar12;\n  double *pdVar13;\n  double *pdVar14;\n  uint uVar15;\n  bool bVar16;\n  size_t local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  image = this->image;\n  local_4c = omp_get_num_threads();\n  iVar8 = omp_get_thread_num();\n  iVar9 = (int)image->rows / local_4c;\n  local_4c = (int)image->rows % local_4c;\n  if (iVar8 < local_4c) {\n    iVar9 = iVar9 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar8 * iVar9 + local_4c;\n  iVar9 = iVar9 + local_4c;\n  if (local_4c < iVar9) {\n    cache_view = this->image_view;\n    pdVar2 = this->gamma_map;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar9 != local_4c);\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "double *pdVar2;" primitive_type (pointer_declarator "*pdVar2" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "float fVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar10;" type_identifier (pointer_declarator "*pPVar10" * identifier) ;) (declaration "MagickBooleanType MVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "double *pdVar13;" primitive_type (pointer_declarator "*pdVar13" * identifier) ;) (declaration "double *pdVar14;" primitive_type (pointer_declarator "*pdVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "size_t local_5c;" primitive_type identifier ;) (declaration "double *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "image = this->image;" (assignment_expression "image = this->image" identifier = (field_expression "this->image" identifier -> field_identifier)) ;) (expression_statement "local_4c = omp_get_num_threads();" (assignment_expression "local_4c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = omp_get_thread_num();" (assignment_expression "iVar8 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = (int)image->rows / local_4c;" (assignment_expression "iVar9 = (int)image->rows / local_4c" identifier = (binary_expression "(int)image->rows / local_4c" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "local_4c = (int)image->rows % local_4c;" (assignment_expression "local_4c = (int)image->rows % local_4c" identifier = (binary_expression "(int)image->rows % local_4c" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar8 < local_4c) {\n    iVar9 = iVar9 + 1;\n    local_4c = 0;\n  }" if (parenthesized_expression "(iVar8 < local_4c)" ( (binary_expression "iVar8 < local_4c" identifier < identifier) )) (compound_statement "{\n    iVar9 = iVar9 + 1;\n    local_4c = 0;\n  }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) })) (expression_statement "local_4c = iVar8 * iVar9 + local_4c;" (assignment_expression "local_4c = iVar8 * iVar9 + local_4c" identifier = (binary_expression "iVar8 * iVar9 + local_4c" (binary_expression "iVar8 * iVar9" identifier * identifier) + identifier)) ;) (expression_statement "iVar9 = iVar9 + local_4c;" (assignment_expression "iVar9 = iVar9 + local_4c" identifier = (binary_expression "iVar9 + local_4c" identifier + identifier)) ;) (if_statement "if (local_4c < iVar9) {\n    cache_view = this->image_view;\n    pdVar2 = this->gamma_map;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar9 != local_4c);\n  }" if (parenthesized_expression "(local_4c < iVar9)" ( (binary_expression "local_4c < iVar9" identifier < identifier) )) (compound_statement "{\n    cache_view = this->image_view;\n    pdVar2 = this->gamma_map;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar9 != local_4c);\n  }" { (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 "pdVar2 = this->gamma_map;" (assignment_expression "pdVar2 = this->gamma_map" identifier = (field_expression "this->gamma_map" 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_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar9 != local_4c);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);\n        if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }\n      }" { (expression_statement "local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception);" (assignment_expression "local_50 = GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception)" identifier = (call_expression "GetCacheViewAuthenticPixels(cache_view,0,local_4c,image->columns,1,exception)" identifier (argument_list "(cache_view,0,local_4c,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (local_50 == (Quantum *)0x0) {\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }\n        else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }" if (parenthesized_expression "(local_50 == (Quantum *)0x0)" ( (binary_expression "local_50 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000b3fac:\n          this->status = MagickFalse;\n        }" { (labeled_statement "LAB_000b3fac:\n          this->status = MagickFalse;" statement_identifier : (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;)) }) (else_clause "else {\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }" else (compound_statement "{\n          sVar3 = image->columns;\n          if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }\n          MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }\n        }" { (expression_statement "sVar3 = image->columns;" (assignment_expression "sVar3 = image->columns" identifier = (field_expression "image->columns" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar3) {\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }" if (parenthesized_expression "(0 < (int)sVar3)" ( (binary_expression "0 < (int)sVar3" number_literal < (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            sVar4 = image->number_channels;\n            local_5c = 0;\n            do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);\n          }" { (expression_statement "sVar4 = image->number_channels;" (assignment_expression "sVar4 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (do_statement "do {\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            } while (local_5c != sVar3);" do (compound_statement "{\n              if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + sVar4;\n            }" { (if_statement "if (0 < (int)sVar4) {\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }" if (parenthesized_expression "(0 < (int)sVar4)" ( (binary_expression "0 < (int)sVar4" number_literal < (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                pPVar5 = image->channel_map;\n                pPVar10 = pPVar5;\n                pdVar14 = local_50;\n                do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);\n              }" { (expression_statement "pPVar5 = image->channel_map;" (assignment_expression "pPVar5 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "pPVar10 = pPVar5;" (assignment_expression "pPVar10 = pPVar5" identifier = identifier) ;) (expression_statement "pdVar14 = local_50;" (assignment_expression "pdVar14 = local_50" identifier = identifier) ;) (do_statement "do {\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                } while (pPVar10 != pPVar5 + sVar4);" do (compound_statement "{\n                  if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }\n                  pPVar10 = pPVar10 + 1;\n                  pdVar14 = pdVar14 + 1;\n                }" { (if_statement "if ((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait) {\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }" if (parenthesized_expression "((pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait)" ( (binary_expression "(pPVar5[pPVar10->channel].traits & UpdatePixelTrait) != UndefinedPixelTrait" (parenthesized_expression "(pPVar5[pPVar10->channel].traits & UpdatePixelTrait)" ( (binary_expression "pPVar5[pPVar10->channel].traits & UpdatePixelTrait" (field_expression "pPVar5[pPVar10->channel].traits" (subscript_expression "pPVar5[pPVar10->channel]" identifier [ (field_expression "pPVar10->channel" identifier -> field_identifier) ]) . field_identifier) & identifier) )) != identifier) )) (compound_statement "{\n                    fVar7 = (float)*pdVar14;\n                    pdVar13 = pdVar2 + 0xffff;\n                    if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }\n                    *pdVar14 = *pdVar13;\n                  }" { (expression_statement "fVar7 = (float)*pdVar14;" (assignment_expression "fVar7 = (float)*pdVar14" identifier = (cast_expression "(float)*pdVar14" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pdVar14" * identifier))) ;) (expression_statement "pdVar13 = pdVar2 + 0xffff;" (assignment_expression "pdVar13 = pdVar2 + 0xffff" identifier = (binary_expression "pdVar2 + 0xffff" identifier + number_literal)) ;) (if_statement "if ((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)) {\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }" if (parenthesized_expression "((fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7))" ( (binary_expression "(fVar7 < DAT_0029f710) && (pdVar13 = pdVar2, 0.0 < fVar7)" (parenthesized_expression "(fVar7 < DAT_0029f710)" ( (binary_expression "fVar7 < DAT_0029f710" identifier < identifier) )) && (parenthesized_expression "(pdVar13 = pdVar2, 0.0 < fVar7)" ( (comma_expression "pdVar13 = pdVar2, 0.0 < fVar7" (assignment_expression "pdVar13 = pdVar2" identifier = identifier) , (binary_expression "0.0 < fVar7" number_literal < identifier)) ))) )) (compound_statement "{\n                      local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);\n                      pdVar13 = pdVar2 + local_2c;\n                    }" { (expression_statement "local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124);" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar7 + DAT_0029f124)" identifier = (cast_expression "(int)(longlong)ROUND(fVar7 + DAT_0029f124)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(fVar7 + DAT_0029f124)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar7 + DAT_0029f124)" identifier (argument_list "(fVar7 + DAT_0029f124)" ( (binary_expression "fVar7 + DAT_0029f124" identifier + identifier) )))))) ;) (expression_statement "pdVar13 = pdVar2 + local_2c;" (assignment_expression "pdVar13 = pdVar2 + local_2c" identifier = (binary_expression "pdVar2 + local_2c" identifier + identifier)) ;) })) (expression_statement "*pdVar14 = *pdVar13;" (assignment_expression "*pdVar14 = *pdVar13" (pointer_expression "*pdVar14" * identifier) = (pointer_expression "*pdVar13" * identifier)) ;) })) (expression_statement "pPVar10 = pPVar10 + 1;" (assignment_expression "pPVar10 = pPVar10 + 1" identifier = (binary_expression "pPVar10 + 1" identifier + number_literal)) ;) (expression_statement "pdVar14 = pdVar14 + 1;" (assignment_expression "pdVar14 = pdVar14 + 1" identifier = (binary_expression "pdVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pPVar10 != pPVar5 + sVar4)" ( (binary_expression "pPVar10 != pPVar5 + sVar4" identifier != (binary_expression "pPVar5 + sVar4" identifier + identifier)) )) ;) })) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "local_50 = local_50 + sVar4;" (assignment_expression "local_50 = local_50 + sVar4" identifier = (binary_expression "local_50 + sVar4" identifier + identifier)) ;) }) while (parenthesized_expression "(local_5c != sVar3)" ( (binary_expression "local_5c != sVar3" identifier != identifier) )) ;) })) (expression_statement "MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar11 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar11 == MagickFalse) {\n            this->status = MagickFalse;\n          }" if (parenthesized_expression "(MVar11 == MagickFalse)" ( (binary_expression "MVar11 == MagickFalse" identifier == identifier) )) (compound_statement "{\n            this->status = MagickFalse;\n          }" { (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }" if (parenthesized_expression "(image->progress_monitor != (MagickProgressMonitor)0x0)" ( (binary_expression "image->progress_monitor != (MagickProgressMonitor)0x0" (field_expression "image->progress_monitor" identifier -> field_identifier) != (cast_expression "(MagickProgressMonitor)0x0" ( (type_descriptor "MagickProgressMonitor" type_identifier) ) number_literal)) )) (compound_statement "{\n            puVar6 = (uint *)this->progress;\n            uVar12 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);\n            if (MVar11 == MagickFalse) goto LAB_000b3fac;\n          }" { (expression_statement "puVar6 = (uint *)this->progress;" (assignment_expression "puVar6 = (uint *)this->progress" identifier = (cast_expression "(uint *)this->progress" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->progress" identifier -> field_identifier))) ;) (expression_statement "uVar12 = *puVar6;" (assignment_expression "uVar12 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar15 = puVar6[1];" (assignment_expression "uVar15 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar16);" do (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar6;\n              bVar16 = CONCAT44(uVar15,uVar12) == lVar1;\n              if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(longlong *)puVar6;" (assignment_expression "lVar1 = *(longlong *)puVar6" identifier = (pointer_expression "*(longlong *)puVar6" * (cast_expression "(longlong *)puVar6" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar16 = CONCAT44(uVar15,uVar12) == lVar1;" (assignment_expression "bVar16 = CONCAT44(uVar15,uVar12) == lVar1" identifier = (binary_expression "CONCAT44(uVar15,uVar12) == lVar1" (call_expression "CONCAT44(uVar15,uVar12)" identifier (argument_list "(uVar15,uVar12)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar16) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);\n              }" { (expression_statement "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1);" (assignment_expression "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1)" (pointer_expression "*(longlong *)puVar6" * (cast_expression "(longlong *)puVar6" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar15 + (0xfffffffe < uVar12),uVar12 + 1)" identifier (argument_list "(uVar15 + (0xfffffffe < uVar12),uVar12 + 1)" ( (binary_expression "uVar15 + (0xfffffffe < uVar12)" identifier + (parenthesized_expression "(0xfffffffe < uVar12)" ( (binary_expression "0xfffffffe < uVar12" number_literal < identifier) ))) , (binary_expression "uVar12 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }" else (compound_statement "{\n                uVar15 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar12 = (uint)lVar1;\n              }" { (expression_statement "uVar15 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar15 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar12 = (uint)lVar1;" (assignment_expression "uVar12 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar16)" ( (unary_expression "!bVar16" ! identifier) )) ;) (expression_statement "MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows);" (assignment_expression "MVar11 = SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows)" identifier = (call_expression "SetImageProgress(image,"Gamma/Image",*this->progress,(ulonglong)image->rows)" identifier (argument_list "(image,"Gamma/Image",*this->progress,(ulonglong)image->rows)" ( identifier , (string_literal ""Gamma/Image"" " string_content ") , (pointer_expression "*this->progress" * (field_expression "this->progress" identifier -> field_identifier)) , (cast_expression "(ulonglong)image->rows" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "image->rows" identifier -> field_identifier)) )))) ;) (if_statement "if (MVar11 == MagickFalse) goto LAB_000b3fac;" if (parenthesized_expression "(MVar11 == MagickFalse)" ( (binary_expression "MVar11 == MagickFalse" identifier == identifier) )) (goto_statement "goto LAB_000b3fac;" goto statement_identifier ;)) })) }))) })) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 != local_4c)" ( (binary_expression "iVar9 != local_4c" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000b3d50(int *param_1)\n\n{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000b3d50(int *param_1)\n\n{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000b3d50(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "double *pdVar3;" primitive_type (pointer_declarator "*pdVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "float fVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "double *pdVar14;" primitive_type (pointer_declarator "*pdVar14" * identifier) ;) (declaration "double *pdVar15;" primitive_type (pointer_declarator "*pdVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "double *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "FUN_00042799();" (call_expression "FUN_00042799()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_4c = omp_get_num_threads();" (assignment_expression "local_4c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x1c) / local_4c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / local_4c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "local_4c = *(int *)(iVar2 + 0x1c) % local_4c;" (assignment_expression "local_4c = *(int *)(iVar2 + 0x1c) % local_4c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % local_4c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }" if (parenthesized_expression "(iVar9 < local_4c)" ( (binary_expression "iVar9 < local_4c" identifier < identifier) )) (compound_statement "{\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) })) (expression_statement "local_4c = iVar9 * iVar10 + local_4c;" (assignment_expression "local_4c = iVar9 * iVar10 + local_4c" identifier = (binary_expression "iVar9 * iVar10 + local_4c" (binary_expression "iVar9 * iVar10" identifier * identifier) + identifier)) ;) (expression_statement "iVar10 = iVar10 + local_4c;" (assignment_expression "iVar10 = iVar10 + local_4c" identifier = (binary_expression "iVar10 + local_4c" identifier + identifier)) ;) (if_statement "if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }" if (parenthesized_expression "(local_4c < iVar10)" ( (binary_expression "local_4c < iVar10" identifier < identifier) )) (compound_statement "{\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }" { (expression_statement "iVar9 = param_1[2];" (assignment_expression "iVar9 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "pdVar3 = (double *)param_1[3];" (assignment_expression "pdVar3 = (double *)param_1[3]" identifier = (cast_expression "(double *)param_1[3]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = param_1[1];" (assignment_expression "iVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    }" { (if_statement "if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }" { (expression_statement "local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);" (assignment_expression "local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier = (cast_expression "(double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier (argument_list "(iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (if_statement "if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" if (parenthesized_expression "(local_50 == (double *)0x0)" ( (binary_expression "local_50 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000b3fac:\n          param_1[4] = 0;\n        }" { (labeled_statement "LAB_000b3fac:\n          param_1[4] = 0;" statement_identifier : (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" else (compound_statement "{\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" { (expression_statement "iVar12 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar12 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }" if (parenthesized_expression "(0 < iVar12)" ( (binary_expression "0 < iVar12" number_literal < identifier) )) (compound_statement "{\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }" { (expression_statement "iVar5 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (do_statement "do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);" do (compound_statement "{\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            }" { (if_statement "if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }" { (expression_statement "piVar6 = *(int **)(iVar2 + 0x2a8);" (assignment_expression "piVar6 = *(int **)(iVar2 + 0x2a8)" identifier = (pointer_expression "*(int **)(iVar2 + 0x2a8)" * (cast_expression "(int **)(iVar2 + 0x2a8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "piVar11 = piVar6;" (assignment_expression "piVar11 = piVar6" identifier = identifier) ;) (expression_statement "pdVar15 = local_50;" (assignment_expression "pdVar15 = local_50" identifier = identifier) ;) (do_statement "do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);" do (compound_statement "{\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                }" { (if_statement "if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }" if (parenthesized_expression "((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0)" ( (binary_expression "(*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0" (parenthesized_expression "(*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2)" ( (binary_expression "*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2" (pointer_expression "*(byte *)(piVar6 + *piVar11 * 3 + 1)" * (cast_expression "(byte *)(piVar6 + *piVar11 * 3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6 + *piVar11 * 3 + 1)" ( (binary_expression "piVar6 + *piVar11 * 3 + 1" (binary_expression "piVar6 + *piVar11 * 3" identifier + (binary_expression "*piVar11 * 3" (pointer_expression "*piVar11" * identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }" { (expression_statement "fVar8 = (float)*pdVar15;" (assignment_expression "fVar8 = (float)*pdVar15" identifier = (cast_expression "(float)*pdVar15" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pdVar15" * identifier))) ;) (expression_statement "pdVar14 = pdVar3 + 0xffff;" (assignment_expression "pdVar14 = pdVar3 + 0xffff" identifier = (binary_expression "pdVar3 + 0xffff" identifier + number_literal)) ;) (if_statement "if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }" if (parenthesized_expression "((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8))" ( (binary_expression "(fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)" (parenthesized_expression "(fVar8 < *(float *)(unaff_EBP + 0x1eb9ba))" ( (binary_expression "fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)" identifier < (pointer_expression "*(float *)(unaff_EBP + 0x1eb9ba)" * (cast_expression "(float *)(unaff_EBP + 0x1eb9ba)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x1eb9ba)" ( (binary_expression "unaff_EBP + 0x1eb9ba" identifier + number_literal) ))))) )) && (parenthesized_expression "(pdVar14 = pdVar3, 0.0 < fVar8)" ( (comma_expression "pdVar14 = pdVar3, 0.0 < fVar8" (assignment_expression "pdVar14 = pdVar3" identifier = identifier) , (binary_expression "0.0 < fVar8" number_literal < identifier)) ))) )) (compound_statement "{\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }" { (expression_statement "local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" identifier = (cast_expression "(int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" identifier (argument_list "(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" ( (binary_expression "fVar8 + *(float *)(unaff_EBP + 0x1eb3ce)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x1eb3ce)" * (cast_expression "(float *)(unaff_EBP + 0x1eb3ce)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x1eb3ce)" ( (binary_expression "unaff_EBP + 0x1eb3ce" identifier + number_literal) ))))) )))))) ;) (expression_statement "pdVar14 = pdVar3 + local_2c;" (assignment_expression "pdVar14 = pdVar3 + local_2c" identifier = (binary_expression "pdVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "*pdVar15 = *pdVar14;" (assignment_expression "*pdVar15 = *pdVar14" (pointer_expression "*pdVar15" * identifier) = (pointer_expression "*pdVar14" * identifier)) ;) })) (expression_statement "piVar11 = piVar11 + 3;" (assignment_expression "piVar11 = piVar11 + 3" identifier = (binary_expression "piVar11 + 3" identifier + number_literal)) ;) (expression_statement "pdVar15 = pdVar15 + 1;" (assignment_expression "pdVar15 = pdVar15 + 1" identifier = (binary_expression "pdVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar11 != piVar6 + iVar5 * 3)" ( (binary_expression "piVar11 != piVar6 + iVar5 * 3" identifier != (binary_expression "piVar6 + iVar5 * 3" identifier + (binary_expression "iVar5 * 3" identifier * number_literal))) )) ;) })) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "local_50 = local_50 + iVar5;" (assignment_expression "local_50 = local_50 + iVar5" identifier = (binary_expression "local_50 + iVar5" identifier + identifier)) ;) }) while (parenthesized_expression "(local_5c != iVar12)" ( (binary_expression "local_5c != iVar12" identifier != identifier) )) ;) })) (expression_statement "iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);" (assignment_expression "iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4)" identifier = (call_expression "SyncCacheViewAuthenticPixels(iVar9,iVar4)" identifier (argument_list "(iVar9,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar12 == 0) {\n            param_1[4] = 0;\n          }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[4] = 0;\n          }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 0x300) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x300) != 0" (pointer_expression "*(int *)(iVar2 + 0x300)" * (cast_expression "(int *)(iVar2 + 0x300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x300)" ( (binary_expression "iVar2 + 0x300" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }" { (expression_statement "puVar7 = (uint *)param_1[5];" (assignment_expression "puVar7 = (uint *)param_1[5]" identifier = (cast_expression "(uint *)param_1[5]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "uVar13 = *puVar7;" (assignment_expression "uVar13 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "uVar16 = puVar7[1];" (assignment_expression "uVar16 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);" do (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(longlong *)puVar7;" (assignment_expression "lVar1 = *(longlong *)puVar7" identifier = (pointer_expression "*(longlong *)puVar7" * (cast_expression "(longlong *)puVar7" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar17 = CONCAT44(uVar16,uVar13) == lVar1;" (assignment_expression "bVar17 = CONCAT44(uVar16,uVar13) == lVar1" identifier = (binary_expression "CONCAT44(uVar16,uVar13) == lVar1" (call_expression "CONCAT44(uVar16,uVar13)" identifier (argument_list "(uVar16,uVar13)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" if (parenthesized_expression "(bVar17)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }" { (expression_statement "*(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);" (assignment_expression "*(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" (pointer_expression "*(longlong *)puVar7" * (cast_expression "(longlong *)puVar7" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" identifier (argument_list "(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" ( (binary_expression "uVar16 + (0xfffffffe < uVar13)" identifier + (parenthesized_expression "(0xfffffffe < uVar13)" ( (binary_expression "0xfffffffe < uVar13" number_literal < identifier) ))) , (binary_expression "uVar13 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" else (compound_statement "{\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" { (expression_statement "uVar16 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar16 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar13 = (uint)lVar1;" (assignment_expression "uVar13 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar17)" ( (unary_expression "!bVar17" ! identifier) )) ;) (expression_statement "iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;" (assignment_expression "iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" identifier = (call_expression "SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" identifier (argument_list "(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" ( identifier , (binary_expression "unaff_EBP + 0x1fe747" identifier + number_literal) , (pointer_expression "*(undefined4 *)param_1[5]" * (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) , (subscript_expression "((undefined4 *)param_1[5])[1]" (parenthesized_expression "((undefined4 *)param_1[5])" ( (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) )) [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar12 == 0) goto LAB_000b3fac;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000b3fac;" goto statement_identifier ;)) })) }))) })) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != local_4c)" ( (binary_expression "iVar10 != local_4c" 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( 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 { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_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 = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression LIT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + (binary_expression IDENT * LIT))) )) ;) })) (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 ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT < IDENT) ))) , (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (unary_expression ! IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto 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_000b3d50(int *param_1)\n\n{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b3d50(int *param_1)" (identifier "FUN_000b3d50") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  longlong lVar1;\n  int iVar2;\n  double *pdVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  uint *puVar7;\n  float fVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  uint uVar13;\n  double *pdVar14;\n  double *pdVar15;\n  uint uVar16;\n  int unaff_EBP;\n  bool bVar17;\n  int local_5c;\n  double *local_50;\n  int local_4c;\n  int local_2c;\n  \n  FUN_00042799();\n  iVar2 = *param_1;\n  local_4c = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;\n  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;\n  if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }\n  local_4c = iVar9 * iVar10 + local_4c;\n  iVar10 = iVar10 + local_4c;\n  if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }\n  return;\n}" ({ "{") (declaration "longlong lVar1;" (type_identifier "longlong") (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "double *pdVar3;" (primitive_type "double") (pointer_declarator "*pdVar3" (* "*") (identifier "pdVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "float fVar8;" (primitive_type "float") (identifier "fVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "double *pdVar14;" (primitive_type "double") (pointer_declarator "*pdVar14" (* "*") (identifier "pdVar14")) (; ";")) (declaration "double *pdVar15;" (primitive_type "double") (pointer_declarator "*pdVar15" (* "*") (identifier "pdVar15")) (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "bool bVar17;" (primitive_type "bool") (identifier "bVar17") (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "double *local_50;" (primitive_type "double") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "FUN_00042799();" (call_expression "FUN_00042799()" (identifier "FUN_00042799") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_4c = omp_get_num_threads();" (assignment_expression "local_4c = omp_get_num_threads()" (identifier "local_4c") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" (identifier "iVar9") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x1c) / local_4c" (identifier "iVar10") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) / local_4c" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (/ "/") (identifier "local_4c"))) (; ";")) (expression_statement "local_4c = *(int *)(iVar2 + 0x1c) % local_4c;" (assignment_expression "local_4c = *(int *)(iVar2 + 0x1c) % local_4c" (identifier "local_4c") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) % local_4c" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (% "%") (identifier "local_4c"))) (; ";")) (if_statement "if (iVar9 < local_4c) {\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }" (if "if") (parenthesized_expression "(iVar9 < local_4c)" (( "(") (binary_expression "iVar9 < local_4c" (identifier "iVar9") (< "<") (identifier "local_4c")) () ")")) (compound_statement "{\n    iVar10 = iVar10 + 1;\n    local_4c = 0;\n  }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_4c = iVar9 * iVar10 + local_4c;" (assignment_expression "local_4c = iVar9 * iVar10 + local_4c" (identifier "local_4c") (= "=") (binary_expression "iVar9 * iVar10 + local_4c" (binary_expression "iVar9 * iVar10" (identifier "iVar9") (* "*") (identifier "iVar10")) (+ "+") (identifier "local_4c"))) (; ";")) (expression_statement "iVar10 = iVar10 + local_4c;" (assignment_expression "iVar10 = iVar10 + local_4c" (identifier "iVar10") (= "=") (binary_expression "iVar10 + local_4c" (identifier "iVar10") (+ "+") (identifier "local_4c"))) (; ";")) (if_statement "if (local_4c < iVar10) {\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }" (if "if") (parenthesized_expression "(local_4c < iVar10)" (( "(") (binary_expression "local_4c < iVar10" (identifier "local_4c") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n    iVar9 = param_1[2];\n    pdVar3 = (double *)param_1[3];\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);\n  }" ({ "{") (expression_statement "iVar9 = param_1[2];" (assignment_expression "iVar9 = param_1[2]" (identifier "iVar9") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pdVar3 = (double *)param_1[3];" (assignment_expression "pdVar3 = (double *)param_1[3]" (identifier "pdVar3") (= "=") (cast_expression "(double *)param_1[3]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "iVar4 = param_1[1];" (assignment_expression "iVar4 = param_1[1]" (identifier "iVar4") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    } while (iVar10 != local_4c);" (do "do") (compound_statement "{\n      if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }\n      local_4c = local_4c + 1;\n    }" ({ "{") (if_statement "if (param_1[4] != 0) {\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(param_1[4] != 0)" (( "(") (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);\n        if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }\n      }" ({ "{") (expression_statement "local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);" (assignment_expression "local_50 = (double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (identifier "local_50") (= "=") (cast_expression "(double *)\n                   GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetCacheViewAuthenticPixels\n                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (identifier "GetCacheViewAuthenticPixels") (argument_list "(iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (( "(") (identifier "iVar9") (, ",") (number_literal "0") (, ",") (identifier "local_4c") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar4") () ")"))))) (; ";")) (if_statement "if (local_50 == (double *)0x0) {\nLAB_000b3fac:\n          param_1[4] = 0;\n        }\n        else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" (if "if") (parenthesized_expression "(local_50 == (double *)0x0)" (( "(") (binary_expression "local_50 == (double *)0x0" (identifier "local_50") (== "==") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000b3fac:\n          param_1[4] = 0;\n        }" ({ "{") (labeled_statement "LAB_000b3fac:\n          param_1[4] = 0;" (statement_identifier "LAB_000b3fac") (: ":") (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" (else "else") (compound_statement "{\n          iVar12 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }\n          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);\n          if (iVar12 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }\n        }" ({ "{") (expression_statement "iVar12 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar12 = *(int *)(iVar2 + 0x18)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0 < iVar12) {\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }" (if "if") (parenthesized_expression "(0 < iVar12)" (( "(") (binary_expression "0 < iVar12" (number_literal "0") (< "<") (identifier "iVar12")) () ")")) (compound_statement "{\n            iVar5 = *(int *)(iVar2 + 0x298);\n            local_5c = 0;\n            do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);\n          }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x298)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar2 + 0x298)" (* "*") (cast_expression "(int *)(iVar2 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x298)" (( "(") (binary_expression "iVar2 + 0x298" (identifier "iVar2") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            } while (local_5c != iVar12);" (do "do") (compound_statement "{\n              if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }\n              local_5c = local_5c + 1;\n              local_50 = local_50 + iVar5;\n            }" ({ "{") (if_statement "if (0 < iVar5) {\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n                piVar6 = *(int **)(iVar2 + 0x2a8);\n                piVar11 = piVar6;\n                pdVar15 = local_50;\n                do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);\n              }" ({ "{") (expression_statement "piVar6 = *(int **)(iVar2 + 0x2a8);" (assignment_expression "piVar6 = *(int **)(iVar2 + 0x2a8)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(iVar2 + 0x2a8)" (* "*") (cast_expression "(int **)(iVar2 + 0x2a8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x2a8)" (( "(") (binary_expression "iVar2 + 0x2a8" (identifier "iVar2") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "piVar11 = piVar6;" (assignment_expression "piVar11 = piVar6" (identifier "piVar11") (= "=") (identifier "piVar6")) (; ";")) (expression_statement "pdVar15 = local_50;" (assignment_expression "pdVar15 = local_50" (identifier "pdVar15") (= "=") (identifier "local_50")) (; ";")) (do_statement "do {\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                } while (piVar11 != piVar6 + iVar5 * 3);" (do "do") (compound_statement "{\n                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }\n                  piVar11 = piVar11 + 3;\n                  pdVar15 = pdVar15 + 1;\n                }" ({ "{") (if_statement "if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }" (if "if") (parenthesized_expression "((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0" (parenthesized_expression "(*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2)" (( "(") (binary_expression "*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2" (pointer_expression "*(byte *)(piVar6 + *piVar11 * 3 + 1)" (* "*") (cast_expression "(byte *)(piVar6 + *piVar11 * 3 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar6 + *piVar11 * 3 + 1)" (( "(") (binary_expression "piVar6 + *piVar11 * 3 + 1" (binary_expression "piVar6 + *piVar11 * 3" (identifier "piVar6") (+ "+") (binary_expression "*piVar11 * 3" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (* "*") (number_literal "3"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    fVar8 = (float)*pdVar15;\n                    pdVar14 = pdVar3 + 0xffff;\n                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }\n                    *pdVar15 = *pdVar14;\n                  }" ({ "{") (expression_statement "fVar8 = (float)*pdVar15;" (assignment_expression "fVar8 = (float)*pdVar15" (identifier "fVar8") (= "=") (cast_expression "(float)*pdVar15" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*pdVar15" (* "*") (identifier "pdVar15")))) (; ";")) (expression_statement "pdVar14 = pdVar3 + 0xffff;" (assignment_expression "pdVar14 = pdVar3 + 0xffff" (identifier "pdVar14") (= "=") (binary_expression "pdVar3 + 0xffff" (identifier "pdVar3") (+ "+") (number_literal "0xffff"))) (; ";")) (if_statement "if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)) {\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }" (if "if") (parenthesized_expression "((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8))" (( "(") (binary_expression "(fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&\n                       (pdVar14 = pdVar3, 0.0 < fVar8)" (parenthesized_expression "(fVar8 < *(float *)(unaff_EBP + 0x1eb9ba))" (( "(") (binary_expression "fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)" (identifier "fVar8") (< "<") (pointer_expression "*(float *)(unaff_EBP + 0x1eb9ba)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x1eb9ba)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x1eb9ba)" (( "(") (binary_expression "unaff_EBP + 0x1eb9ba" (identifier "unaff_EBP") (+ "+") (number_literal "0x1eb9ba")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(pdVar14 = pdVar3, 0.0 < fVar8)" (( "(") (comma_expression "pdVar14 = pdVar3, 0.0 < fVar8" (assignment_expression "pdVar14 = pdVar3" (identifier "pdVar14") (= "=") (identifier "pdVar3")) (, ",") (binary_expression "0.0 < fVar8" (number_literal "0.0") (< "<") (identifier "fVar8"))) () ")"))) () ")")) (compound_statement "{\n                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));\n                      pdVar14 = pdVar3 + local_2c;\n                    }" ({ "{") (expression_statement "local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" (identifier "local_2c") (= "=") (cast_expression "(int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" (identifier "ROUND") (argument_list "(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce))" (( "(") (binary_expression "fVar8 + *(float *)(unaff_EBP + 0x1eb3ce)" (identifier "fVar8") (+ "+") (pointer_expression "*(float *)(unaff_EBP + 0x1eb3ce)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x1eb3ce)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x1eb3ce)" (( "(") (binary_expression "unaff_EBP + 0x1eb3ce" (identifier "unaff_EBP") (+ "+") (number_literal "0x1eb3ce")) () ")"))))) () ")")))))) (; ";")) (expression_statement "pdVar14 = pdVar3 + local_2c;" (assignment_expression "pdVar14 = pdVar3 + local_2c" (identifier "pdVar14") (= "=") (binary_expression "pdVar3 + local_2c" (identifier "pdVar3") (+ "+") (identifier "local_2c"))) (; ";")) (} "}"))) (expression_statement "*pdVar15 = *pdVar14;" (assignment_expression "*pdVar15 = *pdVar14" (pointer_expression "*pdVar15" (* "*") (identifier "pdVar15")) (= "=") (pointer_expression "*pdVar14" (* "*") (identifier "pdVar14"))) (; ";")) (} "}"))) (expression_statement "piVar11 = piVar11 + 3;" (assignment_expression "piVar11 = piVar11 + 3" (identifier "piVar11") (= "=") (binary_expression "piVar11 + 3" (identifier "piVar11") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pdVar15 = pdVar15 + 1;" (assignment_expression "pdVar15 = pdVar15 + 1" (identifier "pdVar15") (= "=") (binary_expression "pdVar15 + 1" (identifier "pdVar15") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar11 != piVar6 + iVar5 * 3)" (( "(") (binary_expression "piVar11 != piVar6 + iVar5 * 3" (identifier "piVar11") (!= "!=") (binary_expression "piVar6 + iVar5 * 3" (identifier "piVar6") (+ "+") (binary_expression "iVar5 * 3" (identifier "iVar5") (* "*") (number_literal "3")))) () ")")) (; ";")) (} "}"))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_50 = local_50 + iVar5;" (assignment_expression "local_50 = local_50 + iVar5" (identifier "local_50") (= "=") (binary_expression "local_50 + iVar5" (identifier "local_50") (+ "+") (identifier "iVar5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_5c != iVar12)" (( "(") (binary_expression "local_5c != iVar12" (identifier "local_5c") (!= "!=") (identifier "iVar12")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);" (assignment_expression "iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4)" (identifier "iVar12") (= "=") (call_expression "SyncCacheViewAuthenticPixels(iVar9,iVar4)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(iVar9,iVar4)" (( "(") (identifier "iVar9") (, ",") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (iVar12 == 0) {\n            param_1[4] = 0;\n          }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            param_1[4] = 0;\n          }" ({ "{") (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x300) != 0) {\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x300) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x300) != 0" (pointer_expression "*(int *)(iVar2 + 0x300)" (* "*") (cast_expression "(int *)(iVar2 + 0x300)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x300)" (( "(") (binary_expression "iVar2 + 0x300" (identifier "iVar2") (+ "+") (number_literal "0x300")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            puVar7 = (uint *)param_1[5];\n            uVar13 = *puVar7;\n            uVar16 = puVar7[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;\n            if (iVar12 == 0) goto LAB_000b3fac;\n          }" ({ "{") (expression_statement "puVar7 = (uint *)param_1[5];" (assignment_expression "puVar7 = (uint *)param_1[5]" (identifier "puVar7") (= "=") (cast_expression "(uint *)param_1[5]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "uVar13 = *puVar7;" (assignment_expression "uVar13 = *puVar7" (identifier "uVar13") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "uVar16 = puVar7[1];" (assignment_expression "uVar16 = puVar7[1]" (identifier "uVar16") (= "=") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar17);" (do "do") (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar7;\n              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;\n              if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar1 = *(longlong *)puVar7;" (assignment_expression "lVar1 = *(longlong *)puVar7" (identifier "lVar1") (= "=") (pointer_expression "*(longlong *)puVar7" (* "*") (cast_expression "(longlong *)puVar7" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7")))) (; ";")) (expression_statement "bVar17 = CONCAT44(uVar16,uVar13) == lVar1;" (assignment_expression "bVar17 = CONCAT44(uVar16,uVar13) == lVar1" (identifier "bVar17") (= "=") (binary_expression "CONCAT44(uVar16,uVar13) == lVar1" (call_expression "CONCAT44(uVar16,uVar13)" (identifier "CONCAT44") (argument_list "(uVar16,uVar13)" (( "(") (identifier "uVar16") (, ",") (identifier "uVar13") () ")"))) (== "==") (identifier "lVar1"))) (; ";")) (if_statement "if (bVar17) {\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }\n              else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" (if "if") (parenthesized_expression "(bVar17)" (( "(") (identifier "bVar17") () ")")) (compound_statement "{\n                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);\n              }" ({ "{") (expression_statement "*(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);" (assignment_expression "*(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" (pointer_expression "*(longlong *)puVar7" (* "*") (cast_expression "(longlong *)puVar7" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7"))) (= "=") (call_expression "CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" (identifier "CONCAT44") (argument_list "(uVar16 + (0xfffffffe < uVar13),uVar13 + 1)" (( "(") (binary_expression "uVar16 + (0xfffffffe < uVar13)" (identifier "uVar16") (+ "+") (parenthesized_expression "(0xfffffffe < uVar13)" (( "(") (binary_expression "0xfffffffe < uVar13" (number_literal "0xfffffffe") (< "<") (identifier "uVar13")) () ")"))) (, ",") (binary_expression "uVar13 + 1" (identifier "uVar13") (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" (else "else") (compound_statement "{\n                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar13 = (uint)lVar1;\n              }" ({ "{") (expression_statement "uVar16 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar16 = (uint)((ulonglong)lVar1 >> 0x20)" (identifier "uVar16") (= "=") (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar1 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar13 = (uint)lVar1;" (assignment_expression "uVar13 = (uint)lVar1" (identifier "uVar13") (= "=") (cast_expression "(uint)lVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar1"))) (; ";")) (} "}")))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(!bVar17)" (( "(") (unary_expression "!bVar17" (! "!") (identifier "bVar17")) () ")")) (; ";")) (expression_statement "iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)\n            ;" (assignment_expression "iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" (identifier "iVar12") (= "=") (call_expression "SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" (identifier "SetImageProgress") (argument_list "(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],\n                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)" (( "(") (identifier "iVar2") (, ",") (binary_expression "unaff_EBP + 0x1fe747" (identifier "unaff_EBP") (+ "+") (number_literal "0x1fe747")) (, ",") (pointer_expression "*(undefined4 *)param_1[5]" (* "*") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (, ",") (subscript_expression "((undefined4 *)param_1[5])[1]" (parenthesized_expression "((undefined4 *)param_1[5])" (( "(") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar12 == 0) goto LAB_000b3fac;" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000b3fac;" (goto "goto") (statement_identifier "LAB_000b3fac") (; ";"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" (identifier "local_4c") (= "=") (binary_expression "local_4c + 1" (identifier "local_4c") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != local_4c)" (( "(") (binary_expression "iVar10 != local_4c" (identifier "iVar10") (!= "!=") (identifier "local_4c")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* 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 GammaImage._omp_fn.6(anon_struct_24_6_ca95b348 * param_0) */

void __thiscall function_1(type_1 *this)

{
  type_2 var_27;
  type_3 *image;
  type_4 *cache_view;
  double *var_11;
  type_5 *exception;
  size_t var_22;
  size_t var_20;
  type_6 *var_19;
  type_7 *puVar6;
  float var_12;
  int var_4;
  int var_5;
  type_6 *var_17;
  type_8 var_24;
  type_7 var_29;
  double *pdVar13;
  double *var_18;
  type_7 var_28;
  bool bVar16;
  size_t var_21;
  double *var_8;
  int var_3;
  int var_16;
  
  image = this->image;
  var_3 = var_1();
  var_4 = var_2();
  var_5 = (int)image->rows / var_3;
  var_3 = (int)image->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) {
    cache_view = this->image_view;
    var_11 = this->gamma_map;
    exception = this->exception;
    do {
      if (this->status != var_6) {
        var_8 = var_7(cache_view,0,var_3,image->columns,1,exception);
        if (var_8 == (type_9 *)0x0) {
LAB_000b3fac:
          this->status = var_6;
        }
        else {
          var_22 = image->columns;
          if (0 < (int)var_22) {
            var_20 = image->number_channels;
            var_21 = 0;
            do {
              if (0 < (int)var_20) {
                var_19 = image->channel_map;
                var_17 = var_19;
                var_18 = var_8;
                do {
                  if ((var_19[var_17->channel].traits & var_9) != var_10) {
                    var_12 = (float)*var_18;
                    pdVar13 = var_11 + 0xffff;
                    if ((var_12 < var_13) && (pdVar13 = var_11, 0.0 < var_12)) {
                      var_16 = (int)(type_2)var_14(var_12 + var_15);
                      pdVar13 = var_11 + var_16;
                    }
                    *var_18 = *pdVar13;
                  }
                  var_17 = var_17 + 1;
                  var_18 = var_18 + 1;
                } while (var_17 != var_19 + var_20);
              }
              var_21 = var_21 + 1;
              var_8 = var_8 + var_20;
            } while (var_21 != var_22);
          }
          var_24 = var_23(cache_view,exception);
          if (var_24 == var_6) {
            this->status = var_6;
          }
          if (image->progress_monitor != (type_10)0x0) {
            puVar6 = (type_7 *)this->progress;
            var_29 = *puVar6;
            var_28 = puVar6[1];
            do {
              var_25();
              var_27 = *(type_2 *)puVar6;
              bVar16 = var_26(var_28,var_29) == var_27;
              if (bVar16) {
                *(type_2 *)puVar6 = var_26(var_28 + (0xfffffffe < var_29),var_29 + 1);
              }
              else {
                var_28 = (type_7)((type_11)var_27 >> 0x20);
                var_29 = (type_7)var_27;
              }
              var_30();
            } while (!bVar16);
            var_24 = var_31(image,"Gamma/Image",*this->progress,(type_11)image->rows);
            if (var_24 == var_6) goto LAB_000b3fac;
          }
        }
      }
      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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (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 (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (number_literal) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (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: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (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: (identifier) right: (binary_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)))) (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 (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (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)))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))) right: (identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))) (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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 (call_expression function: (identifier) arguments: (argument_list)))) condition: (parenthesized_expression (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) index: (number_literal)) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_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))))

void MASKED(int *param_1)

{
  longlong lVar1;
  int iVar2;
  double *pdVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  uint *puVar7;
  float fVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  int iVar12;
  uint uVar13;
  double *pdVar14;
  double *pdVar15;
  uint uVar16;
  int unaff_EBP;
  bool bVar17;
  int local_5c;
  double *local_50;
  int local_4c;
  int local_2c;
  
  FUN_00042799();
  iVar2 = *param_1;
  local_4c = omp_get_num_threads();
  iVar9 = omp_get_thread_num();
  iVar10 = *(int *)(iVar2 + 0x1c) / local_4c;
  local_4c = *(int *)(iVar2 + 0x1c) % local_4c;
  if (iVar9 < local_4c) {
    iVar10 = iVar10 + 1;
    local_4c = 0;
  }
  local_4c = iVar9 * iVar10 + local_4c;
  iVar10 = iVar10 + local_4c;
  if (local_4c < iVar10) {
    iVar9 = param_1[2];
    pdVar3 = (double *)param_1[3];
    iVar4 = param_1[1];
    do {
      if (param_1[4] != 0) {
        local_50 = (double *)
                   GetCacheViewAuthenticPixels
                             (iVar9,0,local_4c,*(undefined4 *)(iVar2 + 0x18),1,iVar4);
        if (local_50 == (double *)0x0) {
LAB_000b3fac:
          param_1[4] = 0;
        }
        else {
          iVar12 = *(int *)(iVar2 + 0x18);
          if (0 < iVar12) {
            iVar5 = *(int *)(iVar2 + 0x298);
            local_5c = 0;
            do {
              if (0 < iVar5) {
                piVar6 = *(int **)(iVar2 + 0x2a8);
                piVar11 = piVar6;
                pdVar15 = local_50;
                do {
                  if ((*(byte *)(piVar6 + *piVar11 * 3 + 1) & 2) != 0) {
                    fVar8 = (float)*pdVar15;
                    pdVar14 = pdVar3 + 0xffff;
                    if ((fVar8 < *(float *)(unaff_EBP + 0x1eb9ba)) &&
                       (pdVar14 = pdVar3, 0.0 < fVar8)) {
                      local_2c = (int)(longlong)ROUND(fVar8 + *(float *)(unaff_EBP + 0x1eb3ce));
                      pdVar14 = pdVar3 + local_2c;
                    }
                    *pdVar15 = *pdVar14;
                  }
                  piVar11 = piVar11 + 3;
                  pdVar15 = pdVar15 + 1;
                } while (piVar11 != piVar6 + iVar5 * 3);
              }
              local_5c = local_5c + 1;
              local_50 = local_50 + iVar5;
            } while (local_5c != iVar12);
          }
          iVar12 = SyncCacheViewAuthenticPixels(iVar9,iVar4);
          if (iVar12 == 0) {
            param_1[4] = 0;
          }
          if (*(int *)(iVar2 + 0x300) != 0) {
            puVar7 = (uint *)param_1[5];
            uVar13 = *puVar7;
            uVar16 = puVar7[1];
            do {
              LOCK();
              lVar1 = *(longlong *)puVar7;
              bVar17 = CONCAT44(uVar16,uVar13) == lVar1;
              if (bVar17) {
                *(longlong *)puVar7 = CONCAT44(uVar16 + (0xfffffffe < uVar13),uVar13 + 1);
              }
              else {
                uVar16 = (uint)((ulonglong)lVar1 >> 0x20);
                uVar13 = (uint)lVar1;
              }
              UNLOCK();
            } while (!bVar17);
            iVar12 = SetImageProgress(iVar2,unaff_EBP + 0x1fe747,*(undefined4 *)param_1[5],
                                      ((undefined4 *)param_1[5])[1],*(undefined4 *)(iVar2 + 0x1c),0)
            ;
            if (iVar12 == 0) goto LAB_000b3fac;
          }
        }
      }
      local_4c = local_4c + 1;
    } while (iVar10 != local_4c);
  }
  return;
}

