
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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 SyncImage._omp_fn.9(anon_struct_20_5_d5ec1636 * param_0) */

void __thiscall SyncImage__omp_fn_9(anon_struct_20_5_d5ec1636 *this)

{
  double dVar1;
  Image *pIVar2;
  CacheView *cache_view;
  ExceptionInfo *exception;
  size_t sVar3;
  PixelChannelMap *pPVar4;
  PixelTrait PVar5;
  PixelTrait PVar6;
  PixelTrait PVar7;
  MagickBooleanType *pMVar8;
  uint uVar9;
  PixelInfo *pPVar10;
  int iVar11;
  int iVar12;
  size_t sVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  Quantum *pQVar17;
  MagickBooleanType MVar18;
  PixelInfo *pPVar19;
  size_t sVar20;
  uint local_2c;
  
  iVar14 = omp_get_num_threads();
  pIVar2 = this->image;
  iVar15 = omp_get_thread_num();
  iVar16 = (int)pIVar2->rows / iVar14;
  iVar14 = (int)pIVar2->rows % iVar14;
  if (iVar15 < iVar14) {
    iVar16 = iVar16 + 1;
    iVar14 = 0;
  }
  iVar14 = iVar15 * iVar16 + iVar14;
  iVar16 = iVar16 + iVar14;
  if (iVar14 < iVar16) {
    cache_view = this->image_view;
    exception = this->exception;
    do {
      if (this->status != MagickFalse) {
        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);
        if (pQVar17 != (Quantum *)0x0) {
          sVar3 = pIVar2->columns;
          if (0 < (int)sVar3) {
            pPVar4 = pIVar2->channel_map;
            PVar5 = pPVar4[5].traits;
            PVar6 = pPVar4[3].traits;
            PVar7 = pPVar4[4].traits;
            pMVar8 = this->range_exception;
            uVar9 = pIVar2->colors;
            pPVar10 = pIVar2->colormap;
            iVar15 = pPVar4->offset;
            iVar11 = pPVar4[1].offset;
            iVar12 = pPVar4[2].offset;
            sVar13 = pIVar2->number_channels;
            sVar20 = 0;
            do {
              if (PVar5 == UndefinedPixelTrait) {
                dVar1 = 0.0;
                if (uVar9 != 0) goto LAB_000e0883;
LAB_000e0922:
                *pMVar8 = MagickTrue;
                pPVar19 = pPVar10;
              }
              else {
                dVar1 = pQVar17[pPVar4[5].offset];
                local_2c = (uint)(longlong)ROUND(dVar1);
                if (uVar9 <= local_2c) goto LAB_000e0922;
LAB_000e0883:
                pPVar19 = pPVar10 + (int)ROUND(dVar1);
              }
              pQVar17[iVar15] = pPVar19->red;
              pQVar17[iVar11] = pPVar19->green;
              pQVar17[iVar12] = pPVar19->blue;
              if (PVar6 != UndefinedPixelTrait) {
                pQVar17[pPVar4[3].offset] = pPVar19->black;
              }
              if (PVar7 != UndefinedPixelTrait) {
                if (pPVar19->alpha_trait == UndefinedPixelTrait) {
                  dVar1 = (double)DAT_0029f710;
                }
                else {
                  dVar1 = pPVar19->alpha;
                }
                pQVar17[pPVar4[4].offset] = dVar1;
              }
              pQVar17 = pQVar17 + sVar13;
              sVar20 = sVar20 + 1;
            } while (sVar20 != sVar3);
          }
          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar18 != MagickFalse) goto LAB_000e0966;
        }
        this->status = MagickFalse;
      }
LAB_000e0966:
      iVar14 = iVar14 + 1;
    } while (iVar16 != iVar14);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000e0730(int *param_1)

{
  double dVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  uint uVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  uint local_2c;
  
  iVar16 = omp_get_num_threads();
  iVar2 = *param_1;
  iVar17 = omp_get_thread_num();
  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;
  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;
  if (iVar17 < iVar16) {
    iVar18 = iVar18 + 1;
    iVar16 = 0;
  }
  iVar16 = iVar17 * iVar18 + iVar16;
  iVar18 = iVar18 + iVar16;
  if (iVar16 < iVar18) {
    iVar17 = param_1[2];
    iVar3 = param_1[1];
    do {
      if (param_1[3] != 0) {
        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);
        if (iVar19 != 0) {
          iVar4 = *(int *)(iVar2 + 0x18);
          if (0 < iVar4) {
            iVar5 = *(int *)(iVar2 + 0x2a8);
            iVar6 = *(int *)(iVar5 + 0x40);
            iVar7 = *(int *)(iVar5 + 0x28);
            iVar8 = *(int *)(iVar5 + 0x34);
            puVar9 = (undefined4 *)param_1[4];
            uVar10 = *(uint *)(iVar2 + 0x24);
            iVar11 = *(int *)(iVar2 + 0x28);
            iVar12 = *(int *)(iVar5 + 8);
            iVar13 = *(int *)(iVar5 + 0x14);
            iVar14 = *(int *)(iVar5 + 0x20);
            iVar15 = *(int *)(iVar2 + 0x298);
            iVar21 = 0;
            do {
              if (iVar6 == 0) {
                dVar1 = 0.0;
                if (uVar10 != 0) goto LAB_000e0883;
LAB_000e0922:
                *puVar9 = 1;
                iVar20 = iVar11;
              }
              else {
                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);
                local_2c = (uint)(longlong)ROUND(dVar1);
                if (uVar10 <= local_2c) goto LAB_000e0922;
LAB_000e0883:
                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;
              }
              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);
              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);
              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);
              if (iVar7 != 0) {
                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =
                     *(undefined8 *)(iVar20 + 0x38);
              }
              if (iVar8 != 0) {
                if (*(int *)(iVar20 + 8) == 0) {
                  dVar1 = (double)DAT_0029f710;
                }
                else {
                  dVar1 = *(double *)(iVar20 + 0x40);
                }
                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;
              }
              iVar19 = iVar19 + iVar15 * 8;
              iVar21 = iVar21 + 1;
            } while (iVar21 != iVar4);
          }
          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);
          if (iVar19 != 0) goto LAB_000e0966;
        }
        param_1[3] = 0;
      }
LAB_000e0966:
      iVar16 = iVar16 + 1;
    } while (iVar18 != iVar16);
  }
  return;
}


CALL 0x0003bf88
ADD EAX,0x2f88cb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x5c
MOV ESI,dword ptr [ESP + 0x70]
MOV EBX,EAX
MOV dword ptr [ESP + 0x4],EAX
CALL 0x00030850
MOV EBP,dword ptr [ESI]
MOV ESI,EAX
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [EBP + 0x1c]
CDQ
IDIV ESI
CMP ECX,EDX
JGE 0x000e076a
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
LEA EDI,[ECX + EDX*0x1]
ADD EAX,EDI
CMP EDI,EAX
MOV dword ptr [ESP + 0x2c],EAX
JGE 0x000e0973
MOV EAX,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x34],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x70]
MOV EBX,dword ptr [EAX + 0xc]
TEST EBX,EBX
JZ 0x000e0966
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH 0x1
PUSH dword ptr [EBP + 0x18]
PUSH EDI
PUSH 0x0
PUSH dword ptr [ESP + 0x4c]
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x000312c0
ADD ESP,0x20
TEST EAX,EAX
JZ 0x000e095b
MOV EDX,dword ptr [EBP + 0x18]
TEST EDX,EDX
MOV dword ptr [ESP + 0x8],EDX
JLE 0x000e0940
MOV ESI,dword ptr [EBP + 0x2a8]
MOV dword ptr [ESP + 0x38],EDI
MOV dword ptr [ESP + 0x3c],EBP
MOV EDX,dword ptr [ESI + 0x40]
MOV ECX,dword ptr [ESI + 0x28]
MOV EBX,dword ptr [ESI + 0x34]
MOV dword ptr [ESP + 0x18],EDX
MOV EDX,dword ptr [ESP + 0x70]
MOV EDI,ECX
MOV EDX,dword ptr [EDX + 0x10]
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,dword ptr [EBP + 0x24]
MOV dword ptr [ESP + 0x14],EDX
MOV EDX,dword ptr [EBP + 0x28]
MOV dword ptr [ESP + 0xc],EDX
MOV EDX,dword ptr [ESI + 0x8]
SHL EDX,0x3
MOV dword ptr [ESP + 0x1c],EDX
MOV EDX,dword ptr [ESI + 0x14]
SHL EDX,0x3
MOV dword ptr [ESP + 0x20],EDX
MOV EDX,dword ptr [ESI + 0x20]
SHL EDX,0x3
MOV dword ptr [ESP + 0x24],EDX
MOV EDX,dword ptr [EBP + 0x298]
MOV EBP,EBX
SHL EDX,0x3
MOV dword ptr [ESP + 0x10],EDX
XOR EDX,EDX
JMP 0x000e08fe
MOV ECX,dword ptr [ESI + 0x44]
FLD qword ptr [EAX + ECX*0x8]
FNSTCW word ptr [ESP + 0x4e]
MOVZX ECX,word ptr [ESP + 0x4e]
OR CH,0xc
MOV word ptr [ESP + 0x4c],CX
FLD ST0
FLDCW word ptr [ESP + 0x4c]
FISTP qword ptr [ESP + 0x40]
FLDCW word ptr [ESP + 0x4e]
MOV ECX,dword ptr [ESP + 0x40]
CMP dword ptr [ESP + 0x14],ECX
JBE 0x000e0920
FNSTCW word ptr [ESP + 0x4e]
MOVZX ECX,word ptr [ESP + 0x4e]
OR CH,0xc
MOV word ptr [ESP + 0x4c],CX
FLDCW word ptr [ESP + 0x4c]
FISTP dword ptr [ESP + 0x48]
FLDCW word ptr [ESP + 0x4e]
MOV ECX,dword ptr [ESP + 0x48]
LEA ECX,[ECX + ECX*0x4]
SHL ECX,0x4
ADD ECX,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x1c]
FLD qword ptr [ECX + 0x20]
FSTP qword ptr [EAX + EBX*0x1]
MOV EBX,dword ptr [ESP + 0x20]
FLD qword ptr [ECX + 0x28]
FSTP qword ptr [EAX + EBX*0x1]
MOV EBX,dword ptr [ESP + 0x24]
FLD qword ptr [ECX + 0x30]
FSTP qword ptr [EAX + EBX*0x1]
TEST EDI,EDI
JZ 0x000e08d9
MOV EBX,dword ptr [ESI + 0x2c]
FLD qword ptr [ECX + 0x38]
FSTP qword ptr [EAX + EBX*0x8]
TEST EBP,EBP
JZ 0x000e08f1
MOV EBX,dword ptr [ECX + 0x8]
TEST EBX,EBX
JZ 0x000e0980
FLD qword ptr [ECX + 0x40]
MOV ECX,dword ptr [ESI + 0x38]
FSTP qword ptr [EAX + ECX*0x8]
ADD EAX,dword ptr [ESP + 0x10]
ADD EDX,0x1
CMP EDX,dword ptr [ESP + 0x8]
JZ 0x000e0938
MOV ECX,dword ptr [ESP + 0x18]
TEST ECX,ECX
JNZ 0x000e0850
FLDZ
XOR ECX,ECX
CMP dword ptr [ESP + 0x14],ECX
JA 0x000e0883
FSTP ST0
JMP 0x000e0922
FSTP ST0
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [ECX],0x1
MOV ECX,dword ptr [ESP + 0xc]
JMP 0x000e08ae
MOV EDI,dword ptr [ESP + 0x38]
MOV EBP,dword ptr [ESP + 0x3c]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x00031800
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000e0966
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [EAX + 0xc],0x0
ADD EDI,0x1
CMP dword ptr [ESP + 0x2c],EDI
JNZ 0x000e0798
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,dword ptr [ESP + 0x4]
FLD dword ptr [EBX + 0xffec6710]
JMP 0x000e08eb
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000e0730(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000e0730(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000e0730(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  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "iVar16 = omp_get_num_threads();" (assignment_expression "iVar16 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar17 = omp_get_thread_num();" (assignment_expression "iVar17 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;" (assignment_expression "iVar18 = *(int *)(iVar2 + 0x1c) / iVar16" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / iVar16" (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 "iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;" (assignment_expression "iVar16 = *(int *)(iVar2 + 0x1c) % iVar16" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % iVar16" (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 (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }" if (parenthesized_expression "(iVar17 < iVar16)" ( (binary_expression "iVar17 < iVar16" identifier < identifier) )) (compound_statement "{\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) })) (expression_statement "iVar16 = iVar17 * iVar18 + iVar16;" (assignment_expression "iVar16 = iVar17 * iVar18 + iVar16" identifier = (binary_expression "iVar17 * iVar18 + iVar16" (binary_expression "iVar17 * iVar18" identifier * identifier) + identifier)) ;) (expression_statement "iVar18 = iVar18 + iVar16;" (assignment_expression "iVar18 = iVar18 + iVar16" identifier = (binary_expression "iVar18 + iVar16" identifier + identifier)) ;) (if_statement "if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }" if (parenthesized_expression "(iVar16 < iVar18)" ( (binary_expression "iVar16 < iVar18" identifier < identifier) )) (compound_statement "{\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }" { (expression_statement "iVar17 = param_1[2];" (assignment_expression "iVar17 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);" do (compound_statement "{\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    }" { (if_statement "if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }" { (expression_statement "iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);" (assignment_expression "iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" identifier = (call_expression "GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" identifier (argument_list "(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" ( 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 (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }" if (parenthesized_expression "(iVar19 != 0)" ( (binary_expression "iVar19 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }" { (expression_statement "iVar4 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }" { (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 "iVar6 = *(int *)(iVar5 + 0x40);" (assignment_expression "iVar6 = *(int *)(iVar5 + 0x40)" identifier = (pointer_expression "*(int *)(iVar5 + 0x40)" * (cast_expression "(int *)(iVar5 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x40)" ( (binary_expression "iVar5 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar5 + 0x28);" (assignment_expression "iVar7 = *(int *)(iVar5 + 0x28)" identifier = (pointer_expression "*(int *)(iVar5 + 0x28)" * (cast_expression "(int *)(iVar5 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x28)" ( (binary_expression "iVar5 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar5 + 0x34);" (assignment_expression "iVar8 = *(int *)(iVar5 + 0x34)" identifier = (pointer_expression "*(int *)(iVar5 + 0x34)" * (cast_expression "(int *)(iVar5 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x34)" ( (binary_expression "iVar5 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = (undefined4 *)param_1[4];" (assignment_expression "puVar9 = (undefined4 *)param_1[4]" identifier = (cast_expression "(undefined4 *)param_1[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x24);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x24)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar2 + 0x28);" (assignment_expression "iVar11 = *(int *)(iVar2 + 0x28)" identifier = (pointer_expression "*(int *)(iVar2 + 0x28)" * (cast_expression "(int *)(iVar2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" 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 "iVar13 = *(int *)(iVar5 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar5 + 0x14)" identifier = (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) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar5 + 0x20);" (assignment_expression "iVar14 = *(int *)(iVar5 + 0x20)" identifier = (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) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar15 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);" do (compound_statement "{\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            }" { (if_statement "if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }" { (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;) (if_statement "if (uVar10 != 0) goto LAB_000e0883;" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000e0883;" goto statement_identifier ;)) (labeled_statement "LAB_000e0922:\n                *puVar9 = 1;" statement_identifier : (expression_statement "*puVar9 = 1;" (assignment_expression "*puVar9 = 1" (pointer_expression "*puVar9" * identifier) = number_literal) ;)) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) }) (else_clause "else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" else (compound_statement "{\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" { (expression_statement "dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);" (assignment_expression "dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" identifier = (pointer_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" * (cast_expression "(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x44) * 8)" ( (binary_expression "iVar19 + *(int *)(iVar5 + 0x44) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x44) * 8" (pointer_expression "*(int *)(iVar5 + 0x44)" * (cast_expression "(int *)(iVar5 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x44)" ( (binary_expression "iVar5 + 0x44" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_2c = (uint)(longlong)ROUND(dVar1);" (assignment_expression "local_2c = (uint)(longlong)ROUND(dVar1)" identifier = (cast_expression "(uint)(longlong)ROUND(dVar1)" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(longlong)ROUND(dVar1)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier )))))) ;) (if_statement "if (uVar10 <= local_2c) goto LAB_000e0922;" if (parenthesized_expression "(uVar10 <= local_2c)" ( (binary_expression "uVar10 <= local_2c" identifier <= identifier) )) (goto_statement "goto LAB_000e0922;" goto statement_identifier ;)) (labeled_statement "LAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;" statement_identifier : (expression_statement "iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;" (assignment_expression "iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11" identifier = (binary_expression "(int)ROUND(dVar1) * 0x50 + iVar11" (binary_expression "(int)ROUND(dVar1) * 0x50" (cast_expression "(int)ROUND(dVar1)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier )))) * number_literal) + identifier)) ;)) }))) (expression_statement "*(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);" (assignment_expression "*(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20)" (pointer_expression "*(undefined8 *)(iVar19 + iVar12 * 8)" * (cast_expression "(undefined8 *)(iVar19 + iVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + iVar12 * 8)" ( (binary_expression "iVar19 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x20)" * (cast_expression "(undefined8 *)(iVar20 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x20)" ( (binary_expression "iVar20 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);" (assignment_expression "*(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28)" (pointer_expression "*(undefined8 *)(iVar19 + iVar13 * 8)" * (cast_expression "(undefined8 *)(iVar19 + iVar13 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + iVar13 * 8)" ( (binary_expression "iVar19 + iVar13 * 8" identifier + (binary_expression "iVar13 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x28)" * (cast_expression "(undefined8 *)(iVar20 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x28)" ( (binary_expression "iVar20 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);" (assignment_expression "*(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30)" (pointer_expression "*(undefined8 *)(iVar19 + iVar14 * 8)" * (cast_expression "(undefined8 *)(iVar19 + iVar14 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + iVar14 * 8)" ( (binary_expression "iVar19 + iVar14 * 8" identifier + (binary_expression "iVar14 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x30)" * (cast_expression "(undefined8 *)(iVar20 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x30)" ( (binary_expression "iVar20 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }" { (expression_statement "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);" (assignment_expression "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38)" (pointer_expression "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" * (cast_expression "(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" ( (binary_expression "iVar19 + *(int *)(iVar5 + 0x2c) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x2c) * 8" (pointer_expression "*(int *)(iVar5 + 0x2c)" * (cast_expression "(int *)(iVar5 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2c)" ( (binary_expression "iVar5 + 0x2c" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x38)" * (cast_expression "(undefined8 *)(iVar20 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x38)" ( (binary_expression "iVar20 + 0x38" identifier + number_literal) ))))) ;) })) (if_statement "if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }" { (if_statement "if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" if (parenthesized_expression "(*(int *)(iVar20 + 8) == 0)" ( (binary_expression "*(int *)(iVar20 + 8) == 0" (pointer_expression "*(int *)(iVar20 + 8)" * (cast_expression "(int *)(iVar20 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 8)" ( (binary_expression "iVar20 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                  dVar1 = (double)DAT_0029f710;\n                }" { (expression_statement "dVar1 = (double)DAT_0029f710;" (assignment_expression "dVar1 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" else (compound_statement "{\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" { (expression_statement "dVar1 = *(double *)(iVar20 + 0x40);" (assignment_expression "dVar1 = *(double *)(iVar20 + 0x40)" identifier = (pointer_expression "*(double *)(iVar20 + 0x40)" * (cast_expression "(double *)(iVar20 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x40)" ( (binary_expression "iVar20 + 0x40" identifier + number_literal) ))))) ;) }))) (expression_statement "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;" (assignment_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1" (pointer_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8)" * (cast_expression "(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x38) * 8)" ( (binary_expression "iVar19 + *(int *)(iVar5 + 0x38) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x38) * 8" (pointer_expression "*(int *)(iVar5 + 0x38)" * (cast_expression "(int *)(iVar5 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x38)" ( (binary_expression "iVar5 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = identifier) ;) })) (expression_statement "iVar19 = iVar19 + iVar15 * 8;" (assignment_expression "iVar19 = iVar19 + iVar15 * 8" identifier = (binary_expression "iVar19 + iVar15 * 8" identifier + (binary_expression "iVar15 * 8" identifier * number_literal))) ;) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar21 != iVar4)" ( (binary_expression "iVar21 != iVar4" identifier != identifier) )) ;) })) (expression_statement "iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);" (assignment_expression "iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3)" identifier = (call_expression "SyncCacheViewAuthenticPixels(iVar17,iVar3)" identifier (argument_list "(iVar17,iVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar19 != 0) goto LAB_000e0966;" if (parenthesized_expression "(iVar19 != 0)" ( (binary_expression "iVar19 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000e0966;" goto statement_identifier ;)) })) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_000e0966:\n      iVar16 = iVar16 + 1;" statement_identifier : (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar18 != iVar16)" ( (binary_expression "iVar18 != iVar16" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\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 SyncImage._omp_fn.9(anon_struct_20_5_d5ec1636 * param_0) */\n\nvoid __thiscall SyncImage__omp_fn_9(anon_struct_20_5_d5ec1636 *this)\n\n{\n  double dVar1;\n  Image *pIVar2;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  PixelChannelMap *pPVar4;\n  PixelTrait PVar5;\n  PixelTrait PVar6;\n  PixelTrait PVar7;\n  MagickBooleanType *pMVar8;\n  uint uVar9;\n  PixelInfo *pPVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  Quantum *pQVar17;\n  MagickBooleanType MVar18;\n  PixelInfo *pPVar19;\n  size_t sVar20;\n  uint local_2c;\n  \n  iVar14 = omp_get_num_threads();\n  pIVar2 = this->image;\n  iVar15 = omp_get_thread_num();\n  iVar16 = (int)pIVar2->rows / iVar14;\n  iVar14 = (int)pIVar2->rows % iVar14;\n  if (iVar15 < iVar14) {\n    iVar16 = iVar16 + 1;\n    iVar14 = 0;\n  }\n  iVar14 = iVar15 * iVar16 + iVar14;\n  iVar16 = iVar16 + iVar14;\n  if (iVar14 < iVar16) {\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    } while (iVar16 != iVar14);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall SyncImage__omp_fn_9(anon_struct_20_5_d5ec1636 *this)\n\n{\n  double dVar1;\n  Image *pIVar2;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  PixelChannelMap *pPVar4;\n  PixelTrait PVar5;\n  PixelTrait PVar6;\n  PixelTrait PVar7;\n  MagickBooleanType *pMVar8;\n  uint uVar9;\n  PixelInfo *pPVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  Quantum *pQVar17;\n  MagickBooleanType MVar18;\n  PixelInfo *pPVar19;\n  size_t sVar20;\n  uint local_2c;\n  \n  iVar14 = omp_get_num_threads();\n  pIVar2 = this->image;\n  iVar15 = omp_get_thread_num();\n  iVar16 = (int)pIVar2->rows / iVar14;\n  iVar14 = (int)pIVar2->rows % iVar14;\n  if (iVar15 < iVar14) {\n    iVar16 = iVar16 + 1;\n    iVar14 = 0;\n  }\n  iVar14 = iVar15 * iVar16 + iVar14;\n  iVar16 = iVar16 + iVar14;\n  if (iVar14 < iVar16) {\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    } while (iVar16 != iVar14);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "SyncImage__omp_fn_9(anon_struct_20_5_d5ec1636 *this)" identifier (parameter_list "(anon_struct_20_5_d5ec1636 *this)" ( (parameter_declaration "anon_struct_20_5_d5ec1636 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  Image *pIVar2;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  PixelChannelMap *pPVar4;\n  PixelTrait PVar5;\n  PixelTrait PVar6;\n  PixelTrait PVar7;\n  MagickBooleanType *pMVar8;\n  uint uVar9;\n  PixelInfo *pPVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  Quantum *pQVar17;\n  MagickBooleanType MVar18;\n  PixelInfo *pPVar19;\n  size_t sVar20;\n  uint local_2c;\n  \n  iVar14 = omp_get_num_threads();\n  pIVar2 = this->image;\n  iVar15 = omp_get_thread_num();\n  iVar16 = (int)pIVar2->rows / iVar14;\n  iVar14 = (int)pIVar2->rows % iVar14;\n  if (iVar15 < iVar14) {\n    iVar16 = iVar16 + 1;\n    iVar14 = 0;\n  }\n  iVar14 = iVar15 * iVar16 + iVar14;\n  iVar16 = iVar16 + iVar14;\n  if (iVar14 < iVar16) {\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    } while (iVar16 != iVar14);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "PixelTrait PVar5;" type_identifier identifier ;) (declaration "PixelTrait PVar6;" type_identifier identifier ;) (declaration "PixelTrait PVar7;" type_identifier identifier ;) (declaration "MagickBooleanType *pMVar8;" type_identifier (pointer_declarator "*pMVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "PixelInfo *pPVar10;" type_identifier (pointer_declarator "*pPVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "size_t sVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "Quantum *pQVar17;" type_identifier (pointer_declarator "*pQVar17" * identifier) ;) (declaration "MagickBooleanType MVar18;" type_identifier identifier ;) (declaration "PixelInfo *pPVar19;" type_identifier (pointer_declarator "*pPVar19" * identifier) ;) (declaration "size_t sVar20;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "iVar14 = omp_get_num_threads();" (assignment_expression "iVar14 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "pIVar2 = this->image;" (assignment_expression "pIVar2 = this->image" identifier = (field_expression "this->image" identifier -> field_identifier)) ;) (expression_statement "iVar15 = omp_get_thread_num();" (assignment_expression "iVar15 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar16 = (int)pIVar2->rows / iVar14;" (assignment_expression "iVar16 = (int)pIVar2->rows / iVar14" identifier = (binary_expression "(int)pIVar2->rows / iVar14" (cast_expression "(int)pIVar2->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar2->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "iVar14 = (int)pIVar2->rows % iVar14;" (assignment_expression "iVar14 = (int)pIVar2->rows % iVar14" identifier = (binary_expression "(int)pIVar2->rows % iVar14" (cast_expression "(int)pIVar2->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar2->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar15 < iVar14) {\n    iVar16 = iVar16 + 1;\n    iVar14 = 0;\n  }" if (parenthesized_expression "(iVar15 < iVar14)" ( (binary_expression "iVar15 < iVar14" identifier < identifier) )) (compound_statement "{\n    iVar16 = iVar16 + 1;\n    iVar14 = 0;\n  }" { (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) })) (expression_statement "iVar14 = iVar15 * iVar16 + iVar14;" (assignment_expression "iVar14 = iVar15 * iVar16 + iVar14" identifier = (binary_expression "iVar15 * iVar16 + iVar14" (binary_expression "iVar15 * iVar16" identifier * identifier) + identifier)) ;) (expression_statement "iVar16 = iVar16 + iVar14;" (assignment_expression "iVar16 = iVar16 + iVar14" identifier = (binary_expression "iVar16 + iVar14" identifier + identifier)) ;) (if_statement "if (iVar14 < iVar16) {\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    } while (iVar16 != iVar14);\n  }" if (parenthesized_expression "(iVar14 < iVar16)" ( (binary_expression "iVar14 < iVar16" identifier < identifier) )) (compound_statement "{\n    cache_view = this->image_view;\n    exception = this->exception;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    } while (iVar16 != iVar14);\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 "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        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    } while (iVar16 != iVar14);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000e0966:\n      iVar14 = iVar14 + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\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        pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);\n        if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }\n        this->status = MagickFalse;\n      }" { (expression_statement "pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception);" (assignment_expression "pQVar17 = GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception)" identifier = (call_expression "GetCacheViewAuthenticPixels(cache_view,0,iVar14,pIVar2->columns,1,exception)" identifier (argument_list "(cache_view,0,iVar14,pIVar2->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar2->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pQVar17 != (Quantum *)0x0) {\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }" if (parenthesized_expression "(pQVar17 != (Quantum *)0x0)" ( (binary_expression "pQVar17 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sVar3 = pIVar2->columns;\n          if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }\n          MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar18 != MagickFalse) goto LAB_000e0966;\n        }" { (expression_statement "sVar3 = pIVar2->columns;" (assignment_expression "sVar3 = pIVar2->columns" identifier = (field_expression "pIVar2->columns" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar3) {\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }" if (parenthesized_expression "(0 < (int)sVar3)" ( (binary_expression "0 < (int)sVar3" number_literal < (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            pPVar4 = pIVar2->channel_map;\n            PVar5 = pPVar4[5].traits;\n            PVar6 = pPVar4[3].traits;\n            PVar7 = pPVar4[4].traits;\n            pMVar8 = this->range_exception;\n            uVar9 = pIVar2->colors;\n            pPVar10 = pIVar2->colormap;\n            iVar15 = pPVar4->offset;\n            iVar11 = pPVar4[1].offset;\n            iVar12 = pPVar4[2].offset;\n            sVar13 = pIVar2->number_channels;\n            sVar20 = 0;\n            do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);\n          }" { (expression_statement "pPVar4 = pIVar2->channel_map;" (assignment_expression "pPVar4 = pIVar2->channel_map" identifier = (field_expression "pIVar2->channel_map" identifier -> field_identifier)) ;) (expression_statement "PVar5 = pPVar4[5].traits;" (assignment_expression "PVar5 = pPVar4[5].traits" identifier = (field_expression "pPVar4[5].traits" (subscript_expression "pPVar4[5]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "PVar6 = pPVar4[3].traits;" (assignment_expression "PVar6 = pPVar4[3].traits" identifier = (field_expression "pPVar4[3].traits" (subscript_expression "pPVar4[3]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "PVar7 = pPVar4[4].traits;" (assignment_expression "PVar7 = pPVar4[4].traits" identifier = (field_expression "pPVar4[4].traits" (subscript_expression "pPVar4[4]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "pMVar8 = this->range_exception;" (assignment_expression "pMVar8 = this->range_exception" identifier = (field_expression "this->range_exception" identifier -> field_identifier)) ;) (expression_statement "uVar9 = pIVar2->colors;" (assignment_expression "uVar9 = pIVar2->colors" identifier = (field_expression "pIVar2->colors" identifier -> field_identifier)) ;) (expression_statement "pPVar10 = pIVar2->colormap;" (assignment_expression "pPVar10 = pIVar2->colormap" identifier = (field_expression "pIVar2->colormap" identifier -> field_identifier)) ;) (expression_statement "iVar15 = pPVar4->offset;" (assignment_expression "iVar15 = pPVar4->offset" identifier = (field_expression "pPVar4->offset" identifier -> field_identifier)) ;) (expression_statement "iVar11 = pPVar4[1].offset;" (assignment_expression "iVar11 = pPVar4[1].offset" identifier = (field_expression "pPVar4[1].offset" (subscript_expression "pPVar4[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar12 = pPVar4[2].offset;" (assignment_expression "iVar12 = pPVar4[2].offset" identifier = (field_expression "pPVar4[2].offset" (subscript_expression "pPVar4[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "sVar13 = pIVar2->number_channels;" (assignment_expression "sVar13 = pIVar2->number_channels" identifier = (field_expression "pIVar2->number_channels" identifier -> field_identifier)) ;) (expression_statement "sVar20 = 0;" (assignment_expression "sVar20 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            } while (sVar20 != sVar3);" do (compound_statement "{\n              if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }\n              pQVar17[iVar15] = pPVar19->red;\n              pQVar17[iVar11] = pPVar19->green;\n              pQVar17[iVar12] = pPVar19->blue;\n              if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }\n              if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }\n              pQVar17 = pQVar17 + sVar13;\n              sVar20 = sVar20 + 1;\n            }" { (if_statement "if (PVar5 == UndefinedPixelTrait) {\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }\n              else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }" if (parenthesized_expression "(PVar5 == UndefinedPixelTrait)" ( (binary_expression "PVar5 == UndefinedPixelTrait" identifier == identifier) )) (compound_statement "{\n                dVar1 = 0.0;\n                if (uVar9 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *pMVar8 = MagickTrue;\n                pPVar19 = pPVar10;\n              }" { (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;) (if_statement "if (uVar9 != 0) goto LAB_000e0883;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000e0883;" goto statement_identifier ;)) (labeled_statement "LAB_000e0922:\n                *pMVar8 = MagickTrue;" statement_identifier : (expression_statement "*pMVar8 = MagickTrue;" (assignment_expression "*pMVar8 = MagickTrue" (pointer_expression "*pMVar8" * identifier) = identifier) ;)) (expression_statement "pPVar19 = pPVar10;" (assignment_expression "pPVar19 = pPVar10" identifier = identifier) ;) }) (else_clause "else {\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }" else (compound_statement "{\n                dVar1 = pQVar17[pPVar4[5].offset];\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar9 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);\n              }" { (expression_statement "dVar1 = pQVar17[pPVar4[5].offset];" (assignment_expression "dVar1 = pQVar17[pPVar4[5].offset]" identifier = (subscript_expression "pQVar17[pPVar4[5].offset]" identifier [ (field_expression "pPVar4[5].offset" (subscript_expression "pPVar4[5]" identifier [ number_literal ]) . field_identifier) ])) ;) (expression_statement "local_2c = (uint)(longlong)ROUND(dVar1);" (assignment_expression "local_2c = (uint)(longlong)ROUND(dVar1)" identifier = (cast_expression "(uint)(longlong)ROUND(dVar1)" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(longlong)ROUND(dVar1)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier )))))) ;) (if_statement "if (uVar9 <= local_2c) goto LAB_000e0922;" if (parenthesized_expression "(uVar9 <= local_2c)" ( (binary_expression "uVar9 <= local_2c" identifier <= identifier) )) (goto_statement "goto LAB_000e0922;" goto statement_identifier ;)) (labeled_statement "LAB_000e0883:\n                pPVar19 = pPVar10 + (int)ROUND(dVar1);" statement_identifier : (expression_statement "pPVar19 = pPVar10 + (int)ROUND(dVar1);" (assignment_expression "pPVar19 = pPVar10 + (int)ROUND(dVar1)" identifier = (binary_expression "pPVar10 + (int)ROUND(dVar1)" identifier + (cast_expression "(int)ROUND(dVar1)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier )))))) ;)) }))) (expression_statement "pQVar17[iVar15] = pPVar19->red;" (assignment_expression "pQVar17[iVar15] = pPVar19->red" (subscript_expression "pQVar17[iVar15]" identifier [ identifier ]) = (field_expression "pPVar19->red" identifier -> field_identifier)) ;) (expression_statement "pQVar17[iVar11] = pPVar19->green;" (assignment_expression "pQVar17[iVar11] = pPVar19->green" (subscript_expression "pQVar17[iVar11]" identifier [ identifier ]) = (field_expression "pPVar19->green" identifier -> field_identifier)) ;) (expression_statement "pQVar17[iVar12] = pPVar19->blue;" (assignment_expression "pQVar17[iVar12] = pPVar19->blue" (subscript_expression "pQVar17[iVar12]" identifier [ identifier ]) = (field_expression "pPVar19->blue" identifier -> field_identifier)) ;) (if_statement "if (PVar6 != UndefinedPixelTrait) {\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }" if (parenthesized_expression "(PVar6 != UndefinedPixelTrait)" ( (binary_expression "PVar6 != UndefinedPixelTrait" identifier != identifier) )) (compound_statement "{\n                pQVar17[pPVar4[3].offset] = pPVar19->black;\n              }" { (expression_statement "pQVar17[pPVar4[3].offset] = pPVar19->black;" (assignment_expression "pQVar17[pPVar4[3].offset] = pPVar19->black" (subscript_expression "pQVar17[pPVar4[3].offset]" identifier [ (field_expression "pPVar4[3].offset" (subscript_expression "pPVar4[3]" identifier [ number_literal ]) . field_identifier) ]) = (field_expression "pPVar19->black" identifier -> field_identifier)) ;) })) (if_statement "if (PVar7 != UndefinedPixelTrait) {\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }" if (parenthesized_expression "(PVar7 != UndefinedPixelTrait)" ( (binary_expression "PVar7 != UndefinedPixelTrait" identifier != identifier) )) (compound_statement "{\n                if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }\n                pQVar17[pPVar4[4].offset] = dVar1;\n              }" { (if_statement "if (pPVar19->alpha_trait == UndefinedPixelTrait) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = pPVar19->alpha;\n                }" if (parenthesized_expression "(pPVar19->alpha_trait == UndefinedPixelTrait)" ( (binary_expression "pPVar19->alpha_trait == UndefinedPixelTrait" (field_expression "pPVar19->alpha_trait" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                  dVar1 = (double)DAT_0029f710;\n                }" { (expression_statement "dVar1 = (double)DAT_0029f710;" (assignment_expression "dVar1 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                  dVar1 = pPVar19->alpha;\n                }" else (compound_statement "{\n                  dVar1 = pPVar19->alpha;\n                }" { (expression_statement "dVar1 = pPVar19->alpha;" (assignment_expression "dVar1 = pPVar19->alpha" identifier = (field_expression "pPVar19->alpha" identifier -> field_identifier)) ;) }))) (expression_statement "pQVar17[pPVar4[4].offset] = dVar1;" (assignment_expression "pQVar17[pPVar4[4].offset] = dVar1" (subscript_expression "pQVar17[pPVar4[4].offset]" identifier [ (field_expression "pPVar4[4].offset" (subscript_expression "pPVar4[4]" identifier [ number_literal ]) . field_identifier) ]) = identifier) ;) })) (expression_statement "pQVar17 = pQVar17 + sVar13;" (assignment_expression "pQVar17 = pQVar17 + sVar13" identifier = (binary_expression "pQVar17 + sVar13" identifier + identifier)) ;) (expression_statement "sVar20 = sVar20 + 1;" (assignment_expression "sVar20 = sVar20 + 1" identifier = (binary_expression "sVar20 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(sVar20 != sVar3)" ( (binary_expression "sVar20 != sVar3" identifier != identifier) )) ;) })) (expression_statement "MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar18 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar18 != MagickFalse) goto LAB_000e0966;" if (parenthesized_expression "(MVar18 != MagickFalse)" ( (binary_expression "MVar18 != MagickFalse" identifier != identifier) )) (goto_statement "goto LAB_000e0966;" goto statement_identifier ;)) })) (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_000e0966:\n      iVar14 = iVar14 + 1;" statement_identifier : (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar16 != iVar14)" ( (binary_expression "iVar16 != iVar14" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000e0730(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000e0730(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000e0730(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  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "iVar16 = omp_get_num_threads();" (assignment_expression "iVar16 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar17 = omp_get_thread_num();" (assignment_expression "iVar17 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;" (assignment_expression "iVar18 = *(int *)(iVar2 + 0x1c) / iVar16" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / iVar16" (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 "iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;" (assignment_expression "iVar16 = *(int *)(iVar2 + 0x1c) % iVar16" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % iVar16" (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 (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }" if (parenthesized_expression "(iVar17 < iVar16)" ( (binary_expression "iVar17 < iVar16" identifier < identifier) )) (compound_statement "{\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) })) (expression_statement "iVar16 = iVar17 * iVar18 + iVar16;" (assignment_expression "iVar16 = iVar17 * iVar18 + iVar16" identifier = (binary_expression "iVar17 * iVar18 + iVar16" (binary_expression "iVar17 * iVar18" identifier * identifier) + identifier)) ;) (expression_statement "iVar18 = iVar18 + iVar16;" (assignment_expression "iVar18 = iVar18 + iVar16" identifier = (binary_expression "iVar18 + iVar16" identifier + identifier)) ;) (if_statement "if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }" if (parenthesized_expression "(iVar16 < iVar18)" ( (binary_expression "iVar16 < iVar18" identifier < identifier) )) (compound_statement "{\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }" { (expression_statement "iVar17 = param_1[2];" (assignment_expression "iVar17 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);" do (compound_statement "{\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    }" { (if_statement "if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }" { (expression_statement "iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);" (assignment_expression "iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" identifier = (call_expression "GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" identifier (argument_list "(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" ( 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 (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }" if (parenthesized_expression "(iVar19 != 0)" ( (binary_expression "iVar19 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }" { (expression_statement "iVar4 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }" { (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 "iVar6 = *(int *)(iVar5 + 0x40);" (assignment_expression "iVar6 = *(int *)(iVar5 + 0x40)" identifier = (pointer_expression "*(int *)(iVar5 + 0x40)" * (cast_expression "(int *)(iVar5 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x40)" ( (binary_expression "iVar5 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar5 + 0x28);" (assignment_expression "iVar7 = *(int *)(iVar5 + 0x28)" identifier = (pointer_expression "*(int *)(iVar5 + 0x28)" * (cast_expression "(int *)(iVar5 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x28)" ( (binary_expression "iVar5 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar5 + 0x34);" (assignment_expression "iVar8 = *(int *)(iVar5 + 0x34)" identifier = (pointer_expression "*(int *)(iVar5 + 0x34)" * (cast_expression "(int *)(iVar5 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x34)" ( (binary_expression "iVar5 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = (undefined4 *)param_1[4];" (assignment_expression "puVar9 = (undefined4 *)param_1[4]" identifier = (cast_expression "(undefined4 *)param_1[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x24);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x24)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar2 + 0x28);" (assignment_expression "iVar11 = *(int *)(iVar2 + 0x28)" identifier = (pointer_expression "*(int *)(iVar2 + 0x28)" * (cast_expression "(int *)(iVar2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" 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 "iVar13 = *(int *)(iVar5 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar5 + 0x14)" identifier = (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) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar5 + 0x20);" (assignment_expression "iVar14 = *(int *)(iVar5 + 0x20)" identifier = (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) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar15 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);" do (compound_statement "{\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            }" { (if_statement "if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }" { (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;) (if_statement "if (uVar10 != 0) goto LAB_000e0883;" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000e0883;" goto statement_identifier ;)) (labeled_statement "LAB_000e0922:\n                *puVar9 = 1;" statement_identifier : (expression_statement "*puVar9 = 1;" (assignment_expression "*puVar9 = 1" (pointer_expression "*puVar9" * identifier) = number_literal) ;)) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) }) (else_clause "else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" else (compound_statement "{\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" { (expression_statement "dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);" (assignment_expression "dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" identifier = (pointer_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" * (cast_expression "(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x44) * 8)" ( (binary_expression "iVar19 + *(int *)(iVar5 + 0x44) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x44) * 8" (pointer_expression "*(int *)(iVar5 + 0x44)" * (cast_expression "(int *)(iVar5 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x44)" ( (binary_expression "iVar5 + 0x44" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_2c = (uint)(longlong)ROUND(dVar1);" (assignment_expression "local_2c = (uint)(longlong)ROUND(dVar1)" identifier = (cast_expression "(uint)(longlong)ROUND(dVar1)" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(longlong)ROUND(dVar1)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier )))))) ;) (if_statement "if (uVar10 <= local_2c) goto LAB_000e0922;" if (parenthesized_expression "(uVar10 <= local_2c)" ( (binary_expression "uVar10 <= local_2c" identifier <= identifier) )) (goto_statement "goto LAB_000e0922;" goto statement_identifier ;)) (labeled_statement "LAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;" statement_identifier : (expression_statement "iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;" (assignment_expression "iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11" identifier = (binary_expression "(int)ROUND(dVar1) * 0x50 + iVar11" (binary_expression "(int)ROUND(dVar1) * 0x50" (cast_expression "(int)ROUND(dVar1)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier )))) * number_literal) + identifier)) ;)) }))) (expression_statement "*(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);" (assignment_expression "*(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20)" (pointer_expression "*(undefined8 *)(iVar19 + iVar12 * 8)" * (cast_expression "(undefined8 *)(iVar19 + iVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + iVar12 * 8)" ( (binary_expression "iVar19 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x20)" * (cast_expression "(undefined8 *)(iVar20 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x20)" ( (binary_expression "iVar20 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);" (assignment_expression "*(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28)" (pointer_expression "*(undefined8 *)(iVar19 + iVar13 * 8)" * (cast_expression "(undefined8 *)(iVar19 + iVar13 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + iVar13 * 8)" ( (binary_expression "iVar19 + iVar13 * 8" identifier + (binary_expression "iVar13 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x28)" * (cast_expression "(undefined8 *)(iVar20 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x28)" ( (binary_expression "iVar20 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);" (assignment_expression "*(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30)" (pointer_expression "*(undefined8 *)(iVar19 + iVar14 * 8)" * (cast_expression "(undefined8 *)(iVar19 + iVar14 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + iVar14 * 8)" ( (binary_expression "iVar19 + iVar14 * 8" identifier + (binary_expression "iVar14 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x30)" * (cast_expression "(undefined8 *)(iVar20 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x30)" ( (binary_expression "iVar20 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }" { (expression_statement "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);" (assignment_expression "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38)" (pointer_expression "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" * (cast_expression "(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" ( (binary_expression "iVar19 + *(int *)(iVar5 + 0x2c) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x2c) * 8" (pointer_expression "*(int *)(iVar5 + 0x2c)" * (cast_expression "(int *)(iVar5 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2c)" ( (binary_expression "iVar5 + 0x2c" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(iVar20 + 0x38)" * (cast_expression "(undefined8 *)(iVar20 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x38)" ( (binary_expression "iVar20 + 0x38" identifier + number_literal) ))))) ;) })) (if_statement "if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }" { (if_statement "if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" if (parenthesized_expression "(*(int *)(iVar20 + 8) == 0)" ( (binary_expression "*(int *)(iVar20 + 8) == 0" (pointer_expression "*(int *)(iVar20 + 8)" * (cast_expression "(int *)(iVar20 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 8)" ( (binary_expression "iVar20 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                  dVar1 = (double)DAT_0029f710;\n                }" { (expression_statement "dVar1 = (double)DAT_0029f710;" (assignment_expression "dVar1 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" else (compound_statement "{\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" { (expression_statement "dVar1 = *(double *)(iVar20 + 0x40);" (assignment_expression "dVar1 = *(double *)(iVar20 + 0x40)" identifier = (pointer_expression "*(double *)(iVar20 + 0x40)" * (cast_expression "(double *)(iVar20 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x40)" ( (binary_expression "iVar20 + 0x40" identifier + number_literal) ))))) ;) }))) (expression_statement "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;" (assignment_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1" (pointer_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8)" * (cast_expression "(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x38) * 8)" ( (binary_expression "iVar19 + *(int *)(iVar5 + 0x38) * 8" identifier + (binary_expression "*(int *)(iVar5 + 0x38) * 8" (pointer_expression "*(int *)(iVar5 + 0x38)" * (cast_expression "(int *)(iVar5 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x38)" ( (binary_expression "iVar5 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = identifier) ;) })) (expression_statement "iVar19 = iVar19 + iVar15 * 8;" (assignment_expression "iVar19 = iVar19 + iVar15 * 8" identifier = (binary_expression "iVar19 + iVar15 * 8" identifier + (binary_expression "iVar15 * 8" identifier * number_literal))) ;) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar21 != iVar4)" ( (binary_expression "iVar21 != iVar4" identifier != identifier) )) ;) })) (expression_statement "iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);" (assignment_expression "iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3)" identifier = (call_expression "SyncCacheViewAuthenticPixels(iVar17,iVar3)" identifier (argument_list "(iVar17,iVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar19 != 0) goto LAB_000e0966;" if (parenthesized_expression "(iVar19 != 0)" ( (binary_expression "iVar19 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000e0966;" goto statement_identifier ;)) })) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_000e0966:\n      iVar16 = iVar16 + 1;" statement_identifier : (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar18 != iVar16)" ( (binary_expression "iVar18 != iVar16" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (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 = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (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 LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (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) ) (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT )))) * LIT) + IDENT)) ;)) }))) (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 * (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 * (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 * (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 (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 * (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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (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)) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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_000e0730(int *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000e0730(int *param_1)" (identifier "FUN_000e0730") (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  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  uint local_2c;\n  \n  iVar16 = omp_get_num_threads();\n  iVar2 = *param_1;\n  iVar17 = omp_get_thread_num();\n  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;\n  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;\n  if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }\n  iVar16 = iVar17 * iVar18 + iVar16;\n  iVar18 = iVar18 + iVar16;\n  if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "int iVar21;" (primitive_type "int") (identifier "iVar21") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "iVar16 = omp_get_num_threads();" (assignment_expression "iVar16 = omp_get_num_threads()" (identifier "iVar16") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar17 = omp_get_thread_num();" (assignment_expression "iVar17 = omp_get_thread_num()" (identifier "iVar17") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;" (assignment_expression "iVar18 = *(int *)(iVar2 + 0x1c) / iVar16" (identifier "iVar18") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) / iVar16" (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 "iVar16"))) (; ";")) (expression_statement "iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;" (assignment_expression "iVar16 = *(int *)(iVar2 + 0x1c) % iVar16" (identifier "iVar16") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) % iVar16" (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 "iVar16"))) (; ";")) (if_statement "if (iVar17 < iVar16) {\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }" (if "if") (parenthesized_expression "(iVar17 < iVar16)" (( "(") (binary_expression "iVar17 < iVar16" (identifier "iVar17") (< "<") (identifier "iVar16")) () ")")) (compound_statement "{\n    iVar18 = iVar18 + 1;\n    iVar16 = 0;\n  }" ({ "{") (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" (identifier "iVar18") (= "=") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar16 = iVar17 * iVar18 + iVar16;" (assignment_expression "iVar16 = iVar17 * iVar18 + iVar16" (identifier "iVar16") (= "=") (binary_expression "iVar17 * iVar18 + iVar16" (binary_expression "iVar17 * iVar18" (identifier "iVar17") (* "*") (identifier "iVar18")) (+ "+") (identifier "iVar16"))) (; ";")) (expression_statement "iVar18 = iVar18 + iVar16;" (assignment_expression "iVar18 = iVar18 + iVar16" (identifier "iVar18") (= "=") (binary_expression "iVar18 + iVar16" (identifier "iVar18") (+ "+") (identifier "iVar16"))) (; ";")) (if_statement "if (iVar16 < iVar18) {\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }" (if "if") (parenthesized_expression "(iVar16 < iVar18)" (( "(") (binary_expression "iVar16 < iVar18" (identifier "iVar16") (< "<") (identifier "iVar18")) () ")")) (compound_statement "{\n    iVar17 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);\n  }" ({ "{") (expression_statement "iVar17 = param_1[2];" (assignment_expression "iVar17 = param_1[2]" (identifier "iVar17") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" (identifier "iVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    } while (iVar18 != iVar16);" (do "do") (compound_statement "{\n      if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }\nLAB_000e0966:\n      iVar16 = iVar16 + 1;\n    }" ({ "{") (if_statement "if (param_1[3] != 0) {\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }" (if "if") (parenthesized_expression "(param_1[3] != 0)" (( "(") (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);\n        if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }\n        param_1[3] = 0;\n      }" ({ "{") (expression_statement "iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);" (assignment_expression "iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" (identifier "iVar19") (= "=") (call_expression "GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" (identifier "GetCacheViewAuthenticPixels") (argument_list "(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3)" (( "(") (identifier "iVar17") (, ",") (number_literal "0") (, ",") (identifier "iVar16") (, ",") (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 "iVar3") () ")")))) (; ";")) (if_statement "if (iVar19 != 0) {\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }" (if "if") (parenthesized_expression "(iVar19 != 0)" (( "(") (binary_expression "iVar19 != 0" (identifier "iVar19") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar4 = *(int *)(iVar2 + 0x18);\n          if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }\n          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);\n          if (iVar19 != 0) goto LAB_000e0966;\n        }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar2 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0 < iVar4) {\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }" (if "if") (parenthesized_expression "(0 < iVar4)" (( "(") (binary_expression "0 < iVar4" (number_literal "0") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n            iVar5 = *(int *)(iVar2 + 0x2a8);\n            iVar6 = *(int *)(iVar5 + 0x40);\n            iVar7 = *(int *)(iVar5 + 0x28);\n            iVar8 = *(int *)(iVar5 + 0x34);\n            puVar9 = (undefined4 *)param_1[4];\n            uVar10 = *(uint *)(iVar2 + 0x24);\n            iVar11 = *(int *)(iVar2 + 0x28);\n            iVar12 = *(int *)(iVar5 + 8);\n            iVar13 = *(int *)(iVar5 + 0x14);\n            iVar14 = *(int *)(iVar5 + 0x20);\n            iVar15 = *(int *)(iVar2 + 0x298);\n            iVar21 = 0;\n            do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);\n          }" ({ "{") (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 "iVar6 = *(int *)(iVar5 + 0x40);" (assignment_expression "iVar6 = *(int *)(iVar5 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar5 + 0x40)" (* "*") (cast_expression "(int *)(iVar5 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x40)" (( "(") (binary_expression "iVar5 + 0x40" (identifier "iVar5") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(iVar5 + 0x28);" (assignment_expression "iVar7 = *(int *)(iVar5 + 0x28)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar5 + 0x28)" (* "*") (cast_expression "(int *)(iVar5 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x28)" (( "(") (binary_expression "iVar5 + 0x28" (identifier "iVar5") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar5 + 0x34);" (assignment_expression "iVar8 = *(int *)(iVar5 + 0x34)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar5 + 0x34)" (* "*") (cast_expression "(int *)(iVar5 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x34)" (( "(") (binary_expression "iVar5 + 0x34" (identifier "iVar5") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "puVar9 = (undefined4 *)param_1[4];" (assignment_expression "puVar9 = (undefined4 *)param_1[4]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)param_1[4]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x24);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x24)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x24)" (* "*") (cast_expression "(uint *)(iVar2 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar2 + 0x28);" (assignment_expression "iVar11 = *(int *)(iVar2 + 0x28)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar2 + 0x28)" (* "*") (cast_expression "(int *)(iVar2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (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 "iVar13 = *(int *)(iVar5 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar5 + 0x14)" (identifier "iVar13") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "iVar14 = *(int *)(iVar5 + 0x20);" (assignment_expression "iVar14 = *(int *)(iVar5 + 0x20)" (identifier "iVar14") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "iVar15 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar15 = *(int *)(iVar2 + 0x298)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar2 + 0x298)" (* "*") (cast_expression "(int *)(iVar2 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x298)" (( "(") (binary_expression "iVar2 + 0x298" (identifier "iVar2") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" (identifier "iVar21") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            } while (iVar21 != iVar4);" (do "do") (compound_statement "{\n              if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }\n              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);\n              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);\n              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);\n              if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }\n              if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }\n              iVar19 = iVar19 + iVar15 * 8;\n              iVar21 = iVar21 + 1;\n            }" ({ "{") (if_statement "if (iVar6 == 0) {\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }\n              else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                dVar1 = 0.0;\n                if (uVar10 != 0) goto LAB_000e0883;\nLAB_000e0922:\n                *puVar9 = 1;\n                iVar20 = iVar11;\n              }" ({ "{") (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" (identifier "dVar1") (= "=") (number_literal "0.0")) (; ";")) (if_statement "if (uVar10 != 0) goto LAB_000e0883;" (if "if") (parenthesized_expression "(uVar10 != 0)" (( "(") (binary_expression "uVar10 != 0" (identifier "uVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000e0883;" (goto "goto") (statement_identifier "LAB_000e0883") (; ";"))) (labeled_statement "LAB_000e0922:\n                *puVar9 = 1;" (statement_identifier "LAB_000e0922") (: ":") (expression_statement "*puVar9 = 1;" (assignment_expression "*puVar9 = 1" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "1")) (; ";"))) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" (identifier "iVar20") (= "=") (identifier "iVar11")) (; ";")) (} "}")) (else_clause "else {\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" (else "else") (compound_statement "{\n                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);\n                local_2c = (uint)(longlong)ROUND(dVar1);\n                if (uVar10 <= local_2c) goto LAB_000e0922;\nLAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;\n              }" ({ "{") (expression_statement "dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);" (assignment_expression "dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" (* "*") (cast_expression "(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x44) * 8)" (( "(") (binary_expression "iVar19 + *(int *)(iVar5 + 0x44) * 8" (identifier "iVar19") (+ "+") (binary_expression "*(int *)(iVar5 + 0x44) * 8" (pointer_expression "*(int *)(iVar5 + 0x44)" (* "*") (cast_expression "(int *)(iVar5 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x44)" (( "(") (binary_expression "iVar5 + 0x44" (identifier "iVar5") (+ "+") (number_literal "0x44")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "local_2c = (uint)(longlong)ROUND(dVar1);" (assignment_expression "local_2c = (uint)(longlong)ROUND(dVar1)" (identifier "local_2c") (= "=") (cast_expression "(uint)(longlong)ROUND(dVar1)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(longlong)ROUND(dVar1)" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(dVar1)" (identifier "ROUND") (argument_list "(dVar1)" (( "(") (identifier "dVar1") () ")")))))) (; ";")) (if_statement "if (uVar10 <= local_2c) goto LAB_000e0922;" (if "if") (parenthesized_expression "(uVar10 <= local_2c)" (( "(") (binary_expression "uVar10 <= local_2c" (identifier "uVar10") (<= "<=") (identifier "local_2c")) () ")")) (goto_statement "goto LAB_000e0922;" (goto "goto") (statement_identifier "LAB_000e0922") (; ";"))) (labeled_statement "LAB_000e0883:\n                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;" (statement_identifier "LAB_000e0883") (: ":") (expression_statement "iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;" (assignment_expression "iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11" (identifier "iVar20") (= "=") (binary_expression "(int)ROUND(dVar1) * 0x50 + iVar11" (binary_expression "(int)ROUND(dVar1) * 0x50" (cast_expression "(int)ROUND(dVar1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(dVar1)" (identifier "ROUND") (argument_list "(dVar1)" (( "(") (identifier "dVar1") () ")")))) (* "*") (number_literal "0x50")) (+ "+") (identifier "iVar11"))) (; ";"))) (} "}")))) (expression_statement "*(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);" (assignment_expression "*(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20)" (pointer_expression "*(undefined8 *)(iVar19 + iVar12 * 8)" (* "*") (cast_expression "(undefined8 *)(iVar19 + iVar12 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + iVar12 * 8)" (( "(") (binary_expression "iVar19 + iVar12 * 8" (identifier "iVar19") (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(iVar20 + 0x20)" (* "*") (cast_expression "(undefined8 *)(iVar20 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x20)" (( "(") (binary_expression "iVar20 + 0x20" (identifier "iVar20") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);" (assignment_expression "*(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28)" (pointer_expression "*(undefined8 *)(iVar19 + iVar13 * 8)" (* "*") (cast_expression "(undefined8 *)(iVar19 + iVar13 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + iVar13 * 8)" (( "(") (binary_expression "iVar19 + iVar13 * 8" (identifier "iVar19") (+ "+") (binary_expression "iVar13 * 8" (identifier "iVar13") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(iVar20 + 0x28)" (* "*") (cast_expression "(undefined8 *)(iVar20 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x28)" (( "(") (binary_expression "iVar20 + 0x28" (identifier "iVar20") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);" (assignment_expression "*(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30)" (pointer_expression "*(undefined8 *)(iVar19 + iVar14 * 8)" (* "*") (cast_expression "(undefined8 *)(iVar19 + iVar14 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + iVar14 * 8)" (( "(") (binary_expression "iVar19 + iVar14 * 8" (identifier "iVar19") (+ "+") (binary_expression "iVar14 * 8" (identifier "iVar14") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(iVar20 + 0x30)" (* "*") (cast_expression "(undefined8 *)(iVar20 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x30)" (( "(") (binary_expression "iVar20 + 0x30" (identifier "iVar20") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (iVar7 != 0) {\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);\n              }" ({ "{") (expression_statement "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38);" (assignment_expression "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =\n                     *(undefined8 *)(iVar20 + 0x38)" (pointer_expression "*(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x2c) * 8)" (( "(") (binary_expression "iVar19 + *(int *)(iVar5 + 0x2c) * 8" (identifier "iVar19") (+ "+") (binary_expression "*(int *)(iVar5 + 0x2c) * 8" (pointer_expression "*(int *)(iVar5 + 0x2c)" (* "*") (cast_expression "(int *)(iVar5 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x2c)" (( "(") (binary_expression "iVar5 + 0x2c" (identifier "iVar5") (+ "+") (number_literal "0x2c")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(iVar20 + 0x38)" (* "*") (cast_expression "(undefined8 *)(iVar20 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x38)" (( "(") (binary_expression "iVar20 + 0x38" (identifier "iVar20") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (iVar8 != 0) {\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }\n                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;\n              }" ({ "{") (if_statement "if (*(int *)(iVar20 + 8) == 0) {\n                  dVar1 = (double)DAT_0029f710;\n                }\n                else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" (if "if") (parenthesized_expression "(*(int *)(iVar20 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar20 + 8) == 0" (pointer_expression "*(int *)(iVar20 + 8)" (* "*") (cast_expression "(int *)(iVar20 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 8)" (( "(") (binary_expression "iVar20 + 8" (identifier "iVar20") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  dVar1 = (double)DAT_0029f710;\n                }" ({ "{") (expression_statement "dVar1 = (double)DAT_0029f710;" (assignment_expression "dVar1 = (double)DAT_0029f710" (identifier "dVar1") (= "=") (cast_expression "(double)DAT_0029f710" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f710"))) (; ";")) (} "}")) (else_clause "else {\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" (else "else") (compound_statement "{\n                  dVar1 = *(double *)(iVar20 + 0x40);\n                }" ({ "{") (expression_statement "dVar1 = *(double *)(iVar20 + 0x40);" (assignment_expression "dVar1 = *(double *)(iVar20 + 0x40)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(iVar20 + 0x40)" (* "*") (cast_expression "(double *)(iVar20 + 0x40)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x40)" (( "(") (binary_expression "iVar20 + 0x40" (identifier "iVar20") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;" (assignment_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1" (pointer_expression "*(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8)" (* "*") (cast_expression "(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + *(int *)(iVar5 + 0x38) * 8)" (( "(") (binary_expression "iVar19 + *(int *)(iVar5 + 0x38) * 8" (identifier "iVar19") (+ "+") (binary_expression "*(int *)(iVar5 + 0x38) * 8" (pointer_expression "*(int *)(iVar5 + 0x38)" (* "*") (cast_expression "(int *)(iVar5 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x38)" (( "(") (binary_expression "iVar5 + 0x38" (identifier "iVar5") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "dVar1")) (; ";")) (} "}"))) (expression_statement "iVar19 = iVar19 + iVar15 * 8;" (assignment_expression "iVar19 = iVar19 + iVar15 * 8" (identifier "iVar19") (= "=") (binary_expression "iVar19 + iVar15 * 8" (identifier "iVar19") (+ "+") (binary_expression "iVar15 * 8" (identifier "iVar15") (* "*") (number_literal "8")))) (; ";")) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" (identifier "iVar21") (= "=") (binary_expression "iVar21 + 1" (identifier "iVar21") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar21 != iVar4)" (( "(") (binary_expression "iVar21 != iVar4" (identifier "iVar21") (!= "!=") (identifier "iVar4")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);" (assignment_expression "iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3)" (identifier "iVar19") (= "=") (call_expression "SyncCacheViewAuthenticPixels(iVar17,iVar3)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(iVar17,iVar3)" (( "(") (identifier "iVar17") (, ",") (identifier "iVar3") () ")")))) (; ";")) (if_statement "if (iVar19 != 0) goto LAB_000e0966;" (if "if") (parenthesized_expression "(iVar19 != 0)" (( "(") (binary_expression "iVar19 != 0" (identifier "iVar19") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000e0966;" (goto "goto") (statement_identifier "LAB_000e0966") (; ";"))) (} "}"))) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (labeled_statement "LAB_000e0966:\n      iVar16 = iVar16 + 1;" (statement_identifier "LAB_000e0966") (: ":") (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar18 != iVar16)" (( "(") (binary_expression "iVar18 != iVar16" (identifier "iVar18") (!= "!=") (identifier "iVar16")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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 SyncImage._omp_fn.9(anon_struct_20_5_d5ec1636 * param_0) */

void __thiscall function_1(type_1 *this)

{
  double dVar1;
  type_2 *pIVar2;
  type_3 *cache_view;
  type_4 *exception;
  size_t var_19;
  type_5 *pPVar4;
  type_6 var_9;
  type_6 var_15;
  type_6 var_16;
  type_7 *pMVar8;
  type_8 var_11;
  type_9 *var_14;
  int iVar11;
  int iVar12;
  size_t var_17;
  int var_3;
  int var_4;
  int var_5;
  type_10 *var_8;
  type_7 var_21;
  type_9 *pPVar19;
  size_t var_18;
  type_8 var_13;
  
  var_3 = var_1();
  pIVar2 = this->image;
  var_4 = var_2();
  var_5 = (int)pIVar2->rows / var_3;
  var_3 = (int)pIVar2->rows % var_3;
  if (var_4 < var_3) {
    var_5 = var_5 + 1;
    var_3 = 0;
  }
  var_3 = var_4 * var_5 + var_3;
  var_5 = var_5 + var_3;
  if (var_3 < var_5) {
    cache_view = this->image_view;
    exception = this->exception;
    do {
      if (this->status != var_6) {
        var_8 = var_7(cache_view,0,var_3,pIVar2->columns,1,exception);
        if (var_8 != (type_10 *)0x0) {
          var_19 = pIVar2->columns;
          if (0 < (int)var_19) {
            pPVar4 = pIVar2->channel_map;
            var_9 = pPVar4[5].traits;
            var_15 = pPVar4[3].traits;
            var_16 = pPVar4[4].traits;
            pMVar8 = this->range_exception;
            var_11 = pIVar2->colors;
            var_14 = pIVar2->colormap;
            var_4 = pPVar4->offset;
            iVar11 = pPVar4[1].offset;
            iVar12 = pPVar4[2].offset;
            var_17 = pIVar2->number_channels;
            var_18 = 0;
            do {
              if (var_9 == var_10) {
                dVar1 = 0.0;
                if (var_11 != 0) goto LAB_000e0883;
LAB_000e0922:
                *pMVar8 = MagickTrue;
                pPVar19 = var_14;
              }
              else {
                dVar1 = var_8[pPVar4[5].offset];
                var_13 = (type_8)(type_11)var_12(dVar1);
                if (var_11 <= var_13) goto LAB_000e0922;
LAB_000e0883:
                pPVar19 = var_14 + (int)var_12(dVar1);
              }
              var_8[var_4] = pPVar19->red;
              var_8[iVar11] = pPVar19->green;
              var_8[iVar12] = pPVar19->blue;
              if (var_15 != var_10) {
                var_8[pPVar4[3].offset] = pPVar19->black;
              }
              if (var_16 != var_10) {
                if (pPVar19->alpha_trait == var_10) {
                  dVar1 = (double)DAT_0029f710;
                }
                else {
                  dVar1 = pPVar19->alpha;
                }
                var_8[pPVar4[4].offset] = dVar1;
              }
              var_8 = var_8 + var_17;
              var_18 = var_18 + 1;
            } while (var_18 != var_19);
          }
          var_21 = var_20(cache_view,exception);
          if (var_21 != var_6) goto LAB_000e0966;
        }
        this->status = var_6;
      }
LAB_000e0966:
      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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (number_literal)) 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: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) 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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int *param_1)

{
  double dVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  uint uVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  uint local_2c;
  
  iVar16 = omp_get_num_threads();
  iVar2 = *param_1;
  iVar17 = omp_get_thread_num();
  iVar18 = *(int *)(iVar2 + 0x1c) / iVar16;
  iVar16 = *(int *)(iVar2 + 0x1c) % iVar16;
  if (iVar17 < iVar16) {
    iVar18 = iVar18 + 1;
    iVar16 = 0;
  }
  iVar16 = iVar17 * iVar18 + iVar16;
  iVar18 = iVar18 + iVar16;
  if (iVar16 < iVar18) {
    iVar17 = param_1[2];
    iVar3 = param_1[1];
    do {
      if (param_1[3] != 0) {
        iVar19 = GetCacheViewAuthenticPixels(iVar17,0,iVar16,*(undefined4 *)(iVar2 + 0x18),1,iVar3);
        if (iVar19 != 0) {
          iVar4 = *(int *)(iVar2 + 0x18);
          if (0 < iVar4) {
            iVar5 = *(int *)(iVar2 + 0x2a8);
            iVar6 = *(int *)(iVar5 + 0x40);
            iVar7 = *(int *)(iVar5 + 0x28);
            iVar8 = *(int *)(iVar5 + 0x34);
            puVar9 = (undefined4 *)param_1[4];
            uVar10 = *(uint *)(iVar2 + 0x24);
            iVar11 = *(int *)(iVar2 + 0x28);
            iVar12 = *(int *)(iVar5 + 8);
            iVar13 = *(int *)(iVar5 + 0x14);
            iVar14 = *(int *)(iVar5 + 0x20);
            iVar15 = *(int *)(iVar2 + 0x298);
            iVar21 = 0;
            do {
              if (iVar6 == 0) {
                dVar1 = 0.0;
                if (uVar10 != 0) goto LAB_000e0883;
LAB_000e0922:
                *puVar9 = 1;
                iVar20 = iVar11;
              }
              else {
                dVar1 = *(double *)(iVar19 + *(int *)(iVar5 + 0x44) * 8);
                local_2c = (uint)(longlong)ROUND(dVar1);
                if (uVar10 <= local_2c) goto LAB_000e0922;
LAB_000e0883:
                iVar20 = (int)ROUND(dVar1) * 0x50 + iVar11;
              }
              *(undefined8 *)(iVar19 + iVar12 * 8) = *(undefined8 *)(iVar20 + 0x20);
              *(undefined8 *)(iVar19 + iVar13 * 8) = *(undefined8 *)(iVar20 + 0x28);
              *(undefined8 *)(iVar19 + iVar14 * 8) = *(undefined8 *)(iVar20 + 0x30);
              if (iVar7 != 0) {
                *(undefined8 *)(iVar19 + *(int *)(iVar5 + 0x2c) * 8) =
                     *(undefined8 *)(iVar20 + 0x38);
              }
              if (iVar8 != 0) {
                if (*(int *)(iVar20 + 8) == 0) {
                  dVar1 = (double)DAT_0029f710;
                }
                else {
                  dVar1 = *(double *)(iVar20 + 0x40);
                }
                *(double *)(iVar19 + *(int *)(iVar5 + 0x38) * 8) = dVar1;
              }
              iVar19 = iVar19 + iVar15 * 8;
              iVar21 = iVar21 + 1;
            } while (iVar21 != iVar4);
          }
          iVar19 = SyncCacheViewAuthenticPixels(iVar17,iVar3);
          if (iVar19 != 0) goto LAB_000e0966;
        }
        param_1[3] = 0;
      }
LAB_000e0966:
      iVar16 = iVar16 + 1;
    } while (iVar18 != iVar16);
  }
  return;
}

