
/* 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 sRGBTransformImage._omp_fn.18(anon_struct_20_5_fd1d5fb5 * param_0)
    */

void __thiscall sRGBTransformImage__omp_fn_18(anon_struct_20_5_fd1d5fb5 *this)

{
  Image *pIVar1;
  CacheView *cache_view;
  Quantum *pQVar2;
  ExceptionInfo *exception;
  PixelChannelMap *pPVar3;
  float fVar4;
  int iVar5;
  int iVar6;
  Quantum *pQVar7;
  Quantum *pQVar8;
  Quantum *pQVar9;
  MagickBooleanType MVar10;
  MagickRealType MVar11;
  MagickRealType MVar12;
  MagickRealType MVar13;
  int local_3c;
  size_t local_38;
  int local_2c;
  
  pIVar1 = this->image;
  local_3c = omp_get_num_threads();
  iVar5 = omp_get_thread_num();
  iVar6 = (int)pIVar1->rows / local_3c;
  local_3c = (int)pIVar1->rows % local_3c;
  if (iVar5 < local_3c) {
    iVar6 = iVar6 + 1;
    local_3c = 0;
  }
  local_3c = local_3c + iVar5 * iVar6;
  iVar6 = iVar6 + local_3c;
  if (local_3c < iVar6) {
    cache_view = this->image_view;
    pQVar2 = this->logmap;
    pQVar7 = pQVar2 + 0xffff;
    exception = this->exception;
    do {
      if (this->status != MagickFalse) {
        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);
        if (pQVar8 != (Quantum *)0x0) {
          local_38 = pIVar1->columns;
          if (local_38 != 0) {
            iVar5 = pIVar1->channel_map->offset;
            do {
              MVar11 = DecodePixelGamma((MagickRealType)
                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),
                                                 *(undefined4 *)(pQVar8 + iVar5)));
              iVar5 = pIVar1->channel_map[1].offset;
              MVar12 = DecodePixelGamma((MagickRealType)
                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),
                                                 *(undefined4 *)(pQVar8 + iVar5)));
              iVar5 = pIVar1->channel_map[2].offset;
              MVar13 = DecodePixelGamma((MagickRealType)
                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),
                                                 *(undefined4 *)(pQVar8 + iVar5)));
              fVar4 = (float)MVar11;
              pQVar9 = pQVar7;
              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {
                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);
                pQVar9 = pQVar2 + local_2c;
              }
              pPVar3 = pIVar1->channel_map;
              iVar5 = pPVar3->offset;
              pQVar8[iVar5] = *pQVar9;
              pQVar9 = pQVar7;
              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {
                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);
                pQVar9 = pQVar2 + local_2c;
              }
              pQVar8[pPVar3[1].offset] = *pQVar9;
              pQVar9 = pQVar7;
              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {
                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);
                pQVar9 = pQVar2 + local_2c;
              }
              local_38 = local_38 - 1;
              pQVar8[pPVar3[2].offset] = *pQVar9;
              pQVar8 = pQVar8 + pIVar1->number_channels;
            } while (local_38 != 0);
          }
          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar10 != MagickFalse) goto LAB_00065e98;
        }
        this->status = MagickFalse;
      }
LAB_00065e98:
      local_3c = local_3c + 1;
    } while (iVar6 != local_3c);
  }
  return;
}



void FUN_00065be0(int *param_1)

{
  double dVar1;
  int iVar2;
  undefined8 *puVar3;
  int iVar4;
  int iVar5;
  float fVar6;
  int iVar7;
  int iVar8;
  undefined8 *puVar9;
  int iVar10;
  undefined8 *puVar11;
  int iVar12;
  int unaff_EBP;
  longdouble lVar13;
  longdouble lVar14;
  int local_3c;
  int local_38;
  int local_2c;
  
  FUN_00045159();
  iVar2 = *param_1;
  local_3c = omp_get_num_threads();
  iVar7 = omp_get_thread_num();
  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;
  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;
  if (iVar7 < local_3c) {
    iVar8 = iVar8 + 1;
    local_3c = 0;
  }
  local_3c = local_3c + iVar7 * iVar8;
  iVar8 = iVar8 + local_3c;
  if (local_3c < iVar8) {
    iVar7 = param_1[2];
    puVar3 = (undefined8 *)param_1[3];
    puVar9 = puVar3 + 0xffff;
    iVar4 = param_1[1];
    do {
      if (param_1[4] != 0) {
        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)
        ;
        if (iVar10 != 0) {
          local_38 = *(int *)(iVar2 + 0x18);
          if (local_38 != 0) {
            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);
            do {
              lVar13 = (longdouble)
                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),
                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));
              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);
              lVar14 = (longdouble)
                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),
                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));
              dVar1 = (double)lVar14;
              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);
              lVar14 = (longdouble)
                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),
                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));
              fVar6 = (float)lVar13;
              puVar11 = puVar9;
              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {
                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));
                puVar11 = puVar3 + local_2c;
              }
              iVar5 = *(int *)(iVar2 + 0x2a8);
              iVar12 = *(int *)(iVar5 + 8);
              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;
              puVar11 = puVar9;
              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&
                 (puVar11 = puVar3, 0.0 < dVar1)) {
                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));
                puVar11 = puVar3 + local_2c;
              }
              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;
              puVar11 = puVar9;
              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&
                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {
                local_2c = (int)(longlong)
                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));
                puVar11 = puVar3 + local_2c;
              }
              local_38 = local_38 + -1;
              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;
              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;
            } while (local_38 != 0);
          }
          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);
          if (iVar10 != 0) goto LAB_00065e98;
        }
        param_1[4] = 0;
      }
LAB_00065e98:
      local_3c = local_3c + 1;
    } while (iVar8 != local_3c);
  }
  return;
}


PUSH EBP
CALL 0x00045159
ADD EBP,0x3b841a
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV EAX,dword ptr [ESP + 0x60]
MOV EBX,EBP
MOV EDI,dword ptr [EAX]
CALL 0x00030850
MOV ESI,EAX
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [EDI + 0x1c]
CDQ
IDIV ESI
CMP ECX,EDX
JGE 0x00065c17
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
MOV EBX,EAX
ADD EDX,ECX
ADD EBX,EDX
MOV dword ptr [ESP + 0x20],EDX
CMP EDX,EBX
MOV dword ptr [ESP + 0x28],EBX
JGE 0x00065eab
MOV EDX,dword ptr [ESP + 0x60]
MOV EAX,dword ptr [ESP + 0x60]
MOV EDX,dword ptr [EDX + 0x8]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x2c],EDX
MOV EDX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0xc],EAX
ADD EAX,0x7fff8
MOV dword ptr [ESP + 0x8],EAX
MOV EDX,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0x38],EDX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x60]
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JZ 0x00065e98
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x40]
PUSH 0x1
PUSH dword ptr [EDI + 0x18]
PUSH dword ptr [ESP + 0x34]
PUSH 0x0
PUSH dword ptr [ESP + 0x48]
CALL 0x000312c0
ADD ESP,0x20
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00065e8d
MOV EAX,dword ptr [EDI + 0x18]
MOV dword ptr [ESP + 0x24],EAX
TEST EAX,EAX
JZ 0x00065e74
MOV EAX,dword ptr [EDI + 0x2a8]
MOV EDX,dword ptr [EAX + 0x8]
LEA ESI,[ESI]
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESI + EDX*0x8 + 0x4]
PUSH dword ptr [ESI + EDX*0x8]
CALL 0x00030ba0
FSTP qword ptr [ESP + 0x28]
POP EAX
MOV EAX,dword ptr [EDI + 0x2a8]
POP EDX
MOV EAX,dword ptr [EAX + 0x14]
PUSH dword ptr [ESI + EAX*0x8 + 0x4]
PUSH dword ptr [ESI + EAX*0x8]
CALL 0x00030ba0
FSTP qword ptr [ESP + 0x20]
POP ECX
POP EAX
MOV EAX,dword ptr [EDI + 0x2a8]
MOV EAX,dword ptr [EAX + 0x20]
PUSH dword ptr [ESI + EAX*0x8 + 0x4]
PUSH dword ptr [ESI + EAX*0x8]
CALL 0x00030ba0
ADD ESP,0x10
FLD dword ptr [EBP + 0xffec18a8]
FLD qword ptr [ESP + 0x18]
FUCOMI ST0,ST1
FSTP ST1
MOV EAX,dword ptr [ESP + 0x8]
FLD qword ptr [ESP + 0x10]
JNC 0x00065d60
FXCH
FUCOMI ST0,ST0
JP 0x00065eb8
MOV EBX,dword ptr [ESP + 0xc]
FLDZ
FUCOMIP ST0,ST1
MOV EAX,EBX
JNC 0x00065d68
FNSTCW word ptr [ESP + 0x3e]
FADD dword ptr [EBP + 0xffec12b8]
MOVZX EAX,word ptr [ESP + 0x3e]
OR AH,0xc
MOV word ptr [ESP + 0x3c],AX
FLDCW word ptr [ESP + 0x3c]
FISTP qword ptr [ESP + 0x30]
FLDCW word ptr [ESP + 0x3e]
MOV EAX,dword ptr [ESP + 0x30]
LEA EAX,[EBX + EAX*0x8]
JMP 0x00065d70
FSTP ST1
JMP 0x00065d70
FSTP ST0
LEA ESI,[ESI]
FLD qword ptr [EAX]
MOV EAX,dword ptr [EDI + 0x2a8]
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EAX + 0x8]
FSTP qword ptr [ESI + EDX*0x8]
FLD dword ptr [EBP + 0xffec18a8]
FXCH
FUCOMI ST0,ST1
FSTP ST1
JNC 0x00065dd0
FUCOMI ST0,ST0
MOV ECX,dword ptr [ESP + 0xc]
JP 0x00065dd8
FLDZ
FUCOMIP ST0,ST1
JNC 0x00065de0
FNSTCW word ptr [ESP + 0x3e]
MOV EBX,dword ptr [ESP + 0xc]
FADD dword ptr [EBP + 0xffec12b8]
MOVZX ECX,word ptr [ESP + 0x3e]
OR CH,0xc
MOV word ptr [ESP + 0x3c],CX
FLDCW word ptr [ESP + 0x3c]
FISTP qword ptr [ESP + 0x30]
FLDCW word ptr [ESP + 0x3e]
MOV ECX,dword ptr [ESP + 0x30]
LEA ECX,[EBX + ECX*0x8]
JMP 0x00065de8
FSTP ST0
JMP 0x00065de8
FSTP ST0
JMP 0x00065de8
FSTP ST0
LEA ESI,[ESI]
FLD qword ptr [ECX]
MOV ECX,dword ptr [EAX + 0x14]
FSTP qword ptr [ESI + ECX*0x8]
FLD dword ptr [EBP + 0xffec18a8]
FXCH
FUCOMI ST0,ST1
FSTP ST1
MOV ECX,dword ptr [ESP + 0x8]
JNC 0x00065e40
FUCOMI ST0,ST0
MOV ECX,dword ptr [ESP + 0xc]
JP 0x00065e48
FLDZ
FUCOMIP ST0,ST1
JNC 0x00065e50
FNSTCW word ptr [ESP + 0x3e]
MOV EBX,dword ptr [ESP + 0xc]
FADD dword ptr [EBP + 0xffec12b8]
MOVZX ECX,word ptr [ESP + 0x3e]
OR CH,0xc
MOV word ptr [ESP + 0x3c],CX
FLDCW word ptr [ESP + 0x3c]
FISTP qword ptr [ESP + 0x30]
FLDCW word ptr [ESP + 0x3e]
MOV ECX,dword ptr [ESP + 0x30]
LEA ECX,[EBX + ECX*0x8]
JMP 0x00065e58
FSTP ST0
JMP 0x00065e58
FSTP ST0
JMP 0x00065e58
FSTP ST0
LEA ESI,[ESI]
MOV EAX,dword ptr [EAX + 0x20]
FLD qword ptr [ECX]
SUB dword ptr [ESP + 0x24],0x1
FSTP qword ptr [ESI + EAX*0x8]
MOV EAX,dword ptr [EDI + 0x298]
LEA ESI,[ESI + EAX*0x8]
JNZ 0x00065cb8
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x40]
PUSH dword ptr [ESP + 0x38]
CALL 0x00031800
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00065e98
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [EAX + 0x10],0x0
ADD dword ptr [ESP + 0x20],0x1
MOV EAX,dword ptr [ESP + 0x20]
CMP dword ptr [ESP + 0x28],EAX
JNZ 0x00065c60
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
FSTP ST0
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x00065d70
(translation_unit "void FUN_00065be0(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00065be0(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00065be0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "float fVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined8 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined8 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "longdouble lVar13;" type_identifier identifier ;) (declaration "longdouble lVar14;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "FUN_00045159();" (call_expression "FUN_00045159()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x1c) / local_3c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / local_3c" (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_3c = *(int *)(iVar2 + 0x1c) % local_3c;" (assignment_expression "local_3c = *(int *)(iVar2 + 0x1c) % local_3c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % local_3c" (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 (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }" if (parenthesized_expression "(iVar7 < local_3c)" ( (binary_expression "iVar7 < local_3c" identifier < identifier) )) (compound_statement "{\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) })) (expression_statement "local_3c = local_3c + iVar7 * iVar8;" (assignment_expression "local_3c = local_3c + iVar7 * iVar8" identifier = (binary_expression "local_3c + iVar7 * iVar8" identifier + (binary_expression "iVar7 * iVar8" identifier * identifier))) ;) (expression_statement "iVar8 = iVar8 + local_3c;" (assignment_expression "iVar8 = iVar8 + local_3c" identifier = (binary_expression "iVar8 + local_3c" identifier + identifier)) ;) (if_statement "if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }" if (parenthesized_expression "(local_3c < iVar8)" ( (binary_expression "local_3c < iVar8" identifier < identifier) )) (compound_statement "{\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }" { (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = (undefined8 *)param_1[3];" (assignment_expression "puVar3 = (undefined8 *)param_1[3]" identifier = (cast_expression "(undefined8 *)param_1[3]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar3 + 0xffff;" (assignment_expression "puVar9 = puVar3 + 0xffff" identifier = (binary_expression "puVar3 + 0xffff" 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        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    }" { (if_statement "if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\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        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }" { (expression_statement "iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;" (assignment_expression "iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier = (call_expression "GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier (argument_list "(iVar7,0,local_3c,*(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 (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }" { (expression_statement "local_38 = *(int *)(iVar2 + 0x18);" (assignment_expression "local_38 = *(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 (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }" { (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8)" identifier = (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 8)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 8)" ( (binary_expression "*(int *)(iVar2 + 0x2a8) + 8" (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) )))) + number_literal) ))))) ;) (do_statement "do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);" do (compound_statement "{\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            }" { (expression_statement "lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier = (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) , (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" ( (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ))))) ;) (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 0x14)" ( (binary_expression "*(int *)(iVar2 + 0x2a8) + 0x14" (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier = (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) , (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" ( (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ))))) ;) (expression_statement "dVar1 = (double)lVar14;" (assignment_expression "dVar1 = (double)lVar14" identifier = (cast_expression "(double)lVar14" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" identifier = (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 0x20)" ( (binary_expression "*(int *)(iVar2 + 0x2a8) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier = (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) , (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" ( (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ))))) ;) (expression_statement "fVar6 = (float)lVar13;" (assignment_expression "fVar6 = (float)lVar13" identifier = (cast_expression "(float)lVar13" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (if_statement "if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" if (parenthesized_expression "((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6))" ( (binary_expression "(fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)" (parenthesized_expression "(fVar6 < *(float *)(unaff_EBP + 0x279cc2))" ( (binary_expression "fVar6 < *(float *)(unaff_EBP + 0x279cc2)" identifier < (pointer_expression "*(float *)(unaff_EBP + 0x279cc2)" * (cast_expression "(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x279cc2)" ( (binary_expression "unaff_EBP + 0x279cc2" identifier + number_literal) ))))) )) && (parenthesized_expression "(puVar11 = puVar3, 0.0 < fVar6)" ( (comma_expression "puVar11 = puVar3, 0.0 < fVar6" (assignment_expression "puVar11 = puVar3" identifier = identifier) , (binary_expression "0.0 < fVar6" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" identifier = (cast_expression "(int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" identifier (argument_list "(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" ( (binary_expression "fVar6 + *(float *)(unaff_EBP + 0x2796d2)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x2796d2)" * (cast_expression "(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x2796d2)" ( (binary_expression "unaff_EBP + 0x2796d2" identifier + number_literal) ))))) )))))) ;) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" identifier = (binary_expression "puVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "iVar5 = *(int *)(iVar2 + 0x2a8);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(iVar5 + 8);" (assignment_expression "iVar12 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined8 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (if_statement "if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" if (parenthesized_expression "((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1))" ( (binary_expression "(dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)" (parenthesized_expression "(dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2))" ( (binary_expression "dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)" identifier < (cast_expression "(double)*(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x279cc2)" * (cast_expression "(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x279cc2)" ( (binary_expression "unaff_EBP + 0x279cc2" identifier + number_literal) )))))) )) && (parenthesized_expression "(puVar11 = puVar3, 0.0 < dVar1)" ( (comma_expression "puVar11 = puVar3, 0.0 < dVar1" (assignment_expression "puVar11 = puVar3" identifier = identifier) , (binary_expression "0.0 < dVar1" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" identifier = (cast_expression "(int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" identifier (argument_list "(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" ( (binary_expression "dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2)" identifier + (cast_expression "(double)*(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x2796d2)" * (cast_expression "(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x2796d2)" ( (binary_expression "unaff_EBP + 0x2796d2" identifier + number_literal) )))))) )))))) ;) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" identifier = (binary_expression "puVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8)" * (cast_expression "(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + *(int *)(iVar5 + 0x14) * 8)" ( (binary_expression "iVar10 + *(int *)(iVar5 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x14) * 8" (pointer_expression "*(int *)(iVar5 + 0x14)" * (cast_expression "(int *)(iVar5 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (if_statement "if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" if (parenthesized_expression "((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14))" ( (binary_expression "(lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)" (parenthesized_expression "(lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2))" ( (binary_expression "lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)" identifier < (binary_expression "(longdouble)*(float *)(unaff_EBP + 0x279cc2)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x279cc2)" ( (binary_expression "unaff_EBP + 0x279cc2" identifier + number_literal) ))))) )) && (parenthesized_expression "(puVar11 = puVar3, (longdouble)0 < lVar14)" ( (comma_expression "puVar11 = puVar3, (longdouble)0 < lVar14" (assignment_expression "puVar11 = puVar3" identifier = identifier) , (binary_expression "(longdouble)0 < lVar14" (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal) < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" identifier = (cast_expression "(int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" identifier (argument_list "(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" ( (binary_expression "lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2)" identifier + (binary_expression "(longdouble)*(float *)(unaff_EBP + 0x2796d2)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x2796d2)" ( (binary_expression "unaff_EBP + 0x2796d2" identifier + number_literal) ))))) )))))) ;) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" identifier = (binary_expression "puVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "local_38 = local_38 + -1;" (assignment_expression "local_38 = local_38 + -1" identifier = (binary_expression "local_38 + -1" identifier + number_literal)) ;) (expression_statement "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8)" * (cast_expression "(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + *(int *)(iVar5 + 0x20) * 8)" ( (binary_expression "iVar10 + *(int *)(iVar5 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x20) * 8" (pointer_expression "*(int *)(iVar5 + 0x20)" * (cast_expression "(int *)(iVar5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x20)" ( (binary_expression "iVar5 + 0x20" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;" (assignment_expression "iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8" identifier = (binary_expression "iVar10 + *(int *)(iVar2 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar2 + 0x298) * 8" (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) )))) * number_literal))) ;) }) while (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);" (assignment_expression "iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4)" identifier = (call_expression "SyncCacheViewAuthenticPixels(iVar7,iVar4)" identifier (argument_list "(iVar7,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar10 != 0) goto LAB_00065e98;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00065e98;" goto statement_identifier ;)) })) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00065e98:\n      local_3c = local_3c + 1;" statement_identifier : (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar8 != local_3c)" ( (binary_expression "iVar8 != local_3c" 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 sRGBTransformImage._omp_fn.18(anon_struct_20_5_fd1d5fb5 * param_0)\n    */\n\nvoid __thiscall sRGBTransformImage__omp_fn_18(anon_struct_20_5_fd1d5fb5 *this)\n\n{\n  Image *pIVar1;\n  CacheView *cache_view;\n  Quantum *pQVar2;\n  ExceptionInfo *exception;\n  PixelChannelMap *pPVar3;\n  float fVar4;\n  int iVar5;\n  int iVar6;\n  Quantum *pQVar7;\n  Quantum *pQVar8;\n  Quantum *pQVar9;\n  MagickBooleanType MVar10;\n  MagickRealType MVar11;\n  MagickRealType MVar12;\n  MagickRealType MVar13;\n  int local_3c;\n  size_t local_38;\n  int local_2c;\n  \n  pIVar1 = this->image;\n  local_3c = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  iVar6 = (int)pIVar1->rows / local_3c;\n  local_3c = (int)pIVar1->rows % local_3c;\n  if (iVar5 < local_3c) {\n    iVar6 = iVar6 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar5 * iVar6;\n  iVar6 = iVar6 + local_3c;\n  if (local_3c < iVar6) {\n    cache_view = this->image_view;\n    pQVar2 = this->logmap;\n    pQVar7 = pQVar2 + 0xffff;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar6 != local_3c);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall sRGBTransformImage__omp_fn_18(anon_struct_20_5_fd1d5fb5 *this)\n\n{\n  Image *pIVar1;\n  CacheView *cache_view;\n  Quantum *pQVar2;\n  ExceptionInfo *exception;\n  PixelChannelMap *pPVar3;\n  float fVar4;\n  int iVar5;\n  int iVar6;\n  Quantum *pQVar7;\n  Quantum *pQVar8;\n  Quantum *pQVar9;\n  MagickBooleanType MVar10;\n  MagickRealType MVar11;\n  MagickRealType MVar12;\n  MagickRealType MVar13;\n  int local_3c;\n  size_t local_38;\n  int local_2c;\n  \n  pIVar1 = this->image;\n  local_3c = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  iVar6 = (int)pIVar1->rows / local_3c;\n  local_3c = (int)pIVar1->rows % local_3c;\n  if (iVar5 < local_3c) {\n    iVar6 = iVar6 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar5 * iVar6;\n  iVar6 = iVar6 + local_3c;\n  if (local_3c < iVar6) {\n    cache_view = this->image_view;\n    pQVar2 = this->logmap;\n    pQVar7 = pQVar2 + 0xffff;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar6 != local_3c);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "sRGBTransformImage__omp_fn_18(anon_struct_20_5_fd1d5fb5 *this)" identifier (parameter_list "(anon_struct_20_5_fd1d5fb5 *this)" ( (parameter_declaration "anon_struct_20_5_fd1d5fb5 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Image *pIVar1;\n  CacheView *cache_view;\n  Quantum *pQVar2;\n  ExceptionInfo *exception;\n  PixelChannelMap *pPVar3;\n  float fVar4;\n  int iVar5;\n  int iVar6;\n  Quantum *pQVar7;\n  Quantum *pQVar8;\n  Quantum *pQVar9;\n  MagickBooleanType MVar10;\n  MagickRealType MVar11;\n  MagickRealType MVar12;\n  MagickRealType MVar13;\n  int local_3c;\n  size_t local_38;\n  int local_2c;\n  \n  pIVar1 = this->image;\n  local_3c = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  iVar6 = (int)pIVar1->rows / local_3c;\n  local_3c = (int)pIVar1->rows % local_3c;\n  if (iVar5 < local_3c) {\n    iVar6 = iVar6 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar5 * iVar6;\n  iVar6 = iVar6 + local_3c;\n  if (local_3c < iVar6) {\n    cache_view = this->image_view;\n    pQVar2 = this->logmap;\n    pQVar7 = pQVar2 + 0xffff;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar6 != local_3c);\n  }\n  return;\n}" { (declaration "Image *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "Quantum *pQVar2;" type_identifier (pointer_declarator "*pQVar2" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "PixelChannelMap *pPVar3;" type_identifier (pointer_declarator "*pPVar3" * identifier) ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Quantum *pQVar7;" type_identifier (pointer_declarator "*pQVar7" * identifier) ;) (declaration "Quantum *pQVar8;" type_identifier (pointer_declarator "*pQVar8" * identifier) ;) (declaration "Quantum *pQVar9;" type_identifier (pointer_declarator "*pQVar9" * identifier) ;) (declaration "MagickBooleanType MVar10;" type_identifier identifier ;) (declaration "MagickRealType MVar11;" type_identifier identifier ;) (declaration "MagickRealType MVar12;" type_identifier identifier ;) (declaration "MagickRealType MVar13;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "size_t local_38;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "pIVar1 = this->image;" (assignment_expression "pIVar1 = this->image" identifier = (field_expression "this->image" identifier -> field_identifier)) ;) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = omp_get_thread_num();" (assignment_expression "iVar5 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)pIVar1->rows / local_3c;" (assignment_expression "iVar6 = (int)pIVar1->rows / local_3c" identifier = (binary_expression "(int)pIVar1->rows / local_3c" (cast_expression "(int)pIVar1->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar1->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "local_3c = (int)pIVar1->rows % local_3c;" (assignment_expression "local_3c = (int)pIVar1->rows % local_3c" identifier = (binary_expression "(int)pIVar1->rows % local_3c" (cast_expression "(int)pIVar1->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar1->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar5 < local_3c) {\n    iVar6 = iVar6 + 1;\n    local_3c = 0;\n  }" if (parenthesized_expression "(iVar5 < local_3c)" ( (binary_expression "iVar5 < local_3c" identifier < identifier) )) (compound_statement "{\n    iVar6 = iVar6 + 1;\n    local_3c = 0;\n  }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) })) (expression_statement "local_3c = local_3c + iVar5 * iVar6;" (assignment_expression "local_3c = local_3c + iVar5 * iVar6" identifier = (binary_expression "local_3c + iVar5 * iVar6" identifier + (binary_expression "iVar5 * iVar6" identifier * identifier))) ;) (expression_statement "iVar6 = iVar6 + local_3c;" (assignment_expression "iVar6 = iVar6 + local_3c" identifier = (binary_expression "iVar6 + local_3c" identifier + identifier)) ;) (if_statement "if (local_3c < iVar6) {\n    cache_view = this->image_view;\n    pQVar2 = this->logmap;\n    pQVar7 = pQVar2 + 0xffff;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar6 != local_3c);\n  }" if (parenthesized_expression "(local_3c < iVar6)" ( (binary_expression "local_3c < iVar6" identifier < identifier) )) (compound_statement "{\n    cache_view = this->image_view;\n    pQVar2 = this->logmap;\n    pQVar7 = pQVar2 + 0xffff;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar6 != local_3c);\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 "pQVar2 = this->logmap;" (assignment_expression "pQVar2 = this->logmap" identifier = (field_expression "this->logmap" identifier -> field_identifier)) ;) (expression_statement "pQVar7 = pQVar2 + 0xffff;" (assignment_expression "pQVar7 = pQVar2 + 0xffff" identifier = (binary_expression "pQVar2 + 0xffff" identifier + number_literal)) ;) (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        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar6 != local_3c);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);\n        if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }\n        this->status = MagickFalse;\n      }" { (expression_statement "pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception);" (assignment_expression "pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception)" identifier = (call_expression "GetCacheViewAuthenticPixels(cache_view,0,local_3c,pIVar1->columns,1,exception)" identifier (argument_list "(cache_view,0,local_3c,pIVar1->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar1->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pQVar8 != (Quantum *)0x0) {\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }" if (parenthesized_expression "(pQVar8 != (Quantum *)0x0)" ( (binary_expression "pQVar8 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_38 = pIVar1->columns;\n          if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }\n          MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar10 != MagickFalse) goto LAB_00065e98;\n        }" { (expression_statement "local_38 = pIVar1->columns;" (assignment_expression "local_38 = pIVar1->columns" identifier = (field_expression "pIVar1->columns" identifier -> field_identifier)) ;) (if_statement "if (local_38 != 0) {\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar5 = pIVar1->channel_map->offset;\n            do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);\n          }" { (expression_statement "iVar5 = pIVar1->channel_map->offset;" (assignment_expression "iVar5 = pIVar1->channel_map->offset" identifier = (field_expression "pIVar1->channel_map->offset" (field_expression "pIVar1->channel_map" identifier -> field_identifier) -> field_identifier)) ;) (do_statement "do {\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            } while (local_38 != 0);" do (compound_statement "{\n              MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[1].offset;\n              MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              iVar5 = pIVar1->channel_map[2].offset;\n              MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));\n              fVar4 = (float)MVar11;\n              pQVar9 = pQVar7;\n              if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pPVar3 = pIVar1->channel_map;\n              iVar5 = pPVar3->offset;\n              pQVar8[iVar5] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              pQVar8[pPVar3[1].offset] = *pQVar9;\n              pQVar9 = pQVar7;\n              if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }\n              local_38 = local_38 - 1;\n              pQVar8[pPVar3[2].offset] = *pQVar9;\n              pQVar8 = pQVar8 + pIVar1->number_channels;\n            }" { (expression_statement "MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));" (assignment_expression "MVar11 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" identifier = (call_expression "DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" identifier (argument_list "((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" ( (cast_expression "(MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" ( (type_descriptor "MagickRealType" type_identifier) ) (call_expression "CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" identifier (argument_list "(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" ( (pointer_expression "*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4)" * (cast_expression "(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pQVar8 + iVar5 * 8 + 4)" ( (binary_expression "(int)pQVar8 + iVar5 * 8 + 4" (binary_expression "(int)pQVar8 + iVar5 * 8" (cast_expression "(int)pQVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) , (pointer_expression "*(undefined4 *)(pQVar8 + iVar5)" * (cast_expression "(undefined4 *)(pQVar8 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pQVar8 + iVar5)" ( (binary_expression "pQVar8 + iVar5" identifier + identifier) )))) )))) )))) ;) (expression_statement "iVar5 = pIVar1->channel_map[1].offset;" (assignment_expression "iVar5 = pIVar1->channel_map[1].offset" identifier = (field_expression "pIVar1->channel_map[1].offset" (subscript_expression "pIVar1->channel_map[1]" (field_expression "pIVar1->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));" (assignment_expression "MVar12 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" identifier = (call_expression "DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" identifier (argument_list "((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" ( (cast_expression "(MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" ( (type_descriptor "MagickRealType" type_identifier) ) (call_expression "CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" identifier (argument_list "(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" ( (pointer_expression "*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4)" * (cast_expression "(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pQVar8 + iVar5 * 8 + 4)" ( (binary_expression "(int)pQVar8 + iVar5 * 8 + 4" (binary_expression "(int)pQVar8 + iVar5 * 8" (cast_expression "(int)pQVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) , (pointer_expression "*(undefined4 *)(pQVar8 + iVar5)" * (cast_expression "(undefined4 *)(pQVar8 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pQVar8 + iVar5)" ( (binary_expression "pQVar8 + iVar5" identifier + identifier) )))) )))) )))) ;) (expression_statement "iVar5 = pIVar1->channel_map[2].offset;" (assignment_expression "iVar5 = pIVar1->channel_map[2].offset" identifier = (field_expression "pIVar1->channel_map[2].offset" (subscript_expression "pIVar1->channel_map[2]" (field_expression "pIVar1->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)));" (assignment_expression "MVar13 = DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" identifier = (call_expression "DecodePixelGamma((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" identifier (argument_list "((MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5)))" ( (cast_expression "(MagickRealType)\n                                        CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" ( (type_descriptor "MagickRealType" type_identifier) ) (call_expression "CONCAT44(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" identifier (argument_list "(*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4),\n                                                 *(undefined4 *)(pQVar8 + iVar5))" ( (pointer_expression "*(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4)" * (cast_expression "(undefined4 *)((int)pQVar8 + iVar5 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pQVar8 + iVar5 * 8 + 4)" ( (binary_expression "(int)pQVar8 + iVar5 * 8 + 4" (binary_expression "(int)pQVar8 + iVar5 * 8" (cast_expression "(int)pQVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) , (pointer_expression "*(undefined4 *)(pQVar8 + iVar5)" * (cast_expression "(undefined4 *)(pQVar8 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pQVar8 + iVar5)" ( (binary_expression "pQVar8 + iVar5" identifier + identifier) )))) )))) )))) ;) (expression_statement "fVar4 = (float)MVar11;" (assignment_expression "fVar4 = (float)MVar11" identifier = (cast_expression "(float)MVar11" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "pQVar9 = pQVar7;" (assignment_expression "pQVar9 = pQVar7" identifier = identifier) ;) (if_statement "if ((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)) {\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }" if (parenthesized_expression "((fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4))" ( (binary_expression "(fVar4 < DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < fVar4)" (parenthesized_expression "(fVar4 < DAT_002df8a8)" ( (binary_expression "fVar4 < DAT_002df8a8" identifier < identifier) )) && (parenthesized_expression "(pQVar9 = pQVar2, 0.0 < fVar4)" ( (comma_expression "pQVar9 = pQVar2, 0.0 < fVar4" (assignment_expression "pQVar9 = pQVar2" identifier = identifier) , (binary_expression "0.0 < fVar4" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8);" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar4 + DAT_002df2b8)" identifier = (cast_expression "(int)(longlong)ROUND(fVar4 + DAT_002df2b8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(fVar4 + DAT_002df2b8)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar4 + DAT_002df2b8)" identifier (argument_list "(fVar4 + DAT_002df2b8)" ( (binary_expression "fVar4 + DAT_002df2b8" identifier + identifier) )))))) ;) (expression_statement "pQVar9 = pQVar2 + local_2c;" (assignment_expression "pQVar9 = pQVar2 + local_2c" identifier = (binary_expression "pQVar2 + local_2c" identifier + identifier)) ;) })) (expression_statement "pPVar3 = pIVar1->channel_map;" (assignment_expression "pPVar3 = pIVar1->channel_map" identifier = (field_expression "pIVar1->channel_map" identifier -> field_identifier)) ;) (expression_statement "iVar5 = pPVar3->offset;" (assignment_expression "iVar5 = pPVar3->offset" identifier = (field_expression "pPVar3->offset" identifier -> field_identifier)) ;) (expression_statement "pQVar8[iVar5] = *pQVar9;" (assignment_expression "pQVar8[iVar5] = *pQVar9" (subscript_expression "pQVar8[iVar5]" identifier [ identifier ]) = (pointer_expression "*pQVar9" * identifier)) ;) (expression_statement "pQVar9 = pQVar7;" (assignment_expression "pQVar9 = pQVar7" identifier = identifier) ;) (if_statement "if ((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)) {\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }" if (parenthesized_expression "((MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12))" ( (binary_expression "(MVar12 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar12)" (parenthesized_expression "(MVar12 < (double)DAT_002df8a8)" ( (binary_expression "MVar12 < (double)DAT_002df8a8" identifier < (cast_expression "(double)DAT_002df8a8" ( (type_descriptor "double" primitive_type) ) identifier)) )) && (parenthesized_expression "(pQVar9 = pQVar2, 0.0 < MVar12)" ( (comma_expression "pQVar9 = pQVar2, 0.0 < MVar12" (assignment_expression "pQVar9 = pQVar2" identifier = identifier) , (binary_expression "0.0 < MVar12" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8);" (assignment_expression "local_2c = (int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8)" identifier = (cast_expression "(int)(longlong)ROUND(MVar12 + (double)DAT_002df2b8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(MVar12 + (double)DAT_002df2b8)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(MVar12 + (double)DAT_002df2b8)" identifier (argument_list "(MVar12 + (double)DAT_002df2b8)" ( (binary_expression "MVar12 + (double)DAT_002df2b8" identifier + (cast_expression "(double)DAT_002df2b8" ( (type_descriptor "double" primitive_type) ) identifier)) )))))) ;) (expression_statement "pQVar9 = pQVar2 + local_2c;" (assignment_expression "pQVar9 = pQVar2 + local_2c" identifier = (binary_expression "pQVar2 + local_2c" identifier + identifier)) ;) })) (expression_statement "pQVar8[pPVar3[1].offset] = *pQVar9;" (assignment_expression "pQVar8[pPVar3[1].offset] = *pQVar9" (subscript_expression "pQVar8[pPVar3[1].offset]" identifier [ (field_expression "pPVar3[1].offset" (subscript_expression "pPVar3[1]" identifier [ number_literal ]) . field_identifier) ]) = (pointer_expression "*pQVar9" * identifier)) ;) (expression_statement "pQVar9 = pQVar7;" (assignment_expression "pQVar9 = pQVar7" identifier = identifier) ;) (if_statement "if ((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)) {\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }" if (parenthesized_expression "((MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13))" ( (binary_expression "(MVar13 < (double)DAT_002df8a8) && (pQVar9 = pQVar2, 0.0 < MVar13)" (parenthesized_expression "(MVar13 < (double)DAT_002df8a8)" ( (binary_expression "MVar13 < (double)DAT_002df8a8" identifier < (cast_expression "(double)DAT_002df8a8" ( (type_descriptor "double" primitive_type) ) identifier)) )) && (parenthesized_expression "(pQVar9 = pQVar2, 0.0 < MVar13)" ( (comma_expression "pQVar9 = pQVar2, 0.0 < MVar13" (assignment_expression "pQVar9 = pQVar2" identifier = identifier) , (binary_expression "0.0 < MVar13" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);\n                pQVar9 = pQVar2 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8);" (assignment_expression "local_2c = (int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8)" identifier = (cast_expression "(int)(longlong)ROUND(MVar13 + (double)DAT_002df2b8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(MVar13 + (double)DAT_002df2b8)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(MVar13 + (double)DAT_002df2b8)" identifier (argument_list "(MVar13 + (double)DAT_002df2b8)" ( (binary_expression "MVar13 + (double)DAT_002df2b8" identifier + (cast_expression "(double)DAT_002df2b8" ( (type_descriptor "double" primitive_type) ) identifier)) )))))) ;) (expression_statement "pQVar9 = pQVar2 + local_2c;" (assignment_expression "pQVar9 = pQVar2 + local_2c" identifier = (binary_expression "pQVar2 + local_2c" identifier + identifier)) ;) })) (expression_statement "local_38 = local_38 - 1;" (assignment_expression "local_38 = local_38 - 1" identifier = (binary_expression "local_38 - 1" identifier - number_literal)) ;) (expression_statement "pQVar8[pPVar3[2].offset] = *pQVar9;" (assignment_expression "pQVar8[pPVar3[2].offset] = *pQVar9" (subscript_expression "pQVar8[pPVar3[2].offset]" identifier [ (field_expression "pPVar3[2].offset" (subscript_expression "pPVar3[2]" identifier [ number_literal ]) . field_identifier) ]) = (pointer_expression "*pQVar9" * identifier)) ;) (expression_statement "pQVar8 = pQVar8 + pIVar1->number_channels;" (assignment_expression "pQVar8 = pQVar8 + pIVar1->number_channels" identifier = (binary_expression "pQVar8 + pIVar1->number_channels" identifier + (field_expression "pIVar1->number_channels" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) ;) })) (expression_statement "MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar10 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar10 != MagickFalse) goto LAB_00065e98;" if (parenthesized_expression "(MVar10 != MagickFalse)" ( (binary_expression "MVar10 != MagickFalse" identifier != identifier) )) (goto_statement "goto LAB_00065e98;" goto statement_identifier ;)) })) (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_00065e98:\n      local_3c = local_3c + 1;" statement_identifier : (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar6 != local_3c)" ( (binary_expression "iVar6 != local_3c" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00065be0(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00065be0(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00065be0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "float fVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined8 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined8 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "longdouble lVar13;" type_identifier identifier ;) (declaration "longdouble lVar14;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "FUN_00045159();" (call_expression "FUN_00045159()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x1c) / local_3c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / local_3c" (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_3c = *(int *)(iVar2 + 0x1c) % local_3c;" (assignment_expression "local_3c = *(int *)(iVar2 + 0x1c) % local_3c" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % local_3c" (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 (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }" if (parenthesized_expression "(iVar7 < local_3c)" ( (binary_expression "iVar7 < local_3c" identifier < identifier) )) (compound_statement "{\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) })) (expression_statement "local_3c = local_3c + iVar7 * iVar8;" (assignment_expression "local_3c = local_3c + iVar7 * iVar8" identifier = (binary_expression "local_3c + iVar7 * iVar8" identifier + (binary_expression "iVar7 * iVar8" identifier * identifier))) ;) (expression_statement "iVar8 = iVar8 + local_3c;" (assignment_expression "iVar8 = iVar8 + local_3c" identifier = (binary_expression "iVar8 + local_3c" identifier + identifier)) ;) (if_statement "if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }" if (parenthesized_expression "(local_3c < iVar8)" ( (binary_expression "local_3c < iVar8" identifier < identifier) )) (compound_statement "{\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }" { (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = (undefined8 *)param_1[3];" (assignment_expression "puVar3 = (undefined8 *)param_1[3]" identifier = (cast_expression "(undefined8 *)param_1[3]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar3 + 0xffff;" (assignment_expression "puVar9 = puVar3 + 0xffff" identifier = (binary_expression "puVar3 + 0xffff" 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        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    }" { (if_statement "if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\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        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }" { (expression_statement "iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;" (assignment_expression "iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier = (call_expression "GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" identifier (argument_list "(iVar7,0,local_3c,*(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 (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }" { (expression_statement "local_38 = *(int *)(iVar2 + 0x18);" (assignment_expression "local_38 = *(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 (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }" { (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8)" identifier = (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 8)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 8)" ( (binary_expression "*(int *)(iVar2 + 0x2a8) + 8" (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) )))) + number_literal) ))))) ;) (do_statement "do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);" do (compound_statement "{\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            }" { (expression_statement "lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier = (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) , (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" ( (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ))))) ;) (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 0x14)" ( (binary_expression "*(int *)(iVar2 + 0x2a8) + 0x14" (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier = (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) , (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" ( (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ))))) ;) (expression_statement "dVar1 = (double)lVar14;" (assignment_expression "dVar1 = (double)lVar14" identifier = (cast_expression "(double)lVar14" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" identifier = (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 0x20)" ( (binary_expression "*(int *)(iVar2 + 0x2a8) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier = (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" identifier (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" ( (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) , (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" * (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" ( (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ))))) ;) (expression_statement "fVar6 = (float)lVar13;" (assignment_expression "fVar6 = (float)lVar13" identifier = (cast_expression "(float)lVar13" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (if_statement "if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" if (parenthesized_expression "((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6))" ( (binary_expression "(fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)" (parenthesized_expression "(fVar6 < *(float *)(unaff_EBP + 0x279cc2))" ( (binary_expression "fVar6 < *(float *)(unaff_EBP + 0x279cc2)" identifier < (pointer_expression "*(float *)(unaff_EBP + 0x279cc2)" * (cast_expression "(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x279cc2)" ( (binary_expression "unaff_EBP + 0x279cc2" identifier + number_literal) ))))) )) && (parenthesized_expression "(puVar11 = puVar3, 0.0 < fVar6)" ( (comma_expression "puVar11 = puVar3, 0.0 < fVar6" (assignment_expression "puVar11 = puVar3" identifier = identifier) , (binary_expression "0.0 < fVar6" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" identifier = (cast_expression "(int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" identifier (argument_list "(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" ( (binary_expression "fVar6 + *(float *)(unaff_EBP + 0x2796d2)" identifier + (pointer_expression "*(float *)(unaff_EBP + 0x2796d2)" * (cast_expression "(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x2796d2)" ( (binary_expression "unaff_EBP + 0x2796d2" identifier + number_literal) ))))) )))))) ;) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" identifier = (binary_expression "puVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "iVar5 = *(int *)(iVar2 + 0x2a8);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(iVar5 + 8);" (assignment_expression "iVar12 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + iVar12 * 8)" * (cast_expression "(undefined8 *)(iVar10 + iVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 8)" ( (binary_expression "iVar10 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (if_statement "if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" if (parenthesized_expression "((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1))" ( (binary_expression "(dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)" (parenthesized_expression "(dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2))" ( (binary_expression "dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)" identifier < (cast_expression "(double)*(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x279cc2)" * (cast_expression "(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x279cc2)" ( (binary_expression "unaff_EBP + 0x279cc2" identifier + number_literal) )))))) )) && (parenthesized_expression "(puVar11 = puVar3, 0.0 < dVar1)" ( (comma_expression "puVar11 = puVar3, 0.0 < dVar1" (assignment_expression "puVar11 = puVar3" identifier = identifier) , (binary_expression "0.0 < dVar1" number_literal < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" identifier = (cast_expression "(int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" identifier (argument_list "(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" ( (binary_expression "dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2)" identifier + (cast_expression "(double)*(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EBP + 0x2796d2)" * (cast_expression "(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x2796d2)" ( (binary_expression "unaff_EBP + 0x2796d2" identifier + number_literal) )))))) )))))) ;) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" identifier = (binary_expression "puVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8)" * (cast_expression "(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + *(int *)(iVar5 + 0x14) * 8)" ( (binary_expression "iVar10 + *(int *)(iVar5 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x14) * 8" (pointer_expression "*(int *)(iVar5 + 0x14)" * (cast_expression "(int *)(iVar5 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (if_statement "if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" if (parenthesized_expression "((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14))" ( (binary_expression "(lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)" (parenthesized_expression "(lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2))" ( (binary_expression "lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)" identifier < (binary_expression "(longdouble)*(float *)(unaff_EBP + 0x279cc2)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(float *)(unaff_EBP + 0x279cc2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x279cc2)" ( (binary_expression "unaff_EBP + 0x279cc2" identifier + number_literal) ))))) )) && (parenthesized_expression "(puVar11 = puVar3, (longdouble)0 < lVar14)" ( (comma_expression "puVar11 = puVar3, (longdouble)0 < lVar14" (assignment_expression "puVar11 = puVar3" identifier = identifier) , (binary_expression "(longdouble)0 < lVar14" (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal) < identifier)) ))) )) (compound_statement "{\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" { (expression_statement "local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" identifier = (cast_expression "(int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" identifier (argument_list "(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" ( (binary_expression "lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2)" identifier + (binary_expression "(longdouble)*(float *)(unaff_EBP + 0x2796d2)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(float *)(unaff_EBP + 0x2796d2)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x2796d2)" ( (binary_expression "unaff_EBP + 0x2796d2" identifier + number_literal) ))))) )))))) ;) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" identifier = (binary_expression "puVar3 + local_2c" identifier + identifier)) ;) })) (expression_statement "local_38 = local_38 + -1;" (assignment_expression "local_38 = local_38 + -1" identifier = (binary_expression "local_38 + -1" identifier + number_literal)) ;) (expression_statement "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8)" * (cast_expression "(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + *(int *)(iVar5 + 0x20) * 8)" ( (binary_expression "iVar10 + *(int *)(iVar5 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x20) * 8" (pointer_expression "*(int *)(iVar5 + 0x20)" * (cast_expression "(int *)(iVar5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x20)" ( (binary_expression "iVar5 + 0x20" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;" (assignment_expression "iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8" identifier = (binary_expression "iVar10 + *(int *)(iVar2 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar2 + 0x298) * 8" (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) )))) * number_literal))) ;) }) while (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);" (assignment_expression "iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4)" identifier = (call_expression "SyncCacheViewAuthenticPixels(iVar7,iVar4)" identifier (argument_list "(iVar7,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar10 != 0) goto LAB_00065e98;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00065e98;" goto statement_identifier ;)) })) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00065e98:\n      local_3c = local_3c + 1;" statement_identifier : (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar8 != local_3c)" ( (binary_expression "iVar8 != local_3c" 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 IDENT + (binary_expression 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 = (binary_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 = (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 != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) && (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 + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 + (binary_expression (parenthesized_expression ( IDENT )) * (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 IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00065be0(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00065be0(int *param_1)" (identifier "FUN_00065be0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  int iVar5;\n  float fVar6;\n  int iVar7;\n  int iVar8;\n  undefined8 *puVar9;\n  int iVar10;\n  undefined8 *puVar11;\n  int iVar12;\n  int unaff_EBP;\n  longdouble lVar13;\n  longdouble lVar14;\n  int local_3c;\n  int local_38;\n  int local_2c;\n  \n  FUN_00045159();\n  iVar2 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;\n  if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }\n  local_3c = local_3c + iVar7 * iVar8;\n  iVar8 = iVar8 + local_3c;\n  if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "float fVar6;" (primitive_type "float") (identifier "fVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined8 *puVar9;" (type_identifier "undefined8") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined8 *puVar11;" (type_identifier "undefined8") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "longdouble lVar13;" (type_identifier "longdouble") (identifier "lVar13") (; ";")) (declaration "longdouble lVar14;" (type_identifier "longdouble") (identifier "lVar14") (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "FUN_00045159();" (call_expression "FUN_00045159()" (identifier "FUN_00045159") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" (identifier "local_3c") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" (identifier "iVar7") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x1c) / local_3c" (identifier "iVar8") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) / local_3c" (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_3c"))) (; ";")) (expression_statement "local_3c = *(int *)(iVar2 + 0x1c) % local_3c;" (assignment_expression "local_3c = *(int *)(iVar2 + 0x1c) % local_3c" (identifier "local_3c") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) % local_3c" (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_3c"))) (; ";")) (if_statement "if (iVar7 < local_3c) {\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }" (if "if") (parenthesized_expression "(iVar7 < local_3c)" (( "(") (binary_expression "iVar7 < local_3c" (identifier "iVar7") (< "<") (identifier "local_3c")) () ")")) (compound_statement "{\n    iVar8 = iVar8 + 1;\n    local_3c = 0;\n  }" ({ "{") (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_3c = local_3c + iVar7 * iVar8;" (assignment_expression "local_3c = local_3c + iVar7 * iVar8" (identifier "local_3c") (= "=") (binary_expression "local_3c + iVar7 * iVar8" (identifier "local_3c") (+ "+") (binary_expression "iVar7 * iVar8" (identifier "iVar7") (* "*") (identifier "iVar8")))) (; ";")) (expression_statement "iVar8 = iVar8 + local_3c;" (assignment_expression "iVar8 = iVar8 + local_3c" (identifier "iVar8") (= "=") (binary_expression "iVar8 + local_3c" (identifier "iVar8") (+ "+") (identifier "local_3c"))) (; ";")) (if_statement "if (local_3c < iVar8) {\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }" (if "if") (parenthesized_expression "(local_3c < iVar8)" (( "(") (binary_expression "local_3c < iVar8" (identifier "local_3c") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n    iVar7 = param_1[2];\n    puVar3 = (undefined8 *)param_1[3];\n    puVar9 = puVar3 + 0xffff;\n    iVar4 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);\n  }" ({ "{") (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" (identifier "iVar7") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar3 = (undefined8 *)param_1[3];" (assignment_expression "puVar3 = (undefined8 *)param_1[3]" (identifier "puVar3") (= "=") (cast_expression "(undefined8 *)param_1[3]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "puVar9 = puVar3 + 0xffff;" (assignment_expression "puVar9 = puVar3 + 0xffff" (identifier "puVar9") (= "=") (binary_expression "puVar3 + 0xffff" (identifier "puVar3") (+ "+") (number_literal "0xffff"))) (; ";")) (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        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    } while (iVar8 != local_3c);" (do "do") (compound_statement "{\n      if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }\nLAB_00065e98:\n      local_3c = local_3c + 1;\n    }" ({ "{") (if_statement "if (param_1[4] != 0) {\n        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\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        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;\n        if (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }\n        param_1[4] = 0;\n      }" ({ "{") (expression_statement "iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)\n        ;" (assignment_expression "iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (identifier "iVar10") (= "=") (call_expression "GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (identifier "GetCacheViewAuthenticPixels") (argument_list "(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)" (( "(") (identifier "iVar7") (, ",") (number_literal "0") (, ",") (identifier "local_3c") (, ",") (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 (iVar10 != 0) {\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          local_38 = *(int *)(iVar2 + 0x18);\n          if (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }\n          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);\n          if (iVar10 != 0) goto LAB_00065e98;\n        }" ({ "{") (expression_statement "local_38 = *(int *)(iVar2 + 0x18);" (assignment_expression "local_38 = *(int *)(iVar2 + 0x18)" (identifier "local_38") (= "=") (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 (local_38 != 0) {\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }" (if "if") (parenthesized_expression "(local_38 != 0)" (( "(") (binary_expression "local_38 != 0" (identifier "local_38") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);\n            do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);\n          }" ({ "{") (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 8)" (* "*") (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 8)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2a8) + 8" (pointer_expression "*(int *)(iVar2 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar2 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a8)" (( "(") (binary_expression "iVar2 + 0x2a8" (identifier "iVar2") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (do_statement "do {\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            } while (local_38 != 0);" (do "do") (compound_statement "{\n              lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              dVar1 = (double)lVar14;\n              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);\n              lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));\n              fVar6 = (float)lVar13;\n              puVar11 = puVar9;\n              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              iVar5 = *(int *)(iVar2 + 0x2a8);\n              iVar12 = *(int *)(iVar5 + 8);\n              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;\n              puVar11 = puVar9;\n              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }\n              local_38 = local_38 + -1;\n              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;\n              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;\n            }" ({ "{") (expression_statement "lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar13 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (identifier "lVar13") (= "=") (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (identifier "DecodePixelGamma") (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + iVar12 * 8" (identifier "iVar10") (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) () ")"))))) (; ";")) (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 0x14)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2a8) + 0x14" (pointer_expression "*(int *)(iVar2 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar2 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a8)" (( "(") (binary_expression "iVar2 + 0x2a8" (identifier "iVar2") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (identifier "lVar14") (= "=") (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (identifier "DecodePixelGamma") (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + iVar12 * 8" (identifier "iVar10") (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) () ")"))))) (; ";")) (expression_statement "dVar1 = (double)lVar14;" (assignment_expression "dVar1 = (double)lVar14" (identifier "dVar1") (= "=") (cast_expression "(double)lVar14" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar14"))) (; ";")) (expression_statement "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(iVar2 + 0x2a8) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x2a8) + 0x20)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2a8) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar2 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a8)" (( "(") (binary_expression "iVar2 + 0x2a8" (identifier "iVar2") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));" (assignment_expression "lVar14 = (longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (identifier "lVar14") (= "=") (cast_expression "(longdouble)\n                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (call_expression "DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (identifier "DecodePixelGamma") (argument_list "(*(undefined4 *)(iVar10 + iVar12 * 8),\n                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + iVar12 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar10 + iVar12 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + iVar12 * 8" (identifier "iVar10") (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar10 + 4 + iVar12 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4 + iVar12 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + 4 + iVar12 * 8" (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) () ")"))))) (; ";")) (expression_statement "fVar6 = (float)lVar13;" (assignment_expression "fVar6 = (float)lVar13" (identifier "fVar6") (= "=") (cast_expression "(float)lVar13" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "lVar13"))) (; ";")) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" (identifier "puVar11") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" (if "if") (parenthesized_expression "((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6))" (( "(") (binary_expression "(fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)" (parenthesized_expression "(fVar6 < *(float *)(unaff_EBP + 0x279cc2))" (( "(") (binary_expression "fVar6 < *(float *)(unaff_EBP + 0x279cc2)" (identifier "fVar6") (< "<") (pointer_expression "*(float *)(unaff_EBP + 0x279cc2)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x279cc2)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x279cc2)" (( "(") (binary_expression "unaff_EBP + 0x279cc2" (identifier "unaff_EBP") (+ "+") (number_literal "0x279cc2")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(puVar11 = puVar3, 0.0 < fVar6)" (( "(") (comma_expression "puVar11 = puVar3, 0.0 < fVar6" (assignment_expression "puVar11 = puVar3" (identifier "puVar11") (= "=") (identifier "puVar3")) (, ",") (binary_expression "0.0 < fVar6" (number_literal "0.0") (< "<") (identifier "fVar6"))) () ")"))) () ")")) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" ({ "{") (expression_statement "local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" (identifier "local_2c") (= "=") (cast_expression "(int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" (identifier "ROUND") (argument_list "(fVar6 + *(float *)(unaff_EBP + 0x2796d2))" (( "(") (binary_expression "fVar6 + *(float *)(unaff_EBP + 0x2796d2)" (identifier "fVar6") (+ "+") (pointer_expression "*(float *)(unaff_EBP + 0x2796d2)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x2796d2)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x2796d2)" (( "(") (binary_expression "unaff_EBP + 0x2796d2" (identifier "unaff_EBP") (+ "+") (number_literal "0x2796d2")) () ")"))))) () ")")))))) (; ";")) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" (identifier "puVar11") (= "=") (binary_expression "puVar3 + local_2c" (identifier "puVar3") (+ "+") (identifier "local_2c"))) (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(iVar2 + 0x2a8);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x2a8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar2 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar2 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a8)" (( "(") (binary_expression "iVar2 + 0x2a8" (identifier "iVar2") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "iVar12 = *(int *)(iVar5 + 8);" (assignment_expression "iVar12 = *(int *)(iVar5 + 8)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + iVar12 * 8)" (* "*") (cast_expression "(undefined8 *)(iVar10 + iVar12 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar12 * 8)" (( "(") (binary_expression "iVar10 + iVar12 * 8" (identifier "iVar10") (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" (identifier "puVar11") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)) {\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" (if "if") (parenthesized_expression "((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1))" (( "(") (binary_expression "(dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, 0.0 < dVar1)" (parenthesized_expression "(dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2))" (( "(") (binary_expression "dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)" (identifier "dVar1") (< "<") (cast_expression "(double)*(float *)(unaff_EBP + 0x279cc2)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x279cc2)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x279cc2)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x279cc2)" (( "(") (binary_expression "unaff_EBP + 0x279cc2" (identifier "unaff_EBP") (+ "+") (number_literal "0x279cc2")) () ")")))))) () ")")) (&& "&&") (parenthesized_expression "(puVar11 = puVar3, 0.0 < dVar1)" (( "(") (comma_expression "puVar11 = puVar3, 0.0 < dVar1" (assignment_expression "puVar11 = puVar3" (identifier "puVar11") (= "=") (identifier "puVar3")) (, ",") (binary_expression "0.0 < dVar1" (number_literal "0.0") (< "<") (identifier "dVar1"))) () ")"))) () ")")) (compound_statement "{\n                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" ({ "{") (expression_statement "local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" (identifier "local_2c") (= "=") (cast_expression "(int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" (identifier "ROUND") (argument_list "(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2))" (( "(") (binary_expression "dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2)" (identifier "dVar1") (+ "+") (cast_expression "(double)*(float *)(unaff_EBP + 0x2796d2)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EBP + 0x2796d2)" (* "*") (cast_expression "(float *)(unaff_EBP + 0x2796d2)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x2796d2)" (( "(") (binary_expression "unaff_EBP + 0x2796d2" (identifier "unaff_EBP") (+ "+") (number_literal "0x2796d2")) () ")")))))) () ")")))))) (; ";")) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" (identifier "puVar11") (= "=") (binary_expression "puVar3 + local_2c" (identifier "puVar3") (+ "+") (identifier "local_2c"))) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + *(int *)(iVar5 + 0x14) * 8)" (( "(") (binary_expression "iVar10 + *(int *)(iVar5 + 0x14) * 8" (identifier "iVar10") (+ "+") (binary_expression "*(int *)(iVar5 + 0x14) * 8" (pointer_expression "*(int *)(iVar5 + 0x14)" (* "*") (cast_expression "(int *)(iVar5 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" (identifier "puVar11") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" (if "if") (parenthesized_expression "((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14))" (( "(") (binary_expression "(lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&\n                 (puVar11 = puVar3, (longdouble)0 < lVar14)" (parenthesized_expression "(lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2))" (( "(") (binary_expression "lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)" (identifier "lVar14") (< "<") (binary_expression "(longdouble)*(float *)(unaff_EBP + 0x279cc2)" (parenthesized_expression "(longdouble)" (( "(") (identifier "longdouble") () ")")) (* "*") (cast_expression "(float *)(unaff_EBP + 0x279cc2)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x279cc2)" (( "(") (binary_expression "unaff_EBP + 0x279cc2" (identifier "unaff_EBP") (+ "+") (number_literal "0x279cc2")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(puVar11 = puVar3, (longdouble)0 < lVar14)" (( "(") (comma_expression "puVar11 = puVar3, (longdouble)0 < lVar14" (assignment_expression "puVar11 = puVar3" (identifier "puVar11") (= "=") (identifier "puVar3")) (, ",") (binary_expression "(longdouble)0 < lVar14" (cast_expression "(longdouble)0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "0")) (< "<") (identifier "lVar14"))) () ")"))) () ")")) (compound_statement "{\n                local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));\n                puVar11 = puVar3 + local_2c;\n              }" ({ "{") (expression_statement "local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));" (assignment_expression "local_2c = (int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" (identifier "local_2c") (= "=") (cast_expression "(int)(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(longlong)\n                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" (identifier "ROUND") (argument_list "(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2))" (( "(") (binary_expression "lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2)" (identifier "lVar14") (+ "+") (binary_expression "(longdouble)*(float *)(unaff_EBP + 0x2796d2)" (parenthesized_expression "(longdouble)" (( "(") (identifier "longdouble") () ")")) (* "*") (cast_expression "(float *)(unaff_EBP + 0x2796d2)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x2796d2)" (( "(") (binary_expression "unaff_EBP + 0x2796d2" (identifier "unaff_EBP") (+ "+") (number_literal "0x2796d2")) () ")"))))) () ")")))))) (; ";")) (expression_statement "puVar11 = puVar3 + local_2c;" (assignment_expression "puVar11 = puVar3 + local_2c" (identifier "puVar11") (= "=") (binary_expression "puVar3 + local_2c" (identifier "puVar3") (+ "+") (identifier "local_2c"))) (; ";")) (} "}"))) (expression_statement "local_38 = local_38 + -1;" (assignment_expression "local_38 = local_38 + -1" (identifier "local_38") (= "=") (binary_expression "local_38 + -1" (identifier "local_38") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;" (assignment_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11" (pointer_expression "*(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + *(int *)(iVar5 + 0x20) * 8)" (( "(") (binary_expression "iVar10 + *(int *)(iVar5 + 0x20) * 8" (identifier "iVar10") (+ "+") (binary_expression "*(int *)(iVar5 + 0x20) * 8" (pointer_expression "*(int *)(iVar5 + 0x20)" (* "*") (cast_expression "(int *)(iVar5 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x20)" (( "(") (binary_expression "iVar5 + 0x20" (identifier "iVar5") (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;" (assignment_expression "iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8" (identifier "iVar10") (= "=") (binary_expression "iVar10 + *(int *)(iVar2 + 0x298) * 8" (identifier "iVar10") (+ "+") (binary_expression "*(int *)(iVar2 + 0x298) * 8" (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")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_38 != 0)" (( "(") (binary_expression "local_38 != 0" (identifier "local_38") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);" (assignment_expression "iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4)" (identifier "iVar10") (= "=") (call_expression "SyncCacheViewAuthenticPixels(iVar7,iVar4)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(iVar7,iVar4)" (( "(") (identifier "iVar7") (, ",") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) goto LAB_00065e98;" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00065e98;" (goto "goto") (statement_identifier "LAB_00065e98") (; ";"))) (} "}"))) (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")) (; ";")) (} "}"))) (labeled_statement "LAB_00065e98:\n      local_3c = local_3c + 1;" (statement_identifier "LAB_00065e98") (: ":") (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" (identifier "local_3c") (= "=") (binary_expression "local_3c + 1" (identifier "local_3c") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar8 != local_3c)" (( "(") (binary_expression "iVar8 != local_3c" (identifier "iVar8") (!= "!=") (identifier "local_3c")) () ")")) (; ";")) (} "}"))) (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 sRGBTransformImage._omp_fn.18(anon_struct_20_5_fd1d5fb5 * param_0)
    */

void __thiscall function_1(type_1 *this)

{
  type_2 *pIVar1;
  type_3 *cache_view;
  type_4 *var_6;
  type_5 *exception;
  type_6 *pPVar3;
  float var_13;
  int var_4;
  int var_5;
  type_4 *pQVar7;
  type_4 *var_9;
  type_4 *pQVar9;
  type_7 var_21;
  type_8 MVar11;
  type_8 var_18;
  type_8 var_19;
  int var_3;
  size_t var_10;
  int var_17;
  
  pIVar1 = this->image;
  var_3 = var_1();
  var_4 = var_2();
  var_5 = (int)pIVar1->rows / var_3;
  var_3 = (int)pIVar1->rows % var_3;
  if (var_4 < var_3) {
    var_5 = var_5 + 1;
    var_3 = 0;
  }
  var_3 = var_3 + var_4 * var_5;
  var_5 = var_5 + var_3;
  if (var_3 < var_5) {
    cache_view = this->image_view;
    var_6 = this->logmap;
    pQVar7 = var_6 + 0xffff;
    exception = this->exception;
    do {
      if (this->status != var_7) {
        var_9 = var_8(cache_view,0,var_3,pIVar1->columns,1,exception);
        if (var_9 != (type_4 *)0x0) {
          var_10 = pIVar1->columns;
          if (var_10 != 0) {
            var_4 = pIVar1->channel_map->offset;
            do {
              MVar11 = var_11((type_8)
                                        var_12(*(type_9 *)((int)var_9 + var_4 * 8 + 4),
                                                 *(type_9 *)(var_9 + var_4)));
              var_4 = pIVar1->channel_map[1].offset;
              var_18 = var_11((type_8)
                                        var_12(*(type_9 *)((int)var_9 + var_4 * 8 + 4),
                                                 *(type_9 *)(var_9 + var_4)));
              var_4 = pIVar1->channel_map[2].offset;
              var_19 = var_11((type_8)
                                        var_12(*(type_9 *)((int)var_9 + var_4 * 8 + 4),
                                                 *(type_9 *)(var_9 + var_4)));
              var_13 = (float)MVar11;
              pQVar9 = pQVar7;
              if ((var_13 < var_14) && (pQVar9 = var_6, 0.0 < var_13)) {
                var_17 = (int)(type_10)var_15(var_13 + var_16);
                pQVar9 = var_6 + var_17;
              }
              pPVar3 = pIVar1->channel_map;
              var_4 = pPVar3->offset;
              var_9[var_4] = *pQVar9;
              pQVar9 = pQVar7;
              if ((var_18 < (double)var_14) && (pQVar9 = var_6, 0.0 < var_18)) {
                var_17 = (int)(type_10)var_15(var_18 + (double)var_16);
                pQVar9 = var_6 + var_17;
              }
              var_9[pPVar3[1].offset] = *pQVar9;
              pQVar9 = pQVar7;
              if ((var_19 < (double)var_14) && (pQVar9 = var_6, 0.0 < var_19)) {
                var_17 = (int)(type_10)var_15(var_19 + (double)var_16);
                pQVar9 = var_6 + var_17;
              }
              var_10 = var_10 - 1;
              var_9[pPVar3[2].offset] = *pQVar9;
              var_9 = var_9 + pIVar1->number_channels;
            } while (var_10 != 0);
          }
          var_21 = var_20(cache_view,exception);
          if (var_21 != var_7) goto LAB_00065e98;
        }
        this->status = var_7;
      }
LAB_00065e98:
      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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (identifier) right: (binary_expression left: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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: (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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (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: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (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: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (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: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (binary_expression left: (parenthesized_expression (identifier)) right: (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (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: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

void MASKED(int *param_1)

{
  double dVar1;
  int iVar2;
  undefined8 *puVar3;
  int iVar4;
  int iVar5;
  float fVar6;
  int iVar7;
  int iVar8;
  undefined8 *puVar9;
  int iVar10;
  undefined8 *puVar11;
  int iVar12;
  int unaff_EBP;
  longdouble lVar13;
  longdouble lVar14;
  int local_3c;
  int local_38;
  int local_2c;
  
  FUN_00045159();
  iVar2 = *param_1;
  local_3c = omp_get_num_threads();
  iVar7 = omp_get_thread_num();
  iVar8 = *(int *)(iVar2 + 0x1c) / local_3c;
  local_3c = *(int *)(iVar2 + 0x1c) % local_3c;
  if (iVar7 < local_3c) {
    iVar8 = iVar8 + 1;
    local_3c = 0;
  }
  local_3c = local_3c + iVar7 * iVar8;
  iVar8 = iVar8 + local_3c;
  if (local_3c < iVar8) {
    iVar7 = param_1[2];
    puVar3 = (undefined8 *)param_1[3];
    puVar9 = puVar3 + 0xffff;
    iVar4 = param_1[1];
    do {
      if (param_1[4] != 0) {
        iVar10 = GetCacheViewAuthenticPixels(iVar7,0,local_3c,*(undefined4 *)(iVar2 + 0x18),1,iVar4)
        ;
        if (iVar10 != 0) {
          local_38 = *(int *)(iVar2 + 0x18);
          if (local_38 != 0) {
            iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 8);
            do {
              lVar13 = (longdouble)
                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),
                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));
              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x14);
              lVar14 = (longdouble)
                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),
                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));
              dVar1 = (double)lVar14;
              iVar12 = *(int *)(*(int *)(iVar2 + 0x2a8) + 0x20);
              lVar14 = (longdouble)
                       DecodePixelGamma(*(undefined4 *)(iVar10 + iVar12 * 8),
                                        *(undefined4 *)(iVar10 + 4 + iVar12 * 8));
              fVar6 = (float)lVar13;
              puVar11 = puVar9;
              if ((fVar6 < *(float *)(unaff_EBP + 0x279cc2)) && (puVar11 = puVar3, 0.0 < fVar6)) {
                local_2c = (int)(longlong)ROUND(fVar6 + *(float *)(unaff_EBP + 0x2796d2));
                puVar11 = puVar3 + local_2c;
              }
              iVar5 = *(int *)(iVar2 + 0x2a8);
              iVar12 = *(int *)(iVar5 + 8);
              *(undefined8 *)(iVar10 + iVar12 * 8) = *puVar11;
              puVar11 = puVar9;
              if ((dVar1 < (double)*(float *)(unaff_EBP + 0x279cc2)) &&
                 (puVar11 = puVar3, 0.0 < dVar1)) {
                local_2c = (int)(longlong)ROUND(dVar1 + (double)*(float *)(unaff_EBP + 0x2796d2));
                puVar11 = puVar3 + local_2c;
              }
              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x14) * 8) = *puVar11;
              puVar11 = puVar9;
              if ((lVar14 < (longdouble)*(float *)(unaff_EBP + 0x279cc2)) &&
                 (puVar11 = puVar3, (longdouble)0 < lVar14)) {
                local_2c = (int)(longlong)
                                ROUND(lVar14 + (longdouble)*(float *)(unaff_EBP + 0x2796d2));
                puVar11 = puVar3 + local_2c;
              }
              local_38 = local_38 + -1;
              *(undefined8 *)(iVar10 + *(int *)(iVar5 + 0x20) * 8) = *puVar11;
              iVar10 = iVar10 + *(int *)(iVar2 + 0x298) * 8;
            } while (local_38 != 0);
          }
          iVar10 = SyncCacheViewAuthenticPixels(iVar7,iVar4);
          if (iVar10 != 0) goto LAB_00065e98;
        }
        param_1[4] = 0;
      }
LAB_00065e98:
      local_3c = local_3c + 1;
    } while (iVar8 != local_3c);
  }
  return;
}

