
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

void __regparm3 InitializeHistogram(Image *image,ssize_t **histogram,ExceptionInfo *exception)

{
  ssize_t *psVar1;
  ssize_t *psVar2;
  ssize_t *psVar3;
  PixelChannelMap *pPVar4;
  int *piVar5;
  int *piVar6;
  int *piVar7;
  double dVar8;
  Quantum *pQVar9;
  int iVar10;
  int *piVar11;
  int local_34;
  
  psVar1 = *histogram;
  psVar2 = histogram[1];
  iVar10 = 0;
  psVar3 = histogram[2];
  do {
    psVar1[iVar10] = 0;
    psVar2[iVar10] = 0;
    psVar3[iVar10] = 0;
    iVar10 = iVar10 + 1;
  } while (iVar10 != 0x100);
  if (0 < (int)image->rows) {
    local_34 = 0;
    do {
      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);
      if (pQVar9 == (Quantum *)0x0) {
        return;
      }
      if (0 < (int)image->columns) {
        pPVar4 = image->channel_map;
        piVar5 = *histogram;
        piVar6 = histogram[1];
        piVar7 = histogram[2];
        iVar10 = 0;
        do {
          piVar11 = piVar5;
          if ((0.0 < pQVar9[pPVar4->offset]) &&
             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,
             dVar8 < (double)DAT_002a7ff4)) {
            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);
          }
          *piVar11 = *piVar11 + 1;
          piVar11 = piVar6;
          if (0.0 < pQVar9[pPVar4[1].offset]) {
            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;
            piVar11 = piVar6 + 0xff;
            if (dVar8 < (double)DAT_002a7ff4) {
              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);
            }
          }
          *piVar11 = *piVar11 + 1;
          piVar11 = piVar7;
          if (0.0 < pQVar9[pPVar4[2].offset]) {
            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;
            piVar11 = piVar7 + 0xff;
            if (dVar8 < (double)DAT_002a7ff4) {
              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);
            }
          }
          *piVar11 = *piVar11 + 1;
          iVar10 = iVar10 + 1;
          pQVar9 = pQVar9 + image->number_channels;
        } while (iVar10 < (int)image->columns);
      }
      local_34 = local_34 + 1;
    } while (local_34 < (int)image->rows);
  }
  return;
}



void FUN_00181830(void)

{
  double dVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  undefined4 extraout_ECX;
  int iVar8;
  int iVar9;
  int *piVar10;
  int *piVar11;
  int unaff_EBP;
  undefined8 uVar12;
  int local_34;
  
  uVar12 = FUN_00042799();
  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);
  iVar6 = (int)uVar12;
  iVar7 = *piVar10;
  iVar2 = piVar10[1];
  iVar8 = 0;
  iVar9 = piVar10[2];
  do {
    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;
    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;
    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;
    iVar8 = iVar8 + 1;
  } while (iVar8 != 0x100);
  if (0 < *(int *)(iVar6 + 0x1c)) {
    local_34 = 0;
    do {
      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);
      if (iVar7 == 0) {
        return;
      }
      if (0 < *(int *)(iVar6 + 0x18)) {
        iVar2 = *(int *)(iVar6 + 0x2a8);
        piVar3 = (int *)*piVar10;
        piVar4 = (int *)piVar10[1];
        piVar5 = (int *)piVar10[2];
        iVar9 = 0;
        do {
          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);
          piVar11 = piVar3;
          if ((0.0 < dVar1) &&
             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff
             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {
            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +
                                                                            unaff_EBP));
          }
          *piVar11 = *piVar11 + 1;
          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);
          piVar11 = piVar4;
          if (0.0 < dVar1) {
            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);
            piVar11 = piVar4 + 0xff;
            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {
              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +
                                                                              unaff_EBP));
            }
          }
          *piVar11 = *piVar11 + 1;
          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);
          piVar11 = piVar5;
          if (0.0 < dVar1) {
            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);
            piVar11 = piVar5 + 0xff;
            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {
              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +
                                                                              unaff_EBP));
            }
          }
          *piVar11 = *piVar11 + 1;
          iVar9 = iVar9 + 1;
          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;
        } while (iVar9 < *(int *)(iVar6 + 0x18));
      }
      local_34 = local_34 + 1;
    } while (local_34 < *(int *)(iVar6 + 0x1c));
  }
  return;
}


PUSH EBP
CALL 0x00042799
ADD EBP,0x2577ca
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV EDI,dword ptr [EDX]
MOV ESI,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0xc],ECX
XOR ECX,ECX
MOV EBX,dword ptr [EDX + 0x8]
MOV dword ptr [EDI + ECX*0x4],0x0
MOV dword ptr [ESI + ECX*0x4],0x0
MOV dword ptr [EBX + ECX*0x4],0x0
ADD ECX,0x1
CMP ECX,0x100
JNZ 0x00181850
MOV ECX,dword ptr [EAX + 0x1c]
TEST ECX,ECX
JLE 0x00181a9a
MOV ESI,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x24],EDX
MOV dword ptr [ESP + 0x18],0x0
MOV dword ptr [ESP + 0x20],ESI
MOV ESI,EAX
LEA ESI,[ESI]
SUB ESP,0x8
MOV EBX,EBP
PUSH dword ptr [ESP + 0x28]
PUSH 0x1
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [ESP + 0x2c]
PUSH 0x0
PUSH ESI
CALL 0x00030e70
ADD ESP,0x20
TEST EAX,EAX
JZ 0x00181a9a
MOV EDX,dword ptr [ESI + 0x18]
TEST EDX,EDX
JLE 0x00181a88
MOV ECX,dword ptr [ESP + 0x24]
MOV EBX,dword ptr [ESI + 0x2a8]
MOV EDX,dword ptr [ECX]
MOV EDI,dword ptr [ECX + 0x4]
MOV ECX,dword ptr [ECX + 0x8]
MOV dword ptr [ESP + 0xc],EDX
ADD EDX,0x3fc
MOV dword ptr [ESP + 0x1c],EDX
MOV dword ptr [ESP + 0x10],ECX
XOR ECX,ECX
MOV dword ptr [ESP + 0x14],EDI
LEA ESI,[ESI]
MOV EDX,dword ptr [EBX + 0x8]
FLD qword ptr [EAX + EDX*0x8]
FUCOMI ST0,ST0
JP 0x00181ac0
MOV EDI,dword ptr [ESP + 0xc]
FLDZ
FUCOMIP ST0,ST1
MOV EDX,EDI
JNC 0x00181960
FDIV dword ptr [EBP + 0xffeceff0]
MOV EDX,dword ptr [ESP + 0x1c]
FLD dword ptr [EBP + 0xffeceff4]
FXCH
FUCOMI ST0,ST1
FSTP ST1
JNC 0x00181968
FNSTCW word ptr [ESP + 0x2e]
FADD dword ptr [EBP + 0xffec6124]
MOVZX EDX,word ptr [ESP + 0x2e]
OR DH,0xc
MOV word ptr [ESP + 0x2c],DX
FLDCW word ptr [ESP + 0x2c]
FISTP word ptr [ESP + 0x2a]
FLDCW word ptr [ESP + 0x2e]
MOVZX EDX,word ptr [ESP + 0x2a]
MOVZX EDX,DL
LEA EDX,[EDI + EDX*0x4]
JMP 0x00181970
FSTP ST0
JMP 0x00181970
FSTP ST0
LEA ESI,[ESI]
ADD dword ptr [EDX],0x1
MOV EDX,dword ptr [EBX + 0x14]
FLD qword ptr [EAX + EDX*0x8]
FUCOMI ST0,ST0
JP 0x00181ab0
MOV EDI,dword ptr [ESP + 0x14]
FLDZ
FUCOMIP ST0,ST1
MOV EDX,EDI
JNC 0x001819e0
FDIV dword ptr [EBP + 0xffeceff0]
LEA EDX,[EDI + 0x3fc]
FLD dword ptr [EBP + 0xffeceff4]
FXCH
FUCOMI ST0,ST1
FSTP ST1
JNC 0x001819e8
FNSTCW word ptr [ESP + 0x2e]
FADD dword ptr [EBP + 0xffec6124]
MOVZX EDX,word ptr [ESP + 0x2e]
OR DH,0xc
MOV word ptr [ESP + 0x2c],DX
FLDCW word ptr [ESP + 0x2c]
FISTP word ptr [ESP + 0x2a]
FLDCW word ptr [ESP + 0x2e]
MOVZX EDX,word ptr [ESP + 0x2a]
MOVZX EDX,DL
LEA EDX,[EDI + EDX*0x4]
JMP 0x001819f0
FSTP ST0
JMP 0x001819f0
FSTP ST0
LEA ESI,[ESI]
ADD dword ptr [EDX],0x1
MOV EDX,dword ptr [EBX + 0x20]
FLD qword ptr [EAX + EDX*0x8]
FUCOMI ST0,ST0
JP 0x00181aa8
MOV EDI,dword ptr [ESP + 0x10]
FLDZ
FUCOMIP ST0,ST1
MOV EDX,EDI
JNC 0x00181a60
FDIV dword ptr [EBP + 0xffeceff0]
ADD EDX,0x3fc
FLD dword ptr [EBP + 0xffeceff4]
FXCH
FUCOMI ST0,ST1
FSTP ST1
JNC 0x00181a68
FNSTCW word ptr [ESP + 0x2e]
FADD dword ptr [EBP + 0xffec6124]
MOVZX EDX,word ptr [ESP + 0x2e]
OR DH,0xc
MOV word ptr [ESP + 0x2c],DX
FLDCW word ptr [ESP + 0x2c]
FISTP word ptr [ESP + 0x2a]
FLDCW word ptr [ESP + 0x2e]
MOVZX EDX,word ptr [ESP + 0x2a]
MOVZX EDX,DL
LEA EDX,[EDI + EDX*0x4]
JMP 0x00181a70
FSTP ST0
JMP 0x00181a70
FSTP ST0
LEA ESI,[ESI]
ADD dword ptr [EDX],0x1
ADD ECX,0x1
MOV EDX,dword ptr [ESI + 0x298]
CMP dword ptr [ESI + 0x18],ECX
LEA EAX,[EAX + EDX*0x8]
JG 0x001818f8
ADD dword ptr [ESP + 0x18],0x1
MOV EAX,dword ptr [ESP + 0x18]
CMP dword ptr [ESI + 0x1c],EAX
JG 0x00181898
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
FSTP ST0
MOV EDX,dword ptr [ESP + 0x10]
JMP 0x00181a70
FSTP ST0
MOV EDX,dword ptr [ESP + 0x14]
JMP 0x001819f0
FSTP ST0
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x00181970
(translation_unit "void FUN_00181830(void)\n\n{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}\n\n" (function_definition "void FUN_00181830(void)\n\n{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00181830(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "uVar12 = FUN_00042799();" (assignment_expression "uVar12 = FUN_00042799()" identifier = (call_expression "FUN_00042799()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar10 = (int *)((ulonglong)uVar12 >> 0x20);" (assignment_expression "piVar10 = (int *)((ulonglong)uVar12 >> 0x20)" identifier = (cast_expression "(int *)((ulonglong)uVar12 >> 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar12 >> 0x20)" ( (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar6 = (int)uVar12;" (assignment_expression "iVar6 = (int)uVar12" identifier = (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = *piVar10;" (assignment_expression "iVar7 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "iVar2 = piVar10[1];" (assignment_expression "iVar2 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = piVar10[2];" (assignment_expression "iVar9 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) (do_statement "do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);" do (compound_statement "{\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  }" { (expression_statement "*(undefined4 *)(iVar7 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar2 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar8 * 4)" ( (binary_expression "iVar2 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar9 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar9 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar9 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar9 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar8 * 4)" ( (binary_expression "iVar9 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0x100)" ( (binary_expression "iVar8 != 0x100" identifier != number_literal) )) ;) (if_statement "if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }" if (parenthesized_expression "(0 < *(int *)(iVar6 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar6 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));" do (compound_statement "{\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    }" { (expression_statement "iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);" (assignment_expression "iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" identifier = (call_expression "GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" identifier (argument_list "(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        return;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }" if (parenthesized_expression "(0 < *(int *)(iVar6 + 0x18))" ( (binary_expression "0 < *(int *)(iVar6 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }" { (expression_statement "iVar2 = *(int *)(iVar6 + 0x2a8);" (assignment_expression "iVar2 = *(int *)(iVar6 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x2a8)" * (cast_expression "(int *)(iVar6 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2a8)" ( (binary_expression "iVar6 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "piVar3 = (int *)*piVar10;" (assignment_expression "piVar3 = (int *)*piVar10" identifier = (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier))) ;) (expression_statement "piVar4 = (int *)piVar10[1];" (assignment_expression "piVar4 = (int *)piVar10[1]" identifier = (cast_expression "(int *)piVar10[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar5 = (int *)piVar10[2];" (assignment_expression "piVar5 = (int *)piVar10[2]" identifier = (cast_expression "(int *)piVar10[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));" do (compound_statement "{\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        }" { (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" identifier = (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" * (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 8) * 8)" ( (binary_expression "iVar7 + *(int *)(iVar2 + 8) * 8" identifier + (binary_expression "*(int *)(iVar2 + 8) * 8" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "piVar11 = piVar3;" (assignment_expression "piVar11 = piVar3" identifier = identifier) ;) (if_statement "if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }" if (parenthesized_expression "((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)))" ( (binary_expression "(0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" (parenthesized_expression "(0.0 < dVar1)" ( (binary_expression "0.0 < dVar1" number_literal < identifier) )) && (parenthesized_expression "(dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" ( (comma_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier = (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier / (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" ( (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" & identifier) + identifier) ))))))) , (comma_expression "piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (assignment_expression "piVar11 = piVar3 + 0xff" identifier = (binary_expression "piVar3 + 0xff" identifier + number_literal)) , (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" identifier < (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267be + unaff_EBP)" ( (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" & identifier) + identifier) )))))))) ))) )) (compound_statement "{\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }" { (expression_statement "piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));" (assignment_expression "piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" identifier = (binary_expression "piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" identifier + (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" identifier (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" ( (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" identifier + (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" * (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0011d8ee +\n                                                                            unaff_EBP)" ( (binary_expression "&DAT_0011d8ee +\n                                                                            unaff_EBP" (pointer_expression "&DAT_0011d8ee" & identifier) + identifier) )))))) ))))))) ;) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" identifier = (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" * (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 0x14) * 8)" ( (binary_expression "iVar7 + *(int *)(iVar2 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar2 + 0x14) * 8" (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "piVar11 = piVar4;" (assignment_expression "piVar11 = piVar4" identifier = identifier) ;) (if_statement "if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" if (parenthesized_expression "(0.0 < dVar1)" ( (binary_expression "0.0 < dVar1" number_literal < identifier) )) (compound_statement "{\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" { (expression_statement "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier = (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier / (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" ( (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" & identifier) + identifier) ))))))) ;) (expression_statement "piVar11 = piVar4 + 0xff;" (assignment_expression "piVar11 = piVar4 + 0xff" identifier = (binary_expression "piVar4 + 0xff" identifier + number_literal)) ;) (if_statement "if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" if (parenthesized_expression "(dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" ( (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" identifier < (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267be + unaff_EBP)" ( (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" & identifier) + identifier) )))))) )) (compound_statement "{\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" { (expression_statement "piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));" (assignment_expression "piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier = (binary_expression "piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier + (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" identifier + (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" * (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (binary_expression "&DAT_0011d8ee +\n                                                                              unaff_EBP" (pointer_expression "&DAT_0011d8ee" & identifier) + identifier) )))))) ))))))) ;) })) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" identifier = (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" * (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 0x20) * 8)" ( (binary_expression "iVar7 + *(int *)(iVar2 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar2 + 0x20) * 8" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "piVar11 = piVar5;" (assignment_expression "piVar11 = piVar5" identifier = identifier) ;) (if_statement "if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" if (parenthesized_expression "(0.0 < dVar1)" ( (binary_expression "0.0 < dVar1" number_literal < identifier) )) (compound_statement "{\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" { (expression_statement "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier = (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier / (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" ( (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" & identifier) + identifier) ))))))) ;) (expression_statement "piVar11 = piVar5 + 0xff;" (assignment_expression "piVar11 = piVar5 + 0xff" identifier = (binary_expression "piVar5 + 0xff" identifier + number_literal)) ;) (if_statement "if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" if (parenthesized_expression "(dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" ( (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" identifier < (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267be + unaff_EBP)" ( (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" & identifier) + identifier) )))))) )) (compound_statement "{\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" { (expression_statement "piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));" (assignment_expression "piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier = (binary_expression "piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier + (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" identifier + (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" * (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (binary_expression "&DAT_0011d8ee +\n                                                                              unaff_EBP" (pointer_expression "&DAT_0011d8ee" & identifier) + identifier) )))))) ))))))) ;) })) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8" identifier = (binary_expression "iVar7 + *(int *)(iVar6 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar6 + 0x298) * 8" (pointer_expression "*(int *)(iVar6 + 0x298)" * (cast_expression "(int *)(iVar6 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x298)" ( (binary_expression "iVar6 + 0x298" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar9 < *(int *)(iVar6 + 0x18))" ( (binary_expression "iVar9 < *(int *)(iVar6 + 0x18)" identifier < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "local_34 = local_34 + 1;" (assignment_expression "local_34 = local_34 + 1" identifier = (binary_expression "local_34 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_34 < *(int *)(iVar6 + 0x1c))" ( (binary_expression "local_34 < *(int *)(iVar6 + 0x1c)" identifier < (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nvoid __regparm3 InitializeHistogram(Image *image,ssize_t **histogram,ExceptionInfo *exception)\n\n{\n  ssize_t *psVar1;\n  ssize_t *psVar2;\n  ssize_t *psVar3;\n  PixelChannelMap *pPVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  double dVar8;\n  Quantum *pQVar9;\n  int iVar10;\n  int *piVar11;\n  int local_34;\n  \n  psVar1 = *histogram;\n  psVar2 = histogram[1];\n  iVar10 = 0;\n  psVar3 = histogram[2];\n  do {\n    psVar1[iVar10] = 0;\n    psVar2[iVar10] = 0;\n    psVar3[iVar10] = 0;\n    iVar10 = iVar10 + 1;\n  } while (iVar10 != 0x100);\n  if (0 < (int)image->rows) {\n    local_34 = 0;\n    do {\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < (int)image->rows);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment (function_definition "void __regparm3 InitializeHistogram(Image *image,ssize_t **histogram,ExceptionInfo *exception)\n\n{\n  ssize_t *psVar1;\n  ssize_t *psVar2;\n  ssize_t *psVar3;\n  PixelChannelMap *pPVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  double dVar8;\n  Quantum *pQVar9;\n  int iVar10;\n  int *piVar11;\n  int local_34;\n  \n  psVar1 = *histogram;\n  psVar2 = histogram[1];\n  iVar10 = 0;\n  psVar3 = histogram[2];\n  do {\n    psVar1[iVar10] = 0;\n    psVar2[iVar10] = 0;\n    psVar3[iVar10] = 0;\n    iVar10 = iVar10 + 1;\n  } while (iVar10 != 0x100);\n  if (0 < (int)image->rows) {\n    local_34 = 0;\n    do {\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < (int)image->rows);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "InitializeHistogram(Image *image,ssize_t **histogram,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,ssize_t **histogram,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "ssize_t **histogram" primitive_type (pointer_declarator "**histogram" * (pointer_declarator "*histogram" * identifier))) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  ssize_t *psVar1;\n  ssize_t *psVar2;\n  ssize_t *psVar3;\n  PixelChannelMap *pPVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  double dVar8;\n  Quantum *pQVar9;\n  int iVar10;\n  int *piVar11;\n  int local_34;\n  \n  psVar1 = *histogram;\n  psVar2 = histogram[1];\n  iVar10 = 0;\n  psVar3 = histogram[2];\n  do {\n    psVar1[iVar10] = 0;\n    psVar2[iVar10] = 0;\n    psVar3[iVar10] = 0;\n    iVar10 = iVar10 + 1;\n  } while (iVar10 != 0x100);\n  if (0 < (int)image->rows) {\n    local_34 = 0;\n    do {\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < (int)image->rows);\n  }\n  return;\n}" { (declaration "ssize_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "ssize_t *psVar2;" primitive_type (pointer_declarator "*psVar2" * identifier) ;) (declaration "ssize_t *psVar3;" primitive_type (pointer_declarator "*psVar3" * identifier) ;) (declaration "PixelChannelMap *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "Quantum *pQVar9;" type_identifier (pointer_declarator "*pQVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "psVar1 = *histogram;" (assignment_expression "psVar1 = *histogram" identifier = (pointer_expression "*histogram" * identifier)) ;) (expression_statement "psVar2 = histogram[1];" (assignment_expression "psVar2 = histogram[1]" identifier = (subscript_expression "histogram[1]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "psVar3 = histogram[2];" (assignment_expression "psVar3 = histogram[2]" identifier = (subscript_expression "histogram[2]" identifier [ number_literal ])) ;) (do_statement "do {\n    psVar1[iVar10] = 0;\n    psVar2[iVar10] = 0;\n    psVar3[iVar10] = 0;\n    iVar10 = iVar10 + 1;\n  } while (iVar10 != 0x100);" do (compound_statement "{\n    psVar1[iVar10] = 0;\n    psVar2[iVar10] = 0;\n    psVar3[iVar10] = 0;\n    iVar10 = iVar10 + 1;\n  }" { (expression_statement "psVar1[iVar10] = 0;" (assignment_expression "psVar1[iVar10] = 0" (subscript_expression "psVar1[iVar10]" identifier [ identifier ]) = number_literal) ;) (expression_statement "psVar2[iVar10] = 0;" (assignment_expression "psVar2[iVar10] = 0" (subscript_expression "psVar2[iVar10]" identifier [ identifier ]) = number_literal) ;) (expression_statement "psVar3[iVar10] = 0;" (assignment_expression "psVar3[iVar10] = 0" (subscript_expression "psVar3[iVar10]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != 0x100)" ( (binary_expression "iVar10 != 0x100" identifier != number_literal) )) ;) (if_statement "if (0 < (int)image->rows) {\n    local_34 = 0;\n    do {\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < (int)image->rows);\n  }" if (parenthesized_expression "(0 < (int)image->rows)" ( (binary_expression "0 < (int)image->rows" number_literal < (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier))) )) (compound_statement "{\n    local_34 = 0;\n    do {\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < (int)image->rows);\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (do_statement "do {\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < (int)image->rows);" do (compound_statement "{\n      pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);\n      if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }\n      if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }\n      local_34 = local_34 + 1;\n    }" { (expression_statement "pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception);" (assignment_expression "pQVar9 = GetVirtualPixels(image,0,local_34,image->columns,1,exception)" identifier = (call_expression "GetVirtualPixels(image,0,local_34,image->columns,1,exception)" identifier (argument_list "(image,0,local_34,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pQVar9 == (Quantum *)0x0) {\n        return;\n      }" if (parenthesized_expression "(pQVar9 == (Quantum *)0x0)" ( (binary_expression "pQVar9 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (0 < (int)image->columns) {\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }" if (parenthesized_expression "(0 < (int)image->columns)" ( (binary_expression "0 < (int)image->columns" number_literal < (cast_expression "(int)image->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "image->columns" identifier -> field_identifier))) )) (compound_statement "{\n        pPVar4 = image->channel_map;\n        piVar5 = *histogram;\n        piVar6 = histogram[1];\n        piVar7 = histogram[2];\n        iVar10 = 0;\n        do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);\n      }" { (expression_statement "pPVar4 = image->channel_map;" (assignment_expression "pPVar4 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "piVar5 = *histogram;" (assignment_expression "piVar5 = *histogram" identifier = (pointer_expression "*histogram" * identifier)) ;) (expression_statement "piVar6 = histogram[1];" (assignment_expression "piVar6 = histogram[1]" identifier = (subscript_expression "histogram[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = histogram[2];" (assignment_expression "piVar7 = histogram[2]" identifier = (subscript_expression "histogram[2]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        } while (iVar10 < (int)image->columns);" do (compound_statement "{\n          piVar11 = piVar5;\n          if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar6;\n          if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          piVar11 = piVar7;\n          if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar10 = iVar10 + 1;\n          pQVar9 = pQVar9 + image->number_channels;\n        }" { (expression_statement "piVar11 = piVar5;" (assignment_expression "piVar11 = piVar5" identifier = identifier) ;) (if_statement "if ((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)) {\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }" if (parenthesized_expression "((0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4))" ( (binary_expression "(0.0 < pQVar9[pPVar4->offset]) &&\n             (dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)" (parenthesized_expression "(0.0 < pQVar9[pPVar4->offset])" ( (binary_expression "0.0 < pQVar9[pPVar4->offset]" number_literal < (subscript_expression "pQVar9[pPVar4->offset]" identifier [ (field_expression "pPVar4->offset" identifier -> field_identifier) ])) )) && (parenthesized_expression "(dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4)" ( (comma_expression "dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4" (assignment_expression "dVar8 = pQVar9[pPVar4->offset] / (double)DAT_002a7ff0" identifier = (binary_expression "pQVar9[pPVar4->offset] / (double)DAT_002a7ff0" (subscript_expression "pQVar9[pPVar4->offset]" identifier [ (field_expression "pPVar4->offset" identifier -> field_identifier) ]) / (cast_expression "(double)DAT_002a7ff0" ( (type_descriptor "double" primitive_type) ) identifier))) , (comma_expression "piVar11 = piVar5 + 0xff,\n             dVar8 < (double)DAT_002a7ff4" (assignment_expression "piVar11 = piVar5 + 0xff" identifier = (binary_expression "piVar5 + 0xff" identifier + number_literal)) , (binary_expression "dVar8 < (double)DAT_002a7ff4" identifier < (cast_expression "(double)DAT_002a7ff4" ( (type_descriptor "double" primitive_type) ) identifier)))) ))) )) (compound_statement "{\n            piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n          }" { (expression_statement "piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);" (assignment_expression "piVar11 = piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" identifier = (binary_expression "piVar5 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" identifier + (cast_expression "(byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar8 + (double)DAT_0029f124)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar8 + (double)DAT_0029f124)" identifier (argument_list "(dVar8 + (double)DAT_0029f124)" ( (binary_expression "dVar8 + (double)DAT_0029f124" identifier + (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier)) ))))))) ;) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "piVar11 = piVar6;" (assignment_expression "piVar11 = piVar6" identifier = identifier) ;) (if_statement "if (0.0 < pQVar9[pPVar4[1].offset]) {\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }" if (parenthesized_expression "(0.0 < pQVar9[pPVar4[1].offset])" ( (binary_expression "0.0 < pQVar9[pPVar4[1].offset]" number_literal < (subscript_expression "pQVar9[pPVar4[1].offset]" identifier [ (field_expression "pPVar4[1].offset" (subscript_expression "pPVar4[1]" identifier [ number_literal ]) . field_identifier) ])) )) (compound_statement "{\n            dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar6 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }" { (expression_statement "dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0;" (assignment_expression "dVar8 = pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0" identifier = (binary_expression "pQVar9[pPVar4[1].offset] / (double)DAT_002a7ff0" (subscript_expression "pQVar9[pPVar4[1].offset]" identifier [ (field_expression "pPVar4[1].offset" (subscript_expression "pPVar4[1]" identifier [ number_literal ]) . field_identifier) ]) / (cast_expression "(double)DAT_002a7ff0" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "piVar11 = piVar6 + 0xff;" (assignment_expression "piVar11 = piVar6 + 0xff" identifier = (binary_expression "piVar6 + 0xff" identifier + number_literal)) ;) (if_statement "if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }" if (parenthesized_expression "(dVar8 < (double)DAT_002a7ff4)" ( (binary_expression "dVar8 < (double)DAT_002a7ff4" identifier < (cast_expression "(double)DAT_002a7ff4" ( (type_descriptor "double" primitive_type) ) identifier)) )) (compound_statement "{\n              piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }" { (expression_statement "piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);" (assignment_expression "piVar11 = piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" identifier = (binary_expression "piVar6 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" identifier + (cast_expression "(byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar8 + (double)DAT_0029f124)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar8 + (double)DAT_0029f124)" identifier (argument_list "(dVar8 + (double)DAT_0029f124)" ( (binary_expression "dVar8 + (double)DAT_0029f124" identifier + (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier)) ))))))) ;) })) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "piVar11 = piVar7;" (assignment_expression "piVar11 = piVar7" identifier = identifier) ;) (if_statement "if (0.0 < pQVar9[pPVar4[2].offset]) {\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }" if (parenthesized_expression "(0.0 < pQVar9[pPVar4[2].offset])" ( (binary_expression "0.0 < pQVar9[pPVar4[2].offset]" number_literal < (subscript_expression "pQVar9[pPVar4[2].offset]" identifier [ (field_expression "pPVar4[2].offset" (subscript_expression "pPVar4[2]" identifier [ number_literal ]) . field_identifier) ])) )) (compound_statement "{\n            dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;\n            piVar11 = piVar7 + 0xff;\n            if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }\n          }" { (expression_statement "dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0;" (assignment_expression "dVar8 = pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0" identifier = (binary_expression "pQVar9[pPVar4[2].offset] / (double)DAT_002a7ff0" (subscript_expression "pQVar9[pPVar4[2].offset]" identifier [ (field_expression "pPVar4[2].offset" (subscript_expression "pPVar4[2]" identifier [ number_literal ]) . field_identifier) ]) / (cast_expression "(double)DAT_002a7ff0" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "piVar11 = piVar7 + 0xff;" (assignment_expression "piVar11 = piVar7 + 0xff" identifier = (binary_expression "piVar7 + 0xff" identifier + number_literal)) ;) (if_statement "if (dVar8 < (double)DAT_002a7ff4) {\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }" if (parenthesized_expression "(dVar8 < (double)DAT_002a7ff4)" ( (binary_expression "dVar8 < (double)DAT_002a7ff4" identifier < (cast_expression "(double)DAT_002a7ff4" ( (type_descriptor "double" primitive_type) ) identifier)) )) (compound_statement "{\n              piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);\n            }" { (expression_statement "piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124);" (assignment_expression "piVar11 = piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" identifier = (binary_expression "piVar7 + (byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" identifier + (cast_expression "(byte)(short)ROUND(dVar8 + (double)DAT_0029f124)" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar8 + (double)DAT_0029f124)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar8 + (double)DAT_0029f124)" identifier (argument_list "(dVar8 + (double)DAT_0029f124)" ( (binary_expression "dVar8 + (double)DAT_0029f124" identifier + (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier)) ))))))) ;) })) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pQVar9 = pQVar9 + image->number_channels;" (assignment_expression "pQVar9 = pQVar9 + image->number_channels" identifier = (binary_expression "pQVar9 + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(iVar10 < (int)image->columns)" ( (binary_expression "iVar10 < (int)image->columns" identifier < (cast_expression "(int)image->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "image->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "local_34 = local_34 + 1;" (assignment_expression "local_34 = local_34 + 1" identifier = (binary_expression "local_34 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_34 < (int)image->rows)" ( (binary_expression "local_34 < (int)image->rows" identifier < (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00181830(void)\n\n{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}\n\n" (function_definition "void FUN_00181830(void)\n\n{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00181830(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "uVar12 = FUN_00042799();" (assignment_expression "uVar12 = FUN_00042799()" identifier = (call_expression "FUN_00042799()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar10 = (int *)((ulonglong)uVar12 >> 0x20);" (assignment_expression "piVar10 = (int *)((ulonglong)uVar12 >> 0x20)" identifier = (cast_expression "(int *)((ulonglong)uVar12 >> 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar12 >> 0x20)" ( (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar6 = (int)uVar12;" (assignment_expression "iVar6 = (int)uVar12" identifier = (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = *piVar10;" (assignment_expression "iVar7 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "iVar2 = piVar10[1];" (assignment_expression "iVar2 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = piVar10[2];" (assignment_expression "iVar9 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) (do_statement "do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);" do (compound_statement "{\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  }" { (expression_statement "*(undefined4 *)(iVar7 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar2 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar8 * 4)" ( (binary_expression "iVar2 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar9 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar9 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar9 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar9 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar8 * 4)" ( (binary_expression "iVar9 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0x100)" ( (binary_expression "iVar8 != 0x100" identifier != number_literal) )) ;) (if_statement "if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }" if (parenthesized_expression "(0 < *(int *)(iVar6 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar6 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));" do (compound_statement "{\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    }" { (expression_statement "iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);" (assignment_expression "iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" identifier = (call_expression "GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" identifier (argument_list "(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        return;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }" if (parenthesized_expression "(0 < *(int *)(iVar6 + 0x18))" ( (binary_expression "0 < *(int *)(iVar6 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }" { (expression_statement "iVar2 = *(int *)(iVar6 + 0x2a8);" (assignment_expression "iVar2 = *(int *)(iVar6 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x2a8)" * (cast_expression "(int *)(iVar6 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2a8)" ( (binary_expression "iVar6 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "piVar3 = (int *)*piVar10;" (assignment_expression "piVar3 = (int *)*piVar10" identifier = (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier))) ;) (expression_statement "piVar4 = (int *)piVar10[1];" (assignment_expression "piVar4 = (int *)piVar10[1]" identifier = (cast_expression "(int *)piVar10[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar5 = (int *)piVar10[2];" (assignment_expression "piVar5 = (int *)piVar10[2]" identifier = (cast_expression "(int *)piVar10[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));" do (compound_statement "{\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        }" { (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" identifier = (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" * (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 8) * 8)" ( (binary_expression "iVar7 + *(int *)(iVar2 + 8) * 8" identifier + (binary_expression "*(int *)(iVar2 + 8) * 8" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "piVar11 = piVar3;" (assignment_expression "piVar11 = piVar3" identifier = identifier) ;) (if_statement "if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }" if (parenthesized_expression "((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)))" ( (binary_expression "(0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" (parenthesized_expression "(0.0 < dVar1)" ( (binary_expression "0.0 < dVar1" number_literal < identifier) )) && (parenthesized_expression "(dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" ( (comma_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier = (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier / (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" ( (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" & identifier) + identifier) ))))))) , (comma_expression "piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (assignment_expression "piVar11 = piVar3 + 0xff" identifier = (binary_expression "piVar3 + 0xff" identifier + number_literal)) , (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" identifier < (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267be + unaff_EBP)" ( (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" & identifier) + identifier) )))))))) ))) )) (compound_statement "{\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }" { (expression_statement "piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));" (assignment_expression "piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" identifier = (binary_expression "piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" identifier + (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" identifier (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" ( (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" identifier + (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" * (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0011d8ee +\n                                                                            unaff_EBP)" ( (binary_expression "&DAT_0011d8ee +\n                                                                            unaff_EBP" (pointer_expression "&DAT_0011d8ee" & identifier) + identifier) )))))) ))))))) ;) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" identifier = (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" * (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 0x14) * 8)" ( (binary_expression "iVar7 + *(int *)(iVar2 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar2 + 0x14) * 8" (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "piVar11 = piVar4;" (assignment_expression "piVar11 = piVar4" identifier = identifier) ;) (if_statement "if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" if (parenthesized_expression "(0.0 < dVar1)" ( (binary_expression "0.0 < dVar1" number_literal < identifier) )) (compound_statement "{\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" { (expression_statement "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier = (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier / (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" ( (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" & identifier) + identifier) ))))))) ;) (expression_statement "piVar11 = piVar4 + 0xff;" (assignment_expression "piVar11 = piVar4 + 0xff" identifier = (binary_expression "piVar4 + 0xff" identifier + number_literal)) ;) (if_statement "if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" if (parenthesized_expression "(dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" ( (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" identifier < (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267be + unaff_EBP)" ( (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" & identifier) + identifier) )))))) )) (compound_statement "{\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" { (expression_statement "piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));" (assignment_expression "piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier = (binary_expression "piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier + (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" identifier + (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" * (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (binary_expression "&DAT_0011d8ee +\n                                                                              unaff_EBP" (pointer_expression "&DAT_0011d8ee" & identifier) + identifier) )))))) ))))))) ;) })) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" identifier = (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" * (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 0x20) * 8)" ( (binary_expression "iVar7 + *(int *)(iVar2 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar2 + 0x20) * 8" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "piVar11 = piVar5;" (assignment_expression "piVar11 = piVar5" identifier = identifier) ;) (if_statement "if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" if (parenthesized_expression "(0.0 < dVar1)" ( (binary_expression "0.0 < dVar1" number_literal < identifier) )) (compound_statement "{\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" { (expression_statement "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier = (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" identifier / (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" ( (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" & identifier) + identifier) ))))))) ;) (expression_statement "piVar11 = piVar5 + 0xff;" (assignment_expression "piVar11 = piVar5 + 0xff" identifier = (binary_expression "piVar5 + 0xff" identifier + number_literal)) ;) (if_statement "if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" if (parenthesized_expression "(dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" ( (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" identifier < (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" * (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001267be + unaff_EBP)" ( (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" & identifier) + identifier) )))))) )) (compound_statement "{\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" { (expression_statement "piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));" (assignment_expression "piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier = (binary_expression "piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier + (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" identifier (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" ( (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" identifier + (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" * (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0011d8ee +\n                                                                              unaff_EBP)" ( (binary_expression "&DAT_0011d8ee +\n                                                                              unaff_EBP" (pointer_expression "&DAT_0011d8ee" & identifier) + identifier) )))))) ))))))) ;) })) })) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" * identifier) = (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" * identifier) + number_literal)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8" identifier = (binary_expression "iVar7 + *(int *)(iVar6 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar6 + 0x298) * 8" (pointer_expression "*(int *)(iVar6 + 0x298)" * (cast_expression "(int *)(iVar6 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x298)" ( (binary_expression "iVar6 + 0x298" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar9 < *(int *)(iVar6 + 0x18))" ( (binary_expression "iVar9 < *(int *)(iVar6 + 0x18)" identifier < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "local_34 = local_34 + 1;" (assignment_expression "local_34 = local_34 + 1" identifier = (binary_expression "local_34 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_34 < *(int *)(iVar6 + 0x1c))" ( (binary_expression "local_34 < *(int *)(iVar6 + 0x1c)" identifier < (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (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 { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))))) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) ))))))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) ))))))) ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))))) ))))))) ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00181830(void)\n\n{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00181830(void)" (identifier "FUN_00181830") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 extraout_ECX;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  int unaff_EBP;\n  undefined8 uVar12;\n  int local_34;\n  \n  uVar12 = FUN_00042799();\n  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);\n  iVar6 = (int)uVar12;\n  iVar7 = *piVar10;\n  iVar2 = piVar10[1];\n  iVar8 = 0;\n  iVar9 = piVar10[2];\n  do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);\n  if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "undefined8 uVar12;" (type_identifier "undefined8") (identifier "uVar12") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (expression_statement "uVar12 = FUN_00042799();" (assignment_expression "uVar12 = FUN_00042799()" (identifier "uVar12") (= "=") (call_expression "FUN_00042799()" (identifier "FUN_00042799") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar10 = (int *)((ulonglong)uVar12 >> 0x20);" (assignment_expression "piVar10 = (int *)((ulonglong)uVar12 >> 0x20)" (identifier "piVar10") (= "=") (cast_expression "(int *)((ulonglong)uVar12 >> 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar12 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar12")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar6 = (int)uVar12;" (assignment_expression "iVar6 = (int)uVar12" (identifier "iVar6") (= "=") (cast_expression "(int)uVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar12"))) (; ";")) (expression_statement "iVar7 = *piVar10;" (assignment_expression "iVar7 = *piVar10" (identifier "iVar7") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (expression_statement "iVar2 = piVar10[1];" (assignment_expression "iVar2 = piVar10[1]" (identifier "iVar2") (= "=") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = piVar10[2];" (assignment_expression "iVar9 = piVar10[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar10[2]" (identifier "piVar10") ([ "[") (number_literal "2") (] "]"))) (; ";")) (do_statement "do {\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x100);" (do "do") (compound_statement "{\n    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;\n    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;\n    iVar8 = iVar8 + 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar7 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + iVar8 * 4)" (( "(") (binary_expression "iVar7 + iVar8 * 4" (identifier "iVar7") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar8 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar8 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar8 * 4)" (( "(") (binary_expression "iVar2 + iVar8 * 4" (identifier "iVar2") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar9 + iVar8 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar9 + iVar8 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar9 + iVar8 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar9 + iVar8 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar8 * 4)" (( "(") (binary_expression "iVar9 + iVar8 * 4" (identifier "iVar9") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != 0x100)" (( "(") (binary_expression "iVar8 != 0x100" (identifier "iVar8") (!= "!=") (number_literal "0x100")) () ")")) (; ";")) (if_statement "if (0 < *(int *)(iVar6 + 0x1c)) {\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar6 + 0x1c))" (( "(") (binary_expression "0 < *(int *)(iVar6 + 0x1c)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar6 + 0x1c)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (compound_statement "{\n    local_34 = 0;\n    do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));\n  }" ({ "{") (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    } while (local_34 < *(int *)(iVar6 + 0x1c));" (do "do") (compound_statement "{\n      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);\n      if (iVar7 == 0) {\n        return;\n      }\n      if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }\n      local_34 = local_34 + 1;\n    }" ({ "{") (expression_statement "iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);" (assignment_expression "iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" (identifier "iVar7") (= "=") (call_expression "GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" (identifier "GetVirtualPixels") (argument_list "(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (identifier "local_34") (, ",") (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "extraout_ECX") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (0 < *(int *)(iVar6 + 0x18)) {\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar6 + 0x18))" (( "(") (binary_expression "0 < *(int *)(iVar6 + 0x18)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n        iVar2 = *(int *)(iVar6 + 0x2a8);\n        piVar3 = (int *)*piVar10;\n        piVar4 = (int *)piVar10[1];\n        piVar5 = (int *)piVar10[2];\n        iVar9 = 0;\n        do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar6 + 0x2a8);" (assignment_expression "iVar2 = *(int *)(iVar6 + 0x2a8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar6 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar6 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x2a8)" (( "(") (binary_expression "iVar6 + 0x2a8" (identifier "iVar6") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "piVar3 = (int *)*piVar10;" (assignment_expression "piVar3 = (int *)*piVar10" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar10" (* "*") (identifier "piVar10")))) (; ";")) (expression_statement "piVar4 = (int *)piVar10[1];" (assignment_expression "piVar4 = (int *)piVar10[1]" (identifier "piVar4") (= "=") (cast_expression "(int *)piVar10[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar5 = (int *)piVar10[2];" (assignment_expression "piVar5 = (int *)piVar10[2]" (identifier "piVar5") (= "=") (cast_expression "(int *)piVar10[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar10[2]" (identifier "piVar10") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        } while (iVar9 < *(int *)(iVar6 + 0x18));" (do "do") (compound_statement "{\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);\n          piVar11 = piVar3;\n          if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);\n          piVar11 = piVar4;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);\n          piVar11 = piVar5;\n          if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }\n          *piVar11 = *piVar11 + 1;\n          iVar9 = iVar9 + 1;\n          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;\n        }" ({ "{") (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" (* "*") (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 8) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 8) * 8)" (( "(") (binary_expression "iVar7 + *(int *)(iVar2 + 8) * 8" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar2 + 8) * 8" (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "piVar11 = piVar3;" (assignment_expression "piVar11 = piVar3" (identifier "piVar11") (= "=") (identifier "piVar3")) (; ";")) (if_statement "if ((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }" (if "if") (parenthesized_expression "((0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)))" (( "(") (binary_expression "(0.0 < dVar1) &&\n             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" (parenthesized_expression "(0.0 < dVar1)" (( "(") (binary_expression "0.0 < dVar1" (number_literal "0.0") (< "<") (identifier "dVar1")) () ")")) (&& "&&") (parenthesized_expression "(dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" (( "(") (comma_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" (identifier "dVar1") (= "=") (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" (identifier "dVar1") (/ "/") (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" (( "(") (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" (& "&") (identifier "DAT_001267ba")) (+ "+") (identifier "unaff_EBP")) () ")"))))))) (, ",") (comma_expression "piVar11 = piVar3 + 0xff\n             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (assignment_expression "piVar11 = piVar3 + 0xff" (identifier "piVar11") (= "=") (binary_expression "piVar3 + 0xff" (identifier "piVar3") (+ "+") (number_literal "0xff"))) (, ",") (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (identifier "dVar1") (< "<") (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001267be + unaff_EBP)" (( "(") (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" (& "&") (identifier "DAT_001267be")) (+ "+") (identifier "unaff_EBP")) () ")")))))))) () ")"))) () ")")) (compound_statement "{\n            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));\n          }" ({ "{") (expression_statement "piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP));" (assignment_expression "piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" (identifier "piVar11") (= "=") (binary_expression "piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" (identifier "piVar3") (+ "+") (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" (identifier "ROUND") (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP))" (( "(") (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" (identifier "dVar1") (+ "+") (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                            unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0011d8ee +\n                                                                            unaff_EBP)" (( "(") (binary_expression "&DAT_0011d8ee +\n                                                                            unaff_EBP" (pointer_expression "&DAT_0011d8ee" (& "&") (identifier "DAT_0011d8ee")) (+ "+") (identifier "unaff_EBP")) () ")")))))) () ")"))))))) (; ";")) (} "}"))) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" (* "*") (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 0x14) * 8)" (( "(") (binary_expression "iVar7 + *(int *)(iVar2 + 0x14) * 8" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar2 + 0x14) * 8" (pointer_expression "*(int *)(iVar2 + 0x14)" (* "*") (cast_expression "(int *)(iVar2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "piVar11 = piVar4;" (assignment_expression "piVar11 = piVar4" (identifier "piVar11") (= "=") (identifier "piVar4")) (; ";")) (if_statement "if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" (if "if") (parenthesized_expression "(0.0 < dVar1)" (( "(") (binary_expression "0.0 < dVar1" (number_literal "0.0") (< "<") (identifier "dVar1")) () ")")) (compound_statement "{\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar4 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" ({ "{") (expression_statement "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" (identifier "dVar1") (= "=") (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" (identifier "dVar1") (/ "/") (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" (( "(") (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" (& "&") (identifier "DAT_001267ba")) (+ "+") (identifier "unaff_EBP")) () ")"))))))) (; ";")) (expression_statement "piVar11 = piVar4 + 0xff;" (assignment_expression "piVar11 = piVar4 + 0xff" (identifier "piVar11") (= "=") (binary_expression "piVar4 + 0xff" (identifier "piVar4") (+ "+") (number_literal "0xff"))) (; ";")) (if_statement "if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" (if "if") (parenthesized_expression "(dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" (( "(") (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (identifier "dVar1") (< "<") (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001267be + unaff_EBP)" (( "(") (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" (& "&") (identifier "DAT_001267be")) (+ "+") (identifier "unaff_EBP")) () ")")))))) () ")")) (compound_statement "{\n              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" ({ "{") (expression_statement "piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));" (assignment_expression "piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (identifier "piVar11") (= "=") (binary_expression "piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (identifier "piVar4") (+ "+") (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (identifier "ROUND") (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (( "(") (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (identifier "dVar1") (+ "+") (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (( "(") (binary_expression "&DAT_0011d8ee +\n                                                                              unaff_EBP" (pointer_expression "&DAT_0011d8ee" (& "&") (identifier "DAT_0011d8ee")) (+ "+") (identifier "unaff_EBP")) () ")")))))) () ")"))))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);" (assignment_expression "dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" (* "*") (cast_expression "(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(iVar2 + 0x20) * 8)" (( "(") (binary_expression "iVar7 + *(int *)(iVar2 + 0x20) * 8" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar2 + 0x20) * 8" (pointer_expression "*(int *)(iVar2 + 0x20)" (* "*") (cast_expression "(int *)(iVar2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "piVar11 = piVar5;" (assignment_expression "piVar11 = piVar5" (identifier "piVar11") (= "=") (identifier "piVar5")) (; ";")) (if_statement "if (0.0 < dVar1) {\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" (if "if") (parenthesized_expression "(0.0 < dVar1)" (( "(") (binary_expression "0.0 < dVar1" (number_literal "0.0") (< "<") (identifier "dVar1")) () ")")) (compound_statement "{\n            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);\n            piVar11 = piVar5 + 0xff;\n            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }\n          }" ({ "{") (expression_statement "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);" (assignment_expression "dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" (identifier "dVar1") (= "=") (binary_expression "dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP)" (identifier "dVar1") (/ "/") (cast_expression "(double)*(float *)(&DAT_001267ba + unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_001267ba + unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_001267ba + unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001267ba + unaff_EBP)" (( "(") (binary_expression "&DAT_001267ba + unaff_EBP" (pointer_expression "&DAT_001267ba" (& "&") (identifier "DAT_001267ba")) (+ "+") (identifier "unaff_EBP")) () ")"))))))) (; ";")) (expression_statement "piVar11 = piVar5 + 0xff;" (assignment_expression "piVar11 = piVar5 + 0xff" (identifier "piVar11") (= "=") (binary_expression "piVar5 + 0xff" (identifier "piVar5") (+ "+") (number_literal "0xff"))) (; ";")) (if_statement "if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" (if "if") (parenthesized_expression "(dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))" (( "(") (binary_expression "dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)" (identifier "dVar1") (< "<") (cast_expression "(double)*(float *)(&DAT_001267be + unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_001267be + unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_001267be + unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001267be + unaff_EBP)" (( "(") (binary_expression "&DAT_001267be + unaff_EBP" (pointer_expression "&DAT_001267be" (& "&") (identifier "DAT_001267be")) (+ "+") (identifier "unaff_EBP")) () ")")))))) () ")")) (compound_statement "{\n              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));\n            }" ({ "{") (expression_statement "piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP));" (assignment_expression "piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (identifier "piVar11") (= "=") (binary_expression "piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (identifier "piVar5") (+ "+") (cast_expression "(byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (cast_expression "(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (call_expression "ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (identifier "ROUND") (argument_list "(dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP))" (( "(") (binary_expression "dVar1 + (double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (identifier "dVar1") (+ "+") (cast_expression "(double)*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (* "*") (cast_expression "(float *)(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0011d8ee +\n                                                                              unaff_EBP)" (( "(") (binary_expression "&DAT_0011d8ee +\n                                                                              unaff_EBP" (pointer_expression "&DAT_0011d8ee" (& "&") (identifier "DAT_0011d8ee")) (+ "+") (identifier "unaff_EBP")) () ")")))))) () ")"))))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*piVar11 = *piVar11 + 1;" (assignment_expression "*piVar11 = *piVar11 + 1" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (binary_expression "*piVar11 + 1" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(iVar6 + 0x298) * 8" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar6 + 0x298) * 8" (pointer_expression "*(int *)(iVar6 + 0x298)" (* "*") (cast_expression "(int *)(iVar6 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x298)" (( "(") (binary_expression "iVar6 + 0x298" (identifier "iVar6") (+ "+") (number_literal "0x298")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < *(int *)(iVar6 + 0x18))" (( "(") (binary_expression "iVar9 < *(int *)(iVar6 + 0x18)" (identifier "iVar9") (< "<") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "local_34 = local_34 + 1;" (assignment_expression "local_34 = local_34 + 1" (identifier "local_34") (= "=") (binary_expression "local_34 + 1" (identifier "local_34") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_34 < *(int *)(iVar6 + 0x1c))" (( "(") (binary_expression "local_34 < *(int *)(iVar6 + 0x1c)" (identifier "local_34") (< "<") (pointer_expression "*(int *)(iVar6 + 0x1c)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

void __regparm3 function_1(type_1 *image,ssize_t **histogram,type_2 *exception)

{
  ssize_t *psVar1;
  ssize_t *psVar2;
  ssize_t *psVar3;
  type_3 *pPVar4;
  int *var_4;
  int *var_7;
  int *var_8;
  double var_5;
  type_4 *var_3;
  int var_1;
  int *piVar11;
  int var_9;
  
  psVar1 = *histogram;
  psVar2 = histogram[1];
  var_1 = 0;
  psVar3 = histogram[2];
  do {
    psVar1[var_1] = 0;
    psVar2[var_1] = 0;
    psVar3[var_1] = 0;
    var_1 = var_1 + 1;
  } while (var_1 != 0x100);
  if (0 < (int)image->rows) {
    var_9 = 0;
    do {
      var_3 = var_2(image,0,var_9,image->columns,1,exception);
      if (var_3 == (type_4 *)0x0) {
        return;
      }
      if (0 < (int)image->columns) {
        pPVar4 = image->channel_map;
        var_4 = *histogram;
        var_7 = histogram[1];
        var_8 = histogram[2];
        var_1 = 0;
        do {
          piVar11 = var_4;
          if ((0.0 < var_3[pPVar4->offset]) &&
             (var_5 = var_3[pPVar4->offset] / (double)DAT_002a7ff0, piVar11 = var_4 + 0xff,
             var_5 < (double)DAT_002a7ff4)) {
            piVar11 = var_4 + (type_5)(short)var_6(var_5 + (double)DAT_0029f124);
          }
          *piVar11 = *piVar11 + 1;
          piVar11 = var_7;
          if (0.0 < var_3[pPVar4[1].offset]) {
            var_5 = var_3[pPVar4[1].offset] / (double)DAT_002a7ff0;
            piVar11 = var_7 + 0xff;
            if (var_5 < (double)DAT_002a7ff4) {
              piVar11 = var_7 + (type_5)(short)var_6(var_5 + (double)DAT_0029f124);
            }
          }
          *piVar11 = *piVar11 + 1;
          piVar11 = var_8;
          if (0.0 < var_3[pPVar4[2].offset]) {
            var_5 = var_3[pPVar4[2].offset] / (double)DAT_002a7ff0;
            piVar11 = var_8 + 0xff;
            if (var_5 < (double)DAT_002a7ff4) {
              piVar11 = var_8 + (type_5)(short)var_6(var_5 + (double)DAT_0029f124);
            }
          }
          *piVar11 = *piVar11 + 1;
          var_1 = var_1 + 1;
          var_3 = var_3 + image->number_channels;
        } while (var_1 < (int)image->columns);
      }
      var_9 = var_9 + 1;
    } while (var_9 < (int)image->rows);
  }
  return;
}


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

void MASKED(void)

{
  double dVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  undefined4 extraout_ECX;
  int iVar8;
  int iVar9;
  int *piVar10;
  int *piVar11;
  int unaff_EBP;
  undefined8 uVar12;
  int local_34;
  
  uVar12 = FUN_00042799();
  piVar10 = (int *)((ulonglong)uVar12 >> 0x20);
  iVar6 = (int)uVar12;
  iVar7 = *piVar10;
  iVar2 = piVar10[1];
  iVar8 = 0;
  iVar9 = piVar10[2];
  do {
    *(undefined4 *)(iVar7 + iVar8 * 4) = 0;
    *(undefined4 *)(iVar2 + iVar8 * 4) = 0;
    *(undefined4 *)(iVar9 + iVar8 * 4) = 0;
    iVar8 = iVar8 + 1;
  } while (iVar8 != 0x100);
  if (0 < *(int *)(iVar6 + 0x1c)) {
    local_34 = 0;
    do {
      iVar7 = GetVirtualPixels(iVar6,0,local_34,*(undefined4 *)(iVar6 + 0x18),1,extraout_ECX);
      if (iVar7 == 0) {
        return;
      }
      if (0 < *(int *)(iVar6 + 0x18)) {
        iVar2 = *(int *)(iVar6 + 0x2a8);
        piVar3 = (int *)*piVar10;
        piVar4 = (int *)piVar10[1];
        piVar5 = (int *)piVar10[2];
        iVar9 = 0;
        do {
          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 8) * 8);
          piVar11 = piVar3;
          if ((0.0 < dVar1) &&
             (dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP), piVar11 = piVar3 + 0xff
             , dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP))) {
            piVar11 = piVar3 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +
                                                                            unaff_EBP));
          }
          *piVar11 = *piVar11 + 1;
          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x14) * 8);
          piVar11 = piVar4;
          if (0.0 < dVar1) {
            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);
            piVar11 = piVar4 + 0xff;
            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {
              piVar11 = piVar4 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +
                                                                              unaff_EBP));
            }
          }
          *piVar11 = *piVar11 + 1;
          dVar1 = *(double *)(iVar7 + *(int *)(iVar2 + 0x20) * 8);
          piVar11 = piVar5;
          if (0.0 < dVar1) {
            dVar1 = dVar1 / (double)*(float *)(&DAT_001267ba + unaff_EBP);
            piVar11 = piVar5 + 0xff;
            if (dVar1 < (double)*(float *)(&DAT_001267be + unaff_EBP)) {
              piVar11 = piVar5 + (byte)(short)ROUND(dVar1 + (double)*(float *)(&DAT_0011d8ee +
                                                                              unaff_EBP));
            }
          }
          *piVar11 = *piVar11 + 1;
          iVar9 = iVar9 + 1;
          iVar7 = iVar7 + *(int *)(iVar6 + 0x298) * 8;
        } while (iVar9 < *(int *)(iVar6 + 0x18));
      }
      local_34 = local_34 + 1;
    } while (local_34 < *(int *)(iVar6 + 0x1c));
  }
  return;
}

