
/* 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 */

void __regparm3
DefineImageColormap(Image *image,CubeInfo_conflict *cube_info,NodeInfo_conflict *node_info)

{
  uint uVar1;
  double dVar2;
  double dVar3;
  double dVar4;
  uint uVar5;
  uint uVar6;
  size_t sVar7;
  PixelInfo *pPVar8;
  int iVar9;
  double dVar10;
  double dVar11;
  double dVar12;
  double dVar13;
  Image *image_00;
  int extraout_ECX;
  undefined4 *puVar14;
  int unaff_EDI;
  undefined8 uVar15;
  
  uVar15 = __x86_get_pc_thunk_di();
  image_00 = (Image *)uVar15;
  puVar14 = (undefined4 *)(extraout_ECX + 4);
  iVar9 = *(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0);
  do {
    if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {
      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);
    }
    puVar14 = puVar14 + 1;
  } while ((undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14);
  uVar5 = *(uint *)(extraout_ECX + 0x48);
  uVar6 = *(uint *)(extraout_ECX + 0x44);
  if (uVar5 != 0 || uVar6 != 0) {
    dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);
    sVar7 = image_00->colors;
    pPVar8 = image_00->colormap;
    if (dVar2 < 0.0) {
      dVar3 = -dVar2;
      dVar10 = -1.0;
    }
    else {
      dVar10 = 1.0;
      dVar3 = dVar2;
    }
    if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {
      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);
    }
    else {
      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;
    }
    dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);
    dVar12 = dVar10 * dVar13;
    dVar2 = *(double *)(extraout_ECX + 0x4c);
    dVar3 = *(double *)(extraout_ECX + 0x54);
    dVar4 = *(double *)(extraout_ECX + 0x5c);
    if (cube_info->associate_alpha == MagickFalse) {
      pPVar8[sVar7].red = dVar2 * dVar12;
      pPVar8[sVar7].green = dVar3 * dVar12;
      pPVar8[sVar7].blue = dVar4 * dVar12;
      pPVar8[sVar7].alpha = dVar13;
    }
    else {
      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;
      pPVar8[sVar7].alpha = dVar11;
      if (dVar11 == dVar13) {
        pPVar8[sVar7].red = dVar2 * dVar12;
        pPVar8[sVar7].green = dVar3 * dVar12;
        pPVar8[sVar7].blue = dVar4 * dVar12;
      }
      else {
        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);
        if (dVar11 < 0.0) {
          dVar12 = -dVar11;
          dVar13 = -1.0;
        }
        else {
          dVar13 = 1.0;
          dVar12 = dVar11;
        }
        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {
          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);
        }
        else {
          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;
        }
        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);
        pPVar8[sVar7].red = dVar2 * dVar10;
        pPVar8[sVar7].green = dVar3 * dVar10;
        pPVar8[sVar7].blue = dVar4 * dVar10;
        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);
        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))
        {
          *(uint *)&cube_info->transparent_pixels = uVar6;
          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;
          cube_info->transparent_index = sVar7;
        }
      }
    }
    image_00->colors = sVar7 + 1;
    *(size_t *)(extraout_ECX + 0x74) = sVar7;
  }
  return;
}



void __regparm3 FUN_0012b790(undefined4 param_1,int param_2)

{
  double dVar1;
  double dVar2;
  double dVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  double dVar7;
  double dVar8;
  double dVar9;
  double dVar10;
  int iVar11;
  int iVar12;
  int extraout_ECX;
  int *piVar13;
  int unaff_EDI;
  undefined8 uVar14;
  
  uVar14 = FUN_0004c803();
  iVar11 = (int)uVar14;
  piVar13 = (int *)(extraout_ECX + 4);
  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);
  do {
    if (*piVar13 != 0) {
      FUN_0012b790();
    }
    piVar13 = piVar13 + 1;
  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);
  uVar4 = *(uint *)(extraout_ECX + 0x48);
  uVar5 = *(uint *)(extraout_ECX + 0x44);
  if (uVar4 != 0 || uVar5 != 0) {
    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);
    iVar6 = *(int *)(iVar11 + 0x24);
    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);
    if (dVar1 < 0.0) {
      dVar2 = -dVar1;
      dVar7 = -1.0;
    }
    else {
      dVar7 = 1.0;
      dVar2 = dVar1;
    }
    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {
      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);
    }
    else {
      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;
    }
    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);
    dVar9 = dVar7 * dVar10;
    dVar1 = *(double *)(extraout_ECX + 0x4c);
    dVar2 = *(double *)(extraout_ECX + 0x54);
    dVar3 = *(double *)(extraout_ECX + 0x5c);
    if (*(int *)(param_2 + 0x2f0) == 0) {
      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;
      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;
      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;
      *(double *)(iVar12 + 0x40) = dVar10;
    }
    else {
      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;
      *(double *)(iVar12 + 0x40) = dVar8;
      if (dVar8 == dVar10) {
        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;
        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;
        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;
      }
      else {
        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);
        if (dVar8 < 0.0) {
          dVar9 = -dVar8;
          dVar10 = -1.0;
        }
        else {
          dVar10 = 1.0;
          dVar9 = dVar8;
        }
        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {
          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);
        }
        else {
          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;
        }
        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);
        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;
        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;
        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;
        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&
           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {
          *(uint *)(param_2 + 0x10) = uVar5;
          *(uint *)(param_2 + 0x14) = uVar4;
          *(int *)(param_2 + 0xc) = iVar6;
        }
      }
    }
    *(int *)(iVar11 + 0x24) = iVar6 + 1;
    *(int *)(extraout_ECX + 0x74) = iVar6;
  }
  return;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
CALL 0x0004c803
ADD EDI,0x2ad867
PUSH ESI
MOV ESI,ECX
PUSH EBX
LEA EBX,[ECX + 0x4]
SUB ESP,0x2c
CMP dword ptr [EDX + 0x2f0],0x1
MOV dword ptr [ESP + 0xc],EAX
SBB EAX,EAX
AND EAX,0xfffffff8
LEA EAX,[EBX + EAX*0x4 + 0x40]
MOV dword ptr [ESP + 0x8],EAX
MOV ECX,dword ptr [EBX]
TEST ECX,ECX
JNZ 0x0012b888
ADD EBX,0x4
CMP dword ptr [ESP + 0x8],EBX
JNZ 0x0012b7c1
MOV EBX,dword ptr [ESI + 0x48]
MOV ECX,dword ptr [ESI + 0x44]
MOV EDX,EBX
OR EDX,ECX
JZ 0x0012b87c
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x10],ECX
MOV dword ptr [ESP + 0x14],EBX
FILD qword ptr [ESP + 0x10]
FLDZ
FLD ST1
FXCH
MOV EAX,dword ptr [EDX + 0x24]
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EAX + EAX*0x4]
SHL EAX,0x4
ADD EAX,dword ptr [EDX + 0x28]
FUCOMIP ST0,ST2
JA 0x0012b950
FLD1
FLD qword ptr [EDI + 0xffec6138]
FXCH ST2
FUCOMIP ST0,ST2
JC 0x0012b940
FSTP ST0
FSTP ST0
FDIVR dword ptr [EDI + 0xffec6718]
FLD dword ptr [EDI + 0xffec6710]
MOV EDX,dword ptr [EBP + 0x2f0]
FLD ST0
FLD ST2
FMUL ST1
FLD qword ptr [ESI + 0x4c]
FLD qword ptr [ESI + 0x54]
FLD qword ptr [ESI + 0x5c]
TEST EDX,EDX
JNZ 0x0012b8a0
FSTP ST4
FSTP ST5
FXCH
FXCH ST3
FXCH ST4
FXCH
FMUL ST3
FSTP qword ptr [EAX + 0x20]
FMUL ST2
FSTP qword ptr [EAX + 0x28]
FMULP
FSTP qword ptr [EAX + 0x30]
FSTP qword ptr [EAX + 0x40]
MOV EDX,dword ptr [ESP + 0x8]
MOV EDI,dword ptr [ESP + 0xc]
LEA EAX,[EDX + 0x1]
MOV dword ptr [EDI + 0x24],EAX
MOV dword ptr [ESI + 0x74],EDX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,EBP
CALL 0x0012b790
JMP 0x0012b7cb
FSTP ST5
FXCH
FXCH ST2
FXCH ST3
FXCH ST4
FLD qword ptr [ESI + 0x64]
FMUL ST4
FST qword ptr [EAX + 0x40]
FUCOMI ST0,ST5
FSTP ST5
JP 0x0012b8c8
JZ 0x0012b960
FSTP ST3
FXCH
FXCH ST2
FXCH ST3
JMP 0x0012b8d0
FSTP ST3
FXCH
FXCH ST2
FXCH ST3
FMUL qword ptr [EDI + 0xffec6148]
FLDZ
FLD ST1
FXCH
FUCOMIP ST0,ST2
JA 0x0012b9a0
FLD1
FLD qword ptr [EDI + 0xffec6138]
FXCH ST2
FUCOMIP ST0,ST2
JC 0x0012b980
FSTP ST0
FSTP ST0
FDIVR dword ptr [EDI + 0xffec6718]
FMULP ST4
FXCH ST3
FMUL dword ptr [EDI + 0xffec6710]
FMUL ST1
FXCH
FSTP qword ptr [EAX + 0x20]
FMUL ST2
FXCH ST2
FSTP qword ptr [EAX + 0x28]
FMULP
FSTP qword ptr [EAX + 0x30]
CMP EBX,dword ptr [EBP + 0x14]
JC 0x0012b86b
JBE 0x0012b990
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP + 0x10],ECX
MOV dword ptr [EBP + 0x14],EBX
MOV dword ptr [EBP + 0xc],EAX
JMP 0x0012b86b
FSTP ST2
FXCH
FDIVRP
JMP 0x0012b82e
FCHS
FLD1
FCHS
JMP 0x0012b814
FSTP ST4
FSTP ST4
FXCH
FXCH ST3
FXCH
FMUL ST3
FSTP qword ptr [EAX + 0x20]
FMUL ST2
FSTP qword ptr [EAX + 0x28]
FMULP
FSTP qword ptr [EAX + 0x30]
JMP 0x0012b86b
FSTP ST2
FXCH
FDIVRP
JMP 0x0012b900
CMP ECX,dword ptr [EBP + 0x10]
JBE 0x0012b86b
JMP 0x0012b928
FCHS
FLD1
FCHS
JMP 0x0012b8e6
(translation_unit "void __regparm3 FUN_0012b790(undefined4 param_1,int param_2)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0012b790(undefined4 param_1,int param_2)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0012b790(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar14;" type_identifier identifier ;) (expression_statement "uVar14 = FUN_0004c803();" (assignment_expression "uVar14 = FUN_0004c803()" identifier = (call_expression "FUN_0004c803()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar11 = (int)uVar14;" (assignment_expression "iVar11 = (int)uVar14" identifier = (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar13 = (int *)(extraout_ECX + 4);" (assignment_expression "piVar13 = (int *)(extraout_ECX + 4)" identifier = (cast_expression "(int *)(extraout_ECX + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 4)" ( (binary_expression "extraout_ECX + 4" identifier + number_literal) )))) ;) (expression_statement "iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);" (assignment_expression "iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" identifier = (pointer_expression "*(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" * (cast_expression "(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" ( (binary_expression "(int)((ulonglong)uVar14 >> 0x20) + 0x2f0" (cast_expression "(int)((ulonglong)uVar14 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar14 >> 0x20)" ( (binary_expression "(ulonglong)uVar14 >> 0x20" (cast_expression "(ulonglong)uVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + number_literal) ))))) ;) (do_statement "do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);" do (compound_statement "{\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  }" { (if_statement "if (*piVar13 != 0) {\n      FUN_0012b790();\n    }" if (parenthesized_expression "(*piVar13 != 0)" ( (binary_expression "*piVar13 != 0" (pointer_expression "*piVar13" * identifier) != number_literal) )) (compound_statement "{\n      FUN_0012b790();\n    }" { (expression_statement "FUN_0012b790();" (call_expression "FUN_0012b790()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar13 = piVar13 + 1;" (assignment_expression "piVar13 = piVar13 + 1" identifier = (binary_expression "piVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13)" ( (binary_expression "(int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13" (cast_expression "(int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4)" ( (binary_expression "extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4" (binary_expression "extraout_ECX + 0x44" identifier + number_literal) + (binary_expression "(-(uint)(iVar6 == 0) & 0xfffffff8) * 4" (parenthesized_expression "(-(uint)(iVar6 == 0) & 0xfffffff8)" ( (binary_expression "-(uint)(iVar6 == 0) & 0xfffffff8" (unary_expression "-(uint)(iVar6 == 0)" - (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )))) & number_literal) )) * number_literal)) ))) != identifier) )) ;) (expression_statement "uVar4 = *(uint *)(extraout_ECX + 0x48);" (assignment_expression "uVar4 = *(uint *)(extraout_ECX + 0x48)" identifier = (pointer_expression "*(uint *)(extraout_ECX + 0x48)" * (cast_expression "(uint *)(extraout_ECX + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x48)" ( (binary_expression "extraout_ECX + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(extraout_ECX + 0x44);" (assignment_expression "uVar5 = *(uint *)(extraout_ECX + 0x44)" identifier = (pointer_expression "*(uint *)(extraout_ECX + 0x44)" * (cast_expression "(uint *)(extraout_ECX + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44)" ( (binary_expression "extraout_ECX + 0x44" identifier + number_literal) ))))) ;) (if_statement "if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }" if (parenthesized_expression "(uVar4 != 0 || uVar5 != 0)" ( (binary_expression "uVar4 != 0 || uVar5 != 0" (binary_expression "uVar4 != 0" identifier != number_literal) || (binary_expression "uVar5 != 0" identifier != number_literal)) )) (compound_statement "{\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }" { (expression_statement "dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);" (assignment_expression "dVar1 = (double)*(longlong *)(extraout_ECX + 0x44)" identifier = (cast_expression "(double)*(longlong *)(extraout_ECX + 0x44)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(longlong *)(extraout_ECX + 0x44)" * (cast_expression "(longlong *)(extraout_ECX + 0x44)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44)" ( (binary_expression "extraout_ECX + 0x44" identifier + number_literal) )))))) ;) (expression_statement "iVar6 = *(int *)(iVar11 + 0x24);" (assignment_expression "iVar6 = *(int *)(iVar11 + 0x24)" identifier = (pointer_expression "*(int *)(iVar11 + 0x24)" * (cast_expression "(int *)(iVar11 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x24)" ( (binary_expression "iVar11 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);" (assignment_expression "iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28)" identifier = (binary_expression "iVar6 * 0x50 + *(int *)(iVar11 + 0x28)" (binary_expression "iVar6 * 0x50" identifier * number_literal) + (pointer_expression "*(int *)(iVar11 + 0x28)" * (cast_expression "(int *)(iVar11 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x28)" ( (binary_expression "iVar11 + 0x28" identifier + number_literal) )))))) ;) (if_statement "if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" if (parenthesized_expression "(dVar1 < 0.0)" ( (binary_expression "dVar1 < 0.0" identifier < number_literal) )) (compound_statement "{\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }" { (expression_statement "dVar2 = -dVar1;" (assignment_expression "dVar2 = -dVar1" identifier = (unary_expression "-dVar1" - identifier)) ;) (expression_statement "dVar7 = -1.0;" (assignment_expression "dVar7 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" else (compound_statement "{\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" { (expression_statement "dVar7 = 1.0;" (assignment_expression "dVar7 = 1.0" identifier = number_literal) ;) (expression_statement "dVar2 = dVar1;" (assignment_expression "dVar2 = dVar1" identifier = identifier) ;) }))) (if_statement "if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" if (parenthesized_expression "(dVar2 < *(double *)(unaff_EDI + 0x17399f))" ( (binary_expression "dVar2 < *(double *)(unaff_EDI + 0x17399f)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) ))))) )) (compound_statement "{\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }" { (expression_statement "dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f)" identifier = (binary_expression "dVar7 / *(double *)(unaff_EDI + 0x17399f)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" else (compound_statement "{\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" { (expression_statement "dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;" (assignment_expression "dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1" identifier = (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar1" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" * (cast_expression "(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f7f)" ( (binary_expression "unaff_EDI + 0x173f7f" identifier + number_literal) ))))) / identifier)) ;) }))) (expression_statement "dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar10 = (double)*(float *)(unaff_EDI + 0x173f77)" identifier = (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" * (cast_expression "(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f77)" ( (binary_expression "unaff_EDI + 0x173f77" identifier + number_literal) )))))) ;) (expression_statement "dVar9 = dVar7 * dVar10;" (assignment_expression "dVar9 = dVar7 * dVar10" identifier = (binary_expression "dVar7 * dVar10" identifier * identifier)) ;) (expression_statement "dVar1 = *(double *)(extraout_ECX + 0x4c);" (assignment_expression "dVar1 = *(double *)(extraout_ECX + 0x4c)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x4c)" * (cast_expression "(double *)(extraout_ECX + 0x4c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x4c)" ( (binary_expression "extraout_ECX + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "dVar2 = *(double *)(extraout_ECX + 0x54);" (assignment_expression "dVar2 = *(double *)(extraout_ECX + 0x54)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x54)" * (cast_expression "(double *)(extraout_ECX + 0x54)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x54)" ( (binary_expression "extraout_ECX + 0x54" identifier + number_literal) ))))) ;) (expression_statement "dVar3 = *(double *)(extraout_ECX + 0x5c);" (assignment_expression "dVar3 = *(double *)(extraout_ECX + 0x5c)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x5c)" * (cast_expression "(double *)(extraout_ECX + 0x5c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x5c)" ( (binary_expression "extraout_ECX + 0x5c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x2f0) == 0)" ( (binary_expression "*(int *)(param_2 + 0x2f0) == 0" (pointer_expression "*(int *)(param_2 + 0x2f0)" * (cast_expression "(int *)(param_2 + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2f0)" ( (binary_expression "param_2 + 0x2f0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }" { (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x20)" * (cast_expression "(double *)(iVar12 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) )))) = (binary_expression "dVar1 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x28)" * (cast_expression "(double *)(iVar12 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) )))) = (binary_expression "dVar2 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x30)" * (cast_expression "(double *)(iVar12 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) )))) = (binary_expression "dVar3 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x40) = dVar10;" (assignment_expression "*(double *)(iVar12 + 0x40) = dVar10" (pointer_expression "*(double *)(iVar12 + 0x40)" * (cast_expression "(double *)(iVar12 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x40)" ( (binary_expression "iVar12 + 0x40" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" else (compound_statement "{\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" { (expression_statement "dVar8 = *(double *)(extraout_ECX + 100) * dVar9;" (assignment_expression "dVar8 = *(double *)(extraout_ECX + 100) * dVar9" identifier = (binary_expression "*(double *)(extraout_ECX + 100) * dVar9" (pointer_expression "*(double *)(extraout_ECX + 100)" * (cast_expression "(double *)(extraout_ECX + 100)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 100)" ( (binary_expression "extraout_ECX + 100" identifier + number_literal) )))) * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x40) = dVar8;" (assignment_expression "*(double *)(iVar12 + 0x40) = dVar8" (pointer_expression "*(double *)(iVar12 + 0x40)" * (cast_expression "(double *)(iVar12 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x40)" ( (binary_expression "iVar12 + 0x40" identifier + number_literal) )))) = identifier) ;) (if_statement "if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" if (parenthesized_expression "(dVar8 == dVar10)" ( (binary_expression "dVar8 == dVar10" identifier == identifier) )) (compound_statement "{\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }" { (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x20)" * (cast_expression "(double *)(iVar12 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) )))) = (binary_expression "dVar1 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x28)" * (cast_expression "(double *)(iVar12 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) )))) = (binary_expression "dVar2 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x30)" * (cast_expression "(double *)(iVar12 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) )))) = (binary_expression "dVar3 * dVar9" identifier * identifier)) ;) }) (else_clause "else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" else (compound_statement "{\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" { (expression_statement "dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);" (assignment_expression "dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af)" identifier = (binary_expression "dVar8 * *(double *)(unaff_EDI + 0x1739af)" identifier * (pointer_expression "*(double *)(unaff_EDI + 0x1739af)" * (cast_expression "(double *)(unaff_EDI + 0x1739af)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1739af)" ( (binary_expression "unaff_EDI + 0x1739af" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" if (parenthesized_expression "(dVar8 < 0.0)" ( (binary_expression "dVar8 < 0.0" identifier < number_literal) )) (compound_statement "{\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }" { (expression_statement "dVar9 = -dVar8;" (assignment_expression "dVar9 = -dVar8" identifier = (unary_expression "-dVar8" - identifier)) ;) (expression_statement "dVar10 = -1.0;" (assignment_expression "dVar10 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" else (compound_statement "{\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" { (expression_statement "dVar10 = 1.0;" (assignment_expression "dVar10 = 1.0" identifier = number_literal) ;) (expression_statement "dVar9 = dVar8;" (assignment_expression "dVar9 = dVar8" identifier = identifier) ;) }))) (if_statement "if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" if (parenthesized_expression "(dVar9 < *(double *)(unaff_EDI + 0x17399f))" ( (binary_expression "dVar9 < *(double *)(unaff_EDI + 0x17399f)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }" { (expression_statement "dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f)" identifier = (binary_expression "dVar10 / *(double *)(unaff_EDI + 0x17399f)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) )))))) ;) }) (else_clause "else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" else (compound_statement "{\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" { (expression_statement "dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;" (assignment_expression "dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8" identifier = (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar8" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" * (cast_expression "(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f7f)" ( (binary_expression "unaff_EDI + 0x173f7f" identifier + number_literal) ))))) / identifier)) ;) }))) (expression_statement "dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77)" identifier = (binary_expression "dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77)" (binary_expression "dVar8 * dVar7" identifier * identifier) * (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" * (cast_expression "(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f77)" ( (binary_expression "unaff_EDI + 0x173f77" identifier + number_literal) ))))))) ;) (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x20)" * (cast_expression "(double *)(iVar12 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) )))) = (binary_expression "dVar1 * dVar7" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x28)" * (cast_expression "(double *)(iVar12 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) )))) = (binary_expression "dVar2 * dVar7" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x30)" * (cast_expression "(double *)(iVar12 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) )))) = (binary_expression "dVar3 * dVar7" identifier * identifier)) ;) (if_statement "if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }" if (parenthesized_expression "((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5))))" ( (binary_expression "(*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))" (parenthesized_expression "(*(uint *)(param_2 + 0x14) <= uVar4)" ( (binary_expression "*(uint *)(param_2 + 0x14) <= uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) <= identifier) )) && (parenthesized_expression "((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))" ( (parenthesized_expression "(*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5))" ( (binary_expression "*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)" (binary_expression "*(uint *)(param_2 + 0x14) < uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) < identifier) || (parenthesized_expression "(*(uint *)(param_2 + 0x10) < uVar5)" ( (binary_expression "*(uint *)(param_2 + 0x10) < uVar5" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) < identifier) ))) )) ))) )) (compound_statement "{\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }" { (expression_statement "*(uint *)(param_2 + 0x10) = uVar5;" (assignment_expression "*(uint *)(param_2 + 0x10) = uVar5" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_2 + 0x14) = uVar4;" (assignment_expression "*(uint *)(param_2 + 0x14) = uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_2 + 0xc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0xc) = iVar6" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) })) }))) }))) (expression_statement "*(int *)(iVar11 + 0x24) = iVar6 + 1;" (assignment_expression "*(int *)(iVar11 + 0x24) = iVar6 + 1" (pointer_expression "*(int *)(iVar11 + 0x24)" * (cast_expression "(int *)(iVar11 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x24)" ( (binary_expression "iVar11 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(extraout_ECX + 0x74) = iVar6;" (assignment_expression "*(int *)(extraout_ECX + 0x74) = iVar6" (pointer_expression "*(int *)(extraout_ECX + 0x74)" * (cast_expression "(int *)(extraout_ECX + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x74)" ( (binary_expression "extraout_ECX + 0x74" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* 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\nvoid __regparm3\nDefineImageColormap(Image *image,CubeInfo_conflict *cube_info,NodeInfo_conflict *node_info)\n\n{\n  uint uVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  uint uVar5;\n  uint uVar6;\n  size_t sVar7;\n  PixelInfo *pPVar8;\n  int iVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  Image *image_00;\n  int extraout_ECX;\n  undefined4 *puVar14;\n  int unaff_EDI;\n  undefined8 uVar15;\n  \n  uVar15 = __x86_get_pc_thunk_di();\n  image_00 = (Image *)uVar15;\n  puVar14 = (undefined4 *)(extraout_ECX + 4);\n  iVar9 = *(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0);\n  do {\n    if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }\n    puVar14 = puVar14 + 1;\n  } while ((undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14);\n  uVar5 = *(uint *)(extraout_ECX + 0x48);\n  uVar6 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar5 != 0 || uVar6 != 0) {\n    dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);\n    sVar7 = image_00->colors;\n    pPVar8 = image_00->colormap;\n    if (dVar2 < 0.0) {\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }\n    else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }\n    if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }\n    dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar12 = dVar10 * dVar13;\n    dVar2 = *(double *)(extraout_ECX + 0x4c);\n    dVar3 = *(double *)(extraout_ECX + 0x54);\n    dVar4 = *(double *)(extraout_ECX + 0x5c);\n    if (cube_info->associate_alpha == MagickFalse) {\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }\n    else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }\n    image_00->colors = sVar7 + 1;\n    *(size_t *)(extraout_ECX + 0x74) = sVar7;\n  }\n  return;\n}\n\n" comment comment comment comment (function_definition "void __regparm3\nDefineImageColormap(Image *image,CubeInfo_conflict *cube_info,NodeInfo_conflict *node_info)\n\n{\n  uint uVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  uint uVar5;\n  uint uVar6;\n  size_t sVar7;\n  PixelInfo *pPVar8;\n  int iVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  Image *image_00;\n  int extraout_ECX;\n  undefined4 *puVar14;\n  int unaff_EDI;\n  undefined8 uVar15;\n  \n  uVar15 = __x86_get_pc_thunk_di();\n  image_00 = (Image *)uVar15;\n  puVar14 = (undefined4 *)(extraout_ECX + 4);\n  iVar9 = *(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0);\n  do {\n    if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }\n    puVar14 = puVar14 + 1;\n  } while ((undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14);\n  uVar5 = *(uint *)(extraout_ECX + 0x48);\n  uVar6 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar5 != 0 || uVar6 != 0) {\n    dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);\n    sVar7 = image_00->colors;\n    pPVar8 = image_00->colormap;\n    if (dVar2 < 0.0) {\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }\n    else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }\n    if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }\n    dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar12 = dVar10 * dVar13;\n    dVar2 = *(double *)(extraout_ECX + 0x4c);\n    dVar3 = *(double *)(extraout_ECX + 0x54);\n    dVar4 = *(double *)(extraout_ECX + 0x5c);\n    if (cube_info->associate_alpha == MagickFalse) {\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }\n    else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }\n    image_00->colors = sVar7 + 1;\n    *(size_t *)(extraout_ECX + 0x74) = sVar7;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "DefineImageColormap(Image *image,CubeInfo_conflict *cube_info,NodeInfo_conflict *node_info)" identifier (parameter_list "(Image *image,CubeInfo_conflict *cube_info,NodeInfo_conflict *node_info)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "CubeInfo_conflict *cube_info" type_identifier (pointer_declarator "*cube_info" * identifier)) , (parameter_declaration "NodeInfo_conflict *node_info" type_identifier (pointer_declarator "*node_info" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  uint uVar5;\n  uint uVar6;\n  size_t sVar7;\n  PixelInfo *pPVar8;\n  int iVar9;\n  double dVar10;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  Image *image_00;\n  int extraout_ECX;\n  undefined4 *puVar14;\n  int unaff_EDI;\n  undefined8 uVar15;\n  \n  uVar15 = __x86_get_pc_thunk_di();\n  image_00 = (Image *)uVar15;\n  puVar14 = (undefined4 *)(extraout_ECX + 4);\n  iVar9 = *(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0);\n  do {\n    if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }\n    puVar14 = puVar14 + 1;\n  } while ((undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14);\n  uVar5 = *(uint *)(extraout_ECX + 0x48);\n  uVar6 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar5 != 0 || uVar6 != 0) {\n    dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);\n    sVar7 = image_00->colors;\n    pPVar8 = image_00->colormap;\n    if (dVar2 < 0.0) {\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }\n    else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }\n    if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }\n    dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar12 = dVar10 * dVar13;\n    dVar2 = *(double *)(extraout_ECX + 0x4c);\n    dVar3 = *(double *)(extraout_ECX + 0x54);\n    dVar4 = *(double *)(extraout_ECX + 0x5c);\n    if (cube_info->associate_alpha == MagickFalse) {\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }\n    else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }\n    image_00->colors = sVar7 + 1;\n    *(size_t *)(extraout_ECX + 0x74) = sVar7;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "PixelInfo *pPVar8;" type_identifier (pointer_declarator "*pPVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (declaration "Image *image_00;" type_identifier (pointer_declarator "*image_00" * identifier) ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (expression_statement "uVar15 = __x86_get_pc_thunk_di();" (assignment_expression "uVar15 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "image_00 = (Image *)uVar15;" (assignment_expression "image_00 = (Image *)uVar15" identifier = (cast_expression "(Image *)uVar15" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar14 = (undefined4 *)(extraout_ECX + 4);" (assignment_expression "puVar14 = (undefined4 *)(extraout_ECX + 4)" identifier = (cast_expression "(undefined4 *)(extraout_ECX + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 4)" ( (binary_expression "extraout_ECX + 4" identifier + number_literal) )))) ;) (expression_statement "iVar9 = *(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0);" (assignment_expression "iVar9 = *(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0)" identifier = (pointer_expression "*(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0)" * (cast_expression "(int *)((int)((ulonglong)uVar15 >> 0x20) + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)((ulonglong)uVar15 >> 0x20) + 0x2f0)" ( (binary_expression "(int)((ulonglong)uVar15 >> 0x20) + 0x2f0" (cast_expression "(int)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + number_literal) ))))) ;) (do_statement "do {\n    if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }\n    puVar14 = puVar14 + 1;\n  } while ((undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14);" do (compound_statement "{\n    if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }\n    puVar14 = puVar14 + 1;\n  }" { (if_statement "if ((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0) {\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }" if (parenthesized_expression "((NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0)" ( (binary_expression "(NodeInfo_conflict *)*puVar14 != (NodeInfo_conflict *)0x0" (cast_expression "(NodeInfo_conflict *)*puVar14" ( (type_descriptor "NodeInfo_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar14" * identifier)) != (cast_expression "(NodeInfo_conflict *)0x0" ( (type_descriptor "NodeInfo_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);\n    }" { (expression_statement "DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14);" (call_expression "DefineImageColormap(image_00,cube_info,(NodeInfo_conflict *)*puVar14)" identifier (argument_list "(image_00,cube_info,(NodeInfo_conflict *)*puVar14)" ( identifier , identifier , (cast_expression "(NodeInfo_conflict *)*puVar14" ( (type_descriptor "NodeInfo_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar14" * identifier)) ))) ;) })) (expression_statement "puVar14 = puVar14 + 1;" (assignment_expression "puVar14 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14)" ( (binary_expression "(undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4) != puVar14" (cast_expression "(undefined4 *)(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4)" ( (binary_expression "extraout_ECX + 0x44 + (-(uint)(iVar9 == 0) & 0xfffffff8) * 4" (binary_expression "extraout_ECX + 0x44" identifier + number_literal) + (binary_expression "(-(uint)(iVar9 == 0) & 0xfffffff8) * 4" (parenthesized_expression "(-(uint)(iVar9 == 0) & 0xfffffff8)" ( (binary_expression "-(uint)(iVar9 == 0) & 0xfffffff8" (unary_expression "-(uint)(iVar9 == 0)" - (call_expression "(uint)(iVar9 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )))) & number_literal) )) * number_literal)) ))) != identifier) )) ;) (expression_statement "uVar5 = *(uint *)(extraout_ECX + 0x48);" (assignment_expression "uVar5 = *(uint *)(extraout_ECX + 0x48)" identifier = (pointer_expression "*(uint *)(extraout_ECX + 0x48)" * (cast_expression "(uint *)(extraout_ECX + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x48)" ( (binary_expression "extraout_ECX + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(extraout_ECX + 0x44);" (assignment_expression "uVar6 = *(uint *)(extraout_ECX + 0x44)" identifier = (pointer_expression "*(uint *)(extraout_ECX + 0x44)" * (cast_expression "(uint *)(extraout_ECX + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44)" ( (binary_expression "extraout_ECX + 0x44" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 != 0 || uVar6 != 0) {\n    dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);\n    sVar7 = image_00->colors;\n    pPVar8 = image_00->colormap;\n    if (dVar2 < 0.0) {\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }\n    else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }\n    if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }\n    dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar12 = dVar10 * dVar13;\n    dVar2 = *(double *)(extraout_ECX + 0x4c);\n    dVar3 = *(double *)(extraout_ECX + 0x54);\n    dVar4 = *(double *)(extraout_ECX + 0x5c);\n    if (cube_info->associate_alpha == MagickFalse) {\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }\n    else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }\n    image_00->colors = sVar7 + 1;\n    *(size_t *)(extraout_ECX + 0x74) = sVar7;\n  }" if (parenthesized_expression "(uVar5 != 0 || uVar6 != 0)" ( (binary_expression "uVar5 != 0 || uVar6 != 0" (binary_expression "uVar5 != 0" identifier != number_literal) || (binary_expression "uVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n    dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);\n    sVar7 = image_00->colors;\n    pPVar8 = image_00->colormap;\n    if (dVar2 < 0.0) {\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }\n    else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }\n    if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }\n    dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar12 = dVar10 * dVar13;\n    dVar2 = *(double *)(extraout_ECX + 0x4c);\n    dVar3 = *(double *)(extraout_ECX + 0x54);\n    dVar4 = *(double *)(extraout_ECX + 0x5c);\n    if (cube_info->associate_alpha == MagickFalse) {\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }\n    else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }\n    image_00->colors = sVar7 + 1;\n    *(size_t *)(extraout_ECX + 0x74) = sVar7;\n  }" { (expression_statement "dVar2 = (double)*(longlong *)(extraout_ECX + 0x44);" (assignment_expression "dVar2 = (double)*(longlong *)(extraout_ECX + 0x44)" identifier = (cast_expression "(double)*(longlong *)(extraout_ECX + 0x44)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(longlong *)(extraout_ECX + 0x44)" * (cast_expression "(longlong *)(extraout_ECX + 0x44)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44)" ( (binary_expression "extraout_ECX + 0x44" identifier + number_literal) )))))) ;) (expression_statement "sVar7 = image_00->colors;" (assignment_expression "sVar7 = image_00->colors" identifier = (field_expression "image_00->colors" identifier -> field_identifier)) ;) (expression_statement "pPVar8 = image_00->colormap;" (assignment_expression "pPVar8 = image_00->colormap" identifier = (field_expression "image_00->colormap" identifier -> field_identifier)) ;) (if_statement "if (dVar2 < 0.0) {\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }\n    else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }" if (parenthesized_expression "(dVar2 < 0.0)" ( (binary_expression "dVar2 < 0.0" identifier < number_literal) )) (compound_statement "{\n      dVar3 = -dVar2;\n      dVar10 = -1.0;\n    }" { (expression_statement "dVar3 = -dVar2;" (assignment_expression "dVar3 = -dVar2" identifier = (unary_expression "-dVar2" - identifier)) ;) (expression_statement "dVar10 = -1.0;" (assignment_expression "dVar10 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }" else (compound_statement "{\n      dVar10 = 1.0;\n      dVar3 = dVar2;\n    }" { (expression_statement "dVar10 = 1.0;" (assignment_expression "dVar10 = 1.0" identifier = number_literal) ;) (expression_statement "dVar3 = dVar2;" (assignment_expression "dVar3 = dVar2" identifier = identifier) ;) }))) (if_statement "if (dVar3 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }" if (parenthesized_expression "(dVar3 < *(double *)(unaff_EDI + 0x17399f))" ( (binary_expression "dVar3 < *(double *)(unaff_EDI + 0x17399f)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) ))))) )) (compound_statement "{\n      dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n    }" { (expression_statement "dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar10 = dVar10 / *(double *)(unaff_EDI + 0x17399f)" identifier = (binary_expression "dVar10 / *(double *)(unaff_EDI + 0x17399f)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }" else (compound_statement "{\n      dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;\n    }" { (expression_statement "dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2;" (assignment_expression "dVar10 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar2" identifier = (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar2" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" * (cast_expression "(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f7f)" ( (binary_expression "unaff_EDI + 0x173f7f" identifier + number_literal) ))))) / identifier)) ;) }))) (expression_statement "dVar13 = (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar13 = (double)*(float *)(unaff_EDI + 0x173f77)" identifier = (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" * (cast_expression "(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f77)" ( (binary_expression "unaff_EDI + 0x173f77" identifier + number_literal) )))))) ;) (expression_statement "dVar12 = dVar10 * dVar13;" (assignment_expression "dVar12 = dVar10 * dVar13" identifier = (binary_expression "dVar10 * dVar13" identifier * identifier)) ;) (expression_statement "dVar2 = *(double *)(extraout_ECX + 0x4c);" (assignment_expression "dVar2 = *(double *)(extraout_ECX + 0x4c)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x4c)" * (cast_expression "(double *)(extraout_ECX + 0x4c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x4c)" ( (binary_expression "extraout_ECX + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "dVar3 = *(double *)(extraout_ECX + 0x54);" (assignment_expression "dVar3 = *(double *)(extraout_ECX + 0x54)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x54)" * (cast_expression "(double *)(extraout_ECX + 0x54)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x54)" ( (binary_expression "extraout_ECX + 0x54" identifier + number_literal) ))))) ;) (expression_statement "dVar4 = *(double *)(extraout_ECX + 0x5c);" (assignment_expression "dVar4 = *(double *)(extraout_ECX + 0x5c)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x5c)" * (cast_expression "(double *)(extraout_ECX + 0x5c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x5c)" ( (binary_expression "extraout_ECX + 0x5c" identifier + number_literal) ))))) ;) (if_statement "if (cube_info->associate_alpha == MagickFalse) {\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }\n    else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }" if (parenthesized_expression "(cube_info->associate_alpha == MagickFalse)" ( (binary_expression "cube_info->associate_alpha == MagickFalse" (field_expression "cube_info->associate_alpha" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      pPVar8[sVar7].red = dVar2 * dVar12;\n      pPVar8[sVar7].green = dVar3 * dVar12;\n      pPVar8[sVar7].blue = dVar4 * dVar12;\n      pPVar8[sVar7].alpha = dVar13;\n    }" { (expression_statement "pPVar8[sVar7].red = dVar2 * dVar12;" (assignment_expression "pPVar8[sVar7].red = dVar2 * dVar12" (field_expression "pPVar8[sVar7].red" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar2 * dVar12" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].green = dVar3 * dVar12;" (assignment_expression "pPVar8[sVar7].green = dVar3 * dVar12" (field_expression "pPVar8[sVar7].green" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar3 * dVar12" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].blue = dVar4 * dVar12;" (assignment_expression "pPVar8[sVar7].blue = dVar4 * dVar12" (field_expression "pPVar8[sVar7].blue" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar4 * dVar12" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].alpha = dVar13;" (assignment_expression "pPVar8[sVar7].alpha = dVar13" (field_expression "pPVar8[sVar7].alpha" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = identifier) ;) }) (else_clause "else {\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }" else (compound_statement "{\n      dVar11 = *(double *)(extraout_ECX + 100) * dVar12;\n      pPVar8[sVar7].alpha = dVar11;\n      if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }\n    }" { (expression_statement "dVar11 = *(double *)(extraout_ECX + 100) * dVar12;" (assignment_expression "dVar11 = *(double *)(extraout_ECX + 100) * dVar12" identifier = (binary_expression "*(double *)(extraout_ECX + 100) * dVar12" (pointer_expression "*(double *)(extraout_ECX + 100)" * (cast_expression "(double *)(extraout_ECX + 100)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 100)" ( (binary_expression "extraout_ECX + 100" identifier + number_literal) )))) * identifier)) ;) (expression_statement "pPVar8[sVar7].alpha = dVar11;" (assignment_expression "pPVar8[sVar7].alpha = dVar11" (field_expression "pPVar8[sVar7].alpha" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = identifier) ;) (if_statement "if (dVar11 == dVar13) {\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }\n      else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }" if (parenthesized_expression "(dVar11 == dVar13)" ( (binary_expression "dVar11 == dVar13" identifier == identifier) )) (compound_statement "{\n        pPVar8[sVar7].red = dVar2 * dVar12;\n        pPVar8[sVar7].green = dVar3 * dVar12;\n        pPVar8[sVar7].blue = dVar4 * dVar12;\n      }" { (expression_statement "pPVar8[sVar7].red = dVar2 * dVar12;" (assignment_expression "pPVar8[sVar7].red = dVar2 * dVar12" (field_expression "pPVar8[sVar7].red" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar2 * dVar12" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].green = dVar3 * dVar12;" (assignment_expression "pPVar8[sVar7].green = dVar3 * dVar12" (field_expression "pPVar8[sVar7].green" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar3 * dVar12" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].blue = dVar4 * dVar12;" (assignment_expression "pPVar8[sVar7].blue = dVar4 * dVar12" (field_expression "pPVar8[sVar7].blue" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar4 * dVar12" identifier * identifier)) ;) }) (else_clause "else {\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }" else (compound_statement "{\n        dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }\n        if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }\n        dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);\n        pPVar8[sVar7].red = dVar2 * dVar10;\n        pPVar8[sVar7].green = dVar3 * dVar10;\n        pPVar8[sVar7].blue = dVar4 * dVar10;\n        uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);\n        if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }\n      }" { (expression_statement "dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af);" (assignment_expression "dVar11 = dVar11 * *(double *)(unaff_EDI + 0x1739af)" identifier = (binary_expression "dVar11 * *(double *)(unaff_EDI + 0x1739af)" identifier * (pointer_expression "*(double *)(unaff_EDI + 0x1739af)" * (cast_expression "(double *)(unaff_EDI + 0x1739af)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1739af)" ( (binary_expression "unaff_EDI + 0x1739af" identifier + number_literal) )))))) ;) (if_statement "if (dVar11 < 0.0) {\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }\n        else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }" if (parenthesized_expression "(dVar11 < 0.0)" ( (binary_expression "dVar11 < 0.0" identifier < number_literal) )) (compound_statement "{\n          dVar12 = -dVar11;\n          dVar13 = -1.0;\n        }" { (expression_statement "dVar12 = -dVar11;" (assignment_expression "dVar12 = -dVar11" identifier = (unary_expression "-dVar11" - identifier)) ;) (expression_statement "dVar13 = -1.0;" (assignment_expression "dVar13 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }" else (compound_statement "{\n          dVar13 = 1.0;\n          dVar12 = dVar11;\n        }" { (expression_statement "dVar13 = 1.0;" (assignment_expression "dVar13 = 1.0" identifier = number_literal) ;) (expression_statement "dVar12 = dVar11;" (assignment_expression "dVar12 = dVar11" identifier = identifier) ;) }))) (if_statement "if (dVar12 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }" if (parenthesized_expression "(dVar12 < *(double *)(unaff_EDI + 0x17399f))" ( (binary_expression "dVar12 < *(double *)(unaff_EDI + 0x17399f)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);\n        }" { (expression_statement "dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar11 = dVar13 / *(double *)(unaff_EDI + 0x17399f)" identifier = (binary_expression "dVar13 / *(double *)(unaff_EDI + 0x17399f)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) )))))) ;) }) (else_clause "else {\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }" else (compound_statement "{\n          dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;\n        }" { (expression_statement "dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11;" (assignment_expression "dVar11 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar11" identifier = (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar11" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" * (cast_expression "(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f7f)" ( (binary_expression "unaff_EDI + 0x173f7f" identifier + number_literal) ))))) / identifier)) ;) }))) (expression_statement "dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar10 = dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77)" identifier = (binary_expression "dVar11 * dVar10 * (double)*(float *)(unaff_EDI + 0x173f77)" (binary_expression "dVar11 * dVar10" identifier * identifier) * (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" * (cast_expression "(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f77)" ( (binary_expression "unaff_EDI + 0x173f77" identifier + number_literal) ))))))) ;) (expression_statement "pPVar8[sVar7].red = dVar2 * dVar10;" (assignment_expression "pPVar8[sVar7].red = dVar2 * dVar10" (field_expression "pPVar8[sVar7].red" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar2 * dVar10" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].green = dVar3 * dVar10;" (assignment_expression "pPVar8[sVar7].green = dVar3 * dVar10" (field_expression "pPVar8[sVar7].green" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar3 * dVar10" identifier * identifier)) ;) (expression_statement "pPVar8[sVar7].blue = dVar4 * dVar10;" (assignment_expression "pPVar8[sVar7].blue = dVar4 * dVar10" (field_expression "pPVar8[sVar7].blue" (subscript_expression "pPVar8[sVar7]" identifier [ identifier ]) . field_identifier) = (binary_expression "dVar4 * dVar10" identifier * identifier)) ;) (expression_statement "uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4);" (assignment_expression "uVar1 = *(uint *)((int)&cube_info->transparent_pixels + 4)" identifier = (pointer_expression "*(uint *)((int)&cube_info->transparent_pixels + 4)" * (cast_expression "(uint *)((int)&cube_info->transparent_pixels + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&cube_info->transparent_pixels + 4)" ( (binary_expression "(int)&cube_info->transparent_pixels + 4" (cast_expression "(int)&cube_info->transparent_pixels" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&cube_info->transparent_pixels" & (field_expression "cube_info->transparent_pixels" identifier -> field_identifier))) + number_literal) ))))) ;) (if_statement "if ((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))\n        {\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }" if (parenthesized_expression "((uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))))" ( (binary_expression "(uVar1 <= uVar5) && ((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6)))" (parenthesized_expression "(uVar1 <= uVar5)" ( (binary_expression "uVar1 <= uVar5" identifier <= identifier) )) && (parenthesized_expression "((uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6)))" ( (parenthesized_expression "(uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6))" ( (binary_expression "uVar1 < uVar5 || ((uint)cube_info->transparent_pixels < uVar6)" (binary_expression "uVar1 < uVar5" identifier < identifier) || (parenthesized_expression "((uint)cube_info->transparent_pixels < uVar6)" ( (binary_expression "(uint)cube_info->transparent_pixels < uVar6" (cast_expression "(uint)cube_info->transparent_pixels" ( (type_descriptor "uint" type_identifier) ) (field_expression "cube_info->transparent_pixels" identifier -> field_identifier)) < identifier) ))) )) ))) )) (compound_statement "{\n          *(uint *)&cube_info->transparent_pixels = uVar6;\n          *(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;\n          cube_info->transparent_index = sVar7;\n        }" { (expression_statement "*(uint *)&cube_info->transparent_pixels = uVar6;" (assignment_expression "*(uint *)&cube_info->transparent_pixels = uVar6" (pointer_expression "*(uint *)&cube_info->transparent_pixels" * (cast_expression "(uint *)&cube_info->transparent_pixels" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&cube_info->transparent_pixels" & (field_expression "cube_info->transparent_pixels" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5;" (assignment_expression "*(uint *)((int)&cube_info->transparent_pixels + 4) = uVar5" (pointer_expression "*(uint *)((int)&cube_info->transparent_pixels + 4)" * (cast_expression "(uint *)((int)&cube_info->transparent_pixels + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&cube_info->transparent_pixels + 4)" ( (binary_expression "(int)&cube_info->transparent_pixels + 4" (cast_expression "(int)&cube_info->transparent_pixels" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&cube_info->transparent_pixels" & (field_expression "cube_info->transparent_pixels" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "cube_info->transparent_index = sVar7;" (assignment_expression "cube_info->transparent_index = sVar7" (field_expression "cube_info->transparent_index" identifier -> field_identifier) = identifier) ;) })) }))) }))) (expression_statement "image_00->colors = sVar7 + 1;" (assignment_expression "image_00->colors = sVar7 + 1" (field_expression "image_00->colors" identifier -> field_identifier) = (binary_expression "sVar7 + 1" identifier + number_literal)) ;) (expression_statement "*(size_t *)(extraout_ECX + 0x74) = sVar7;" (assignment_expression "*(size_t *)(extraout_ECX + 0x74) = sVar7" (pointer_expression "*(size_t *)(extraout_ECX + 0x74)" * (cast_expression "(size_t *)(extraout_ECX + 0x74)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x74)" ( (binary_expression "extraout_ECX + 0x74" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0012b790(undefined4 param_1,int param_2)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0012b790(undefined4 param_1,int param_2)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0012b790(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar14;" type_identifier identifier ;) (expression_statement "uVar14 = FUN_0004c803();" (assignment_expression "uVar14 = FUN_0004c803()" identifier = (call_expression "FUN_0004c803()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar11 = (int)uVar14;" (assignment_expression "iVar11 = (int)uVar14" identifier = (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar13 = (int *)(extraout_ECX + 4);" (assignment_expression "piVar13 = (int *)(extraout_ECX + 4)" identifier = (cast_expression "(int *)(extraout_ECX + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 4)" ( (binary_expression "extraout_ECX + 4" identifier + number_literal) )))) ;) (expression_statement "iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);" (assignment_expression "iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" identifier = (pointer_expression "*(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" * (cast_expression "(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" ( (binary_expression "(int)((ulonglong)uVar14 >> 0x20) + 0x2f0" (cast_expression "(int)((ulonglong)uVar14 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar14 >> 0x20)" ( (binary_expression "(ulonglong)uVar14 >> 0x20" (cast_expression "(ulonglong)uVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + number_literal) ))))) ;) (do_statement "do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);" do (compound_statement "{\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  }" { (if_statement "if (*piVar13 != 0) {\n      FUN_0012b790();\n    }" if (parenthesized_expression "(*piVar13 != 0)" ( (binary_expression "*piVar13 != 0" (pointer_expression "*piVar13" * identifier) != number_literal) )) (compound_statement "{\n      FUN_0012b790();\n    }" { (expression_statement "FUN_0012b790();" (call_expression "FUN_0012b790()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar13 = piVar13 + 1;" (assignment_expression "piVar13 = piVar13 + 1" identifier = (binary_expression "piVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13)" ( (binary_expression "(int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13" (cast_expression "(int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4)" ( (binary_expression "extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4" (binary_expression "extraout_ECX + 0x44" identifier + number_literal) + (binary_expression "(-(uint)(iVar6 == 0) & 0xfffffff8) * 4" (parenthesized_expression "(-(uint)(iVar6 == 0) & 0xfffffff8)" ( (binary_expression "-(uint)(iVar6 == 0) & 0xfffffff8" (unary_expression "-(uint)(iVar6 == 0)" - (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )))) & number_literal) )) * number_literal)) ))) != identifier) )) ;) (expression_statement "uVar4 = *(uint *)(extraout_ECX + 0x48);" (assignment_expression "uVar4 = *(uint *)(extraout_ECX + 0x48)" identifier = (pointer_expression "*(uint *)(extraout_ECX + 0x48)" * (cast_expression "(uint *)(extraout_ECX + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x48)" ( (binary_expression "extraout_ECX + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(extraout_ECX + 0x44);" (assignment_expression "uVar5 = *(uint *)(extraout_ECX + 0x44)" identifier = (pointer_expression "*(uint *)(extraout_ECX + 0x44)" * (cast_expression "(uint *)(extraout_ECX + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44)" ( (binary_expression "extraout_ECX + 0x44" identifier + number_literal) ))))) ;) (if_statement "if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }" if (parenthesized_expression "(uVar4 != 0 || uVar5 != 0)" ( (binary_expression "uVar4 != 0 || uVar5 != 0" (binary_expression "uVar4 != 0" identifier != number_literal) || (binary_expression "uVar5 != 0" identifier != number_literal)) )) (compound_statement "{\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }" { (expression_statement "dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);" (assignment_expression "dVar1 = (double)*(longlong *)(extraout_ECX + 0x44)" identifier = (cast_expression "(double)*(longlong *)(extraout_ECX + 0x44)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(longlong *)(extraout_ECX + 0x44)" * (cast_expression "(longlong *)(extraout_ECX + 0x44)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x44)" ( (binary_expression "extraout_ECX + 0x44" identifier + number_literal) )))))) ;) (expression_statement "iVar6 = *(int *)(iVar11 + 0x24);" (assignment_expression "iVar6 = *(int *)(iVar11 + 0x24)" identifier = (pointer_expression "*(int *)(iVar11 + 0x24)" * (cast_expression "(int *)(iVar11 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x24)" ( (binary_expression "iVar11 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);" (assignment_expression "iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28)" identifier = (binary_expression "iVar6 * 0x50 + *(int *)(iVar11 + 0x28)" (binary_expression "iVar6 * 0x50" identifier * number_literal) + (pointer_expression "*(int *)(iVar11 + 0x28)" * (cast_expression "(int *)(iVar11 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x28)" ( (binary_expression "iVar11 + 0x28" identifier + number_literal) )))))) ;) (if_statement "if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" if (parenthesized_expression "(dVar1 < 0.0)" ( (binary_expression "dVar1 < 0.0" identifier < number_literal) )) (compound_statement "{\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }" { (expression_statement "dVar2 = -dVar1;" (assignment_expression "dVar2 = -dVar1" identifier = (unary_expression "-dVar1" - identifier)) ;) (expression_statement "dVar7 = -1.0;" (assignment_expression "dVar7 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" else (compound_statement "{\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" { (expression_statement "dVar7 = 1.0;" (assignment_expression "dVar7 = 1.0" identifier = number_literal) ;) (expression_statement "dVar2 = dVar1;" (assignment_expression "dVar2 = dVar1" identifier = identifier) ;) }))) (if_statement "if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" if (parenthesized_expression "(dVar2 < *(double *)(unaff_EDI + 0x17399f))" ( (binary_expression "dVar2 < *(double *)(unaff_EDI + 0x17399f)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) ))))) )) (compound_statement "{\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }" { (expression_statement "dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f)" identifier = (binary_expression "dVar7 / *(double *)(unaff_EDI + 0x17399f)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" else (compound_statement "{\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" { (expression_statement "dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;" (assignment_expression "dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1" identifier = (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar1" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" * (cast_expression "(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f7f)" ( (binary_expression "unaff_EDI + 0x173f7f" identifier + number_literal) ))))) / identifier)) ;) }))) (expression_statement "dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar10 = (double)*(float *)(unaff_EDI + 0x173f77)" identifier = (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" * (cast_expression "(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f77)" ( (binary_expression "unaff_EDI + 0x173f77" identifier + number_literal) )))))) ;) (expression_statement "dVar9 = dVar7 * dVar10;" (assignment_expression "dVar9 = dVar7 * dVar10" identifier = (binary_expression "dVar7 * dVar10" identifier * identifier)) ;) (expression_statement "dVar1 = *(double *)(extraout_ECX + 0x4c);" (assignment_expression "dVar1 = *(double *)(extraout_ECX + 0x4c)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x4c)" * (cast_expression "(double *)(extraout_ECX + 0x4c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x4c)" ( (binary_expression "extraout_ECX + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "dVar2 = *(double *)(extraout_ECX + 0x54);" (assignment_expression "dVar2 = *(double *)(extraout_ECX + 0x54)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x54)" * (cast_expression "(double *)(extraout_ECX + 0x54)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x54)" ( (binary_expression "extraout_ECX + 0x54" identifier + number_literal) ))))) ;) (expression_statement "dVar3 = *(double *)(extraout_ECX + 0x5c);" (assignment_expression "dVar3 = *(double *)(extraout_ECX + 0x5c)" identifier = (pointer_expression "*(double *)(extraout_ECX + 0x5c)" * (cast_expression "(double *)(extraout_ECX + 0x5c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x5c)" ( (binary_expression "extraout_ECX + 0x5c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x2f0) == 0)" ( (binary_expression "*(int *)(param_2 + 0x2f0) == 0" (pointer_expression "*(int *)(param_2 + 0x2f0)" * (cast_expression "(int *)(param_2 + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2f0)" ( (binary_expression "param_2 + 0x2f0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }" { (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x20)" * (cast_expression "(double *)(iVar12 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) )))) = (binary_expression "dVar1 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x28)" * (cast_expression "(double *)(iVar12 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) )))) = (binary_expression "dVar2 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x30)" * (cast_expression "(double *)(iVar12 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) )))) = (binary_expression "dVar3 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x40) = dVar10;" (assignment_expression "*(double *)(iVar12 + 0x40) = dVar10" (pointer_expression "*(double *)(iVar12 + 0x40)" * (cast_expression "(double *)(iVar12 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x40)" ( (binary_expression "iVar12 + 0x40" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" else (compound_statement "{\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" { (expression_statement "dVar8 = *(double *)(extraout_ECX + 100) * dVar9;" (assignment_expression "dVar8 = *(double *)(extraout_ECX + 100) * dVar9" identifier = (binary_expression "*(double *)(extraout_ECX + 100) * dVar9" (pointer_expression "*(double *)(extraout_ECX + 100)" * (cast_expression "(double *)(extraout_ECX + 100)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 100)" ( (binary_expression "extraout_ECX + 100" identifier + number_literal) )))) * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x40) = dVar8;" (assignment_expression "*(double *)(iVar12 + 0x40) = dVar8" (pointer_expression "*(double *)(iVar12 + 0x40)" * (cast_expression "(double *)(iVar12 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x40)" ( (binary_expression "iVar12 + 0x40" identifier + number_literal) )))) = identifier) ;) (if_statement "if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" if (parenthesized_expression "(dVar8 == dVar10)" ( (binary_expression "dVar8 == dVar10" identifier == identifier) )) (compound_statement "{\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }" { (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x20)" * (cast_expression "(double *)(iVar12 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) )))) = (binary_expression "dVar1 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x28)" * (cast_expression "(double *)(iVar12 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) )))) = (binary_expression "dVar2 * dVar9" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x30)" * (cast_expression "(double *)(iVar12 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) )))) = (binary_expression "dVar3 * dVar9" identifier * identifier)) ;) }) (else_clause "else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" else (compound_statement "{\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" { (expression_statement "dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);" (assignment_expression "dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af)" identifier = (binary_expression "dVar8 * *(double *)(unaff_EDI + 0x1739af)" identifier * (pointer_expression "*(double *)(unaff_EDI + 0x1739af)" * (cast_expression "(double *)(unaff_EDI + 0x1739af)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x1739af)" ( (binary_expression "unaff_EDI + 0x1739af" identifier + number_literal) )))))) ;) (if_statement "if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" if (parenthesized_expression "(dVar8 < 0.0)" ( (binary_expression "dVar8 < 0.0" identifier < number_literal) )) (compound_statement "{\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }" { (expression_statement "dVar9 = -dVar8;" (assignment_expression "dVar9 = -dVar8" identifier = (unary_expression "-dVar8" - identifier)) ;) (expression_statement "dVar10 = -1.0;" (assignment_expression "dVar10 = -1.0" identifier = number_literal) ;) }) (else_clause "else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" else (compound_statement "{\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" { (expression_statement "dVar10 = 1.0;" (assignment_expression "dVar10 = 1.0" identifier = number_literal) ;) (expression_statement "dVar9 = dVar8;" (assignment_expression "dVar9 = dVar8" identifier = identifier) ;) }))) (if_statement "if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" if (parenthesized_expression "(dVar9 < *(double *)(unaff_EDI + 0x17399f))" ( (binary_expression "dVar9 < *(double *)(unaff_EDI + 0x17399f)" identifier < (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) ))))) )) (compound_statement "{\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }" { (expression_statement "dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f)" identifier = (binary_expression "dVar10 / *(double *)(unaff_EDI + 0x17399f)" identifier / (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" * (cast_expression "(double *)(unaff_EDI + 0x17399f)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x17399f)" ( (binary_expression "unaff_EDI + 0x17399f" identifier + number_literal) )))))) ;) }) (else_clause "else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" else (compound_statement "{\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" { (expression_statement "dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;" (assignment_expression "dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8" identifier = (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar8" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" * (cast_expression "(float *)(unaff_EDI + 0x173f7f)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f7f)" ( (binary_expression "unaff_EDI + 0x173f7f" identifier + number_literal) ))))) / identifier)) ;) }))) (expression_statement "dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77)" identifier = (binary_expression "dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77)" (binary_expression "dVar8 * dVar7" identifier * identifier) * (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" * (cast_expression "(float *)(unaff_EDI + 0x173f77)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x173f77)" ( (binary_expression "unaff_EDI + 0x173f77" identifier + number_literal) ))))))) ;) (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x20)" * (cast_expression "(double *)(iVar12 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) )))) = (binary_expression "dVar1 * dVar7" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x28)" * (cast_expression "(double *)(iVar12 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) )))) = (binary_expression "dVar2 * dVar7" identifier * identifier)) ;) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x30)" * (cast_expression "(double *)(iVar12 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) )))) = (binary_expression "dVar3 * dVar7" identifier * identifier)) ;) (if_statement "if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }" if (parenthesized_expression "((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5))))" ( (binary_expression "(*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))" (parenthesized_expression "(*(uint *)(param_2 + 0x14) <= uVar4)" ( (binary_expression "*(uint *)(param_2 + 0x14) <= uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) <= identifier) )) && (parenthesized_expression "((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))" ( (parenthesized_expression "(*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5))" ( (binary_expression "*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)" (binary_expression "*(uint *)(param_2 + 0x14) < uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) < identifier) || (parenthesized_expression "(*(uint *)(param_2 + 0x10) < uVar5)" ( (binary_expression "*(uint *)(param_2 + 0x10) < uVar5" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) < identifier) ))) )) ))) )) (compound_statement "{\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }" { (expression_statement "*(uint *)(param_2 + 0x10) = uVar5;" (assignment_expression "*(uint *)(param_2 + 0x10) = uVar5" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_2 + 0x14) = uVar4;" (assignment_expression "*(uint *)(param_2 + 0x14) = uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_2 + 0xc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0xc) = iVar6" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) })) }))) }))) (expression_statement "*(int *)(iVar11 + 0x24) = iVar6 + 1;" (assignment_expression "*(int *)(iVar11 + 0x24) = iVar6 + 1" (pointer_expression "*(int *)(iVar11 + 0x24)" * (cast_expression "(int *)(iVar11 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x24)" ( (binary_expression "iVar11 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(extraout_ECX + 0x74) = iVar6;" (assignment_expression "*(int *)(extraout_ECX + 0x74) = iVar6" (pointer_expression "*(int *)(extraout_ECX + 0x74)" * (cast_expression "(int *)(extraout_ECX + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x74)" ( (binary_expression "extraout_ECX + 0x74" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) & LIT) )) * LIT)) ))) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) * (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) }))) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0012b790(undefined4 param_1,int param_2)\n\n{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0012b790(undefined4 param_1,int param_2)" (identifier "FUN_0012b790") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  double dVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  double dVar7;\n  double dVar8;\n  double dVar9;\n  double dVar10;\n  int iVar11;\n  int iVar12;\n  int extraout_ECX;\n  int *piVar13;\n  int unaff_EDI;\n  undefined8 uVar14;\n  \n  uVar14 = FUN_0004c803();\n  iVar11 = (int)uVar14;\n  piVar13 = (int *)(extraout_ECX + 4);\n  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);\n  do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);\n  uVar4 = *(uint *)(extraout_ECX + 0x48);\n  uVar5 = *(uint *)(extraout_ECX + 0x44);\n  if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "double dVar2;" (primitive_type "double") (identifier "dVar2") (; ";")) (declaration "double dVar3;" (primitive_type "double") (identifier "dVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "double dVar7;" (primitive_type "double") (identifier "dVar7") (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (declaration "double dVar9;" (primitive_type "double") (identifier "dVar9") (; ";")) (declaration "double dVar10;" (primitive_type "double") (identifier "dVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined8 uVar14;" (type_identifier "undefined8") (identifier "uVar14") (; ";")) (expression_statement "uVar14 = FUN_0004c803();" (assignment_expression "uVar14 = FUN_0004c803()" (identifier "uVar14") (= "=") (call_expression "FUN_0004c803()" (identifier "FUN_0004c803") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar11 = (int)uVar14;" (assignment_expression "iVar11 = (int)uVar14" (identifier "iVar11") (= "=") (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14"))) (; ";")) (expression_statement "piVar13 = (int *)(extraout_ECX + 4);" (assignment_expression "piVar13 = (int *)(extraout_ECX + 4)" (identifier "piVar13") (= "=") (cast_expression "(int *)(extraout_ECX + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 4)" (( "(") (binary_expression "extraout_ECX + 4" (identifier "extraout_ECX") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);" (assignment_expression "iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" (* "*") (cast_expression "(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)((ulonglong)uVar14 >> 0x20) + 0x2f0)" (( "(") (binary_expression "(int)((ulonglong)uVar14 >> 0x20) + 0x2f0" (cast_expression "(int)((ulonglong)uVar14 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar14 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar14 >> 0x20" (cast_expression "(ulonglong)uVar14" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar14")) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (number_literal "0x2f0")) () ")"))))) (; ";")) (do_statement "do {\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);" (do "do") (compound_statement "{\n    if (*piVar13 != 0) {\n      FUN_0012b790();\n    }\n    piVar13 = piVar13 + 1;\n  }" ({ "{") (if_statement "if (*piVar13 != 0) {\n      FUN_0012b790();\n    }" (if "if") (parenthesized_expression "(*piVar13 != 0)" (( "(") (binary_expression "*piVar13 != 0" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0012b790();\n    }" ({ "{") (expression_statement "FUN_0012b790();" (call_expression "FUN_0012b790()" (identifier "FUN_0012b790") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar13 = piVar13 + 1;" (assignment_expression "piVar13 = piVar13 + 1" (identifier "piVar13") (= "=") (binary_expression "piVar13 + 1" (identifier "piVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13)" (( "(") (binary_expression "(int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13" (cast_expression "(int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4)" (( "(") (binary_expression "extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4" (binary_expression "extraout_ECX + 0x44" (identifier "extraout_ECX") (+ "+") (number_literal "0x44")) (+ "+") (binary_expression "(-(uint)(iVar6 == 0) & 0xfffffff8) * 4" (parenthesized_expression "(-(uint)(iVar6 == 0) & 0xfffffff8)" (( "(") (binary_expression "-(uint)(iVar6 == 0) & 0xfffffff8" (unary_expression "-(uint)(iVar6 == 0)" (- "-") (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "0xfffffff8")) () ")")) (* "*") (number_literal "4"))) () ")"))) (!= "!=") (identifier "piVar13")) () ")")) (; ";")) (expression_statement "uVar4 = *(uint *)(extraout_ECX + 0x48);" (assignment_expression "uVar4 = *(uint *)(extraout_ECX + 0x48)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(extraout_ECX + 0x48)" (* "*") (cast_expression "(uint *)(extraout_ECX + 0x48)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x48)" (( "(") (binary_expression "extraout_ECX + 0x48" (identifier "extraout_ECX") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(extraout_ECX + 0x44);" (assignment_expression "uVar5 = *(uint *)(extraout_ECX + 0x44)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(extraout_ECX + 0x44)" (* "*") (cast_expression "(uint *)(extraout_ECX + 0x44)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x44)" (( "(") (binary_expression "extraout_ECX + 0x44" (identifier "extraout_ECX") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (if_statement "if (uVar4 != 0 || uVar5 != 0) {\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }" (if "if") (parenthesized_expression "(uVar4 != 0 || uVar5 != 0)" (( "(") (binary_expression "uVar4 != 0 || uVar5 != 0" (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);\n    iVar6 = *(int *)(iVar11 + 0x24);\n    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);\n    if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }\n    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }\n    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);\n    dVar9 = dVar7 * dVar10;\n    dVar1 = *(double *)(extraout_ECX + 0x4c);\n    dVar2 = *(double *)(extraout_ECX + 0x54);\n    dVar3 = *(double *)(extraout_ECX + 0x5c);\n    if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }\n    *(int *)(iVar11 + 0x24) = iVar6 + 1;\n    *(int *)(extraout_ECX + 0x74) = iVar6;\n  }" ({ "{") (expression_statement "dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);" (assignment_expression "dVar1 = (double)*(longlong *)(extraout_ECX + 0x44)" (identifier "dVar1") (= "=") (cast_expression "(double)*(longlong *)(extraout_ECX + 0x44)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(longlong *)(extraout_ECX + 0x44)" (* "*") (cast_expression "(longlong *)(extraout_ECX + 0x44)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x44)" (( "(") (binary_expression "extraout_ECX + 0x44" (identifier "extraout_ECX") (+ "+") (number_literal "0x44")) () ")")))))) (; ";")) (expression_statement "iVar6 = *(int *)(iVar11 + 0x24);" (assignment_expression "iVar6 = *(int *)(iVar11 + 0x24)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar11 + 0x24)" (* "*") (cast_expression "(int *)(iVar11 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x24)" (( "(") (binary_expression "iVar11 + 0x24" (identifier "iVar11") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);" (assignment_expression "iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28)" (identifier "iVar12") (= "=") (binary_expression "iVar6 * 0x50 + *(int *)(iVar11 + 0x28)" (binary_expression "iVar6 * 0x50" (identifier "iVar6") (* "*") (number_literal "0x50")) (+ "+") (pointer_expression "*(int *)(iVar11 + 0x28)" (* "*") (cast_expression "(int *)(iVar11 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x28)" (( "(") (binary_expression "iVar11 + 0x28" (identifier "iVar11") (+ "+") (number_literal "0x28")) () ")")))))) (; ";")) (if_statement "if (dVar1 < 0.0) {\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }\n    else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" (if "if") (parenthesized_expression "(dVar1 < 0.0)" (( "(") (binary_expression "dVar1 < 0.0" (identifier "dVar1") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n      dVar2 = -dVar1;\n      dVar7 = -1.0;\n    }" ({ "{") (expression_statement "dVar2 = -dVar1;" (assignment_expression "dVar2 = -dVar1" (identifier "dVar2") (= "=") (unary_expression "-dVar1" (- "-") (identifier "dVar1"))) (; ";")) (expression_statement "dVar7 = -1.0;" (assignment_expression "dVar7 = -1.0" (identifier "dVar7") (= "=") (number_literal "-1.0")) (; ";")) (} "}")) (else_clause "else {\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" (else "else") (compound_statement "{\n      dVar7 = 1.0;\n      dVar2 = dVar1;\n    }" ({ "{") (expression_statement "dVar7 = 1.0;" (assignment_expression "dVar7 = 1.0" (identifier "dVar7") (= "=") (number_literal "1.0")) (; ";")) (expression_statement "dVar2 = dVar1;" (assignment_expression "dVar2 = dVar1" (identifier "dVar2") (= "=") (identifier "dVar1")) (; ";")) (} "}")))) (if_statement "if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }\n    else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" (if "if") (parenthesized_expression "(dVar2 < *(double *)(unaff_EDI + 0x17399f))" (( "(") (binary_expression "dVar2 < *(double *)(unaff_EDI + 0x17399f)" (identifier "dVar2") (< "<") (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x17399f)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x17399f)" (( "(") (binary_expression "unaff_EDI + 0x17399f" (identifier "unaff_EDI") (+ "+") (number_literal "0x17399f")) () ")"))))) () ")")) (compound_statement "{\n      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);\n    }" ({ "{") (expression_statement "dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f)" (identifier "dVar7") (= "=") (binary_expression "dVar7 / *(double *)(unaff_EDI + 0x17399f)" (identifier "dVar7") (/ "/") (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x17399f)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x17399f)" (( "(") (binary_expression "unaff_EDI + 0x17399f" (identifier "unaff_EDI") (+ "+") (number_literal "0x17399f")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" (else "else") (compound_statement "{\n      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;\n    }" ({ "{") (expression_statement "dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;" (assignment_expression "dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1" (identifier "dVar7") (= "=") (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar1" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" (* "*") (cast_expression "(float *)(unaff_EDI + 0x173f7f)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x173f7f)" (( "(") (binary_expression "unaff_EDI + 0x173f7f" (identifier "unaff_EDI") (+ "+") (number_literal "0x173f7f")) () ")"))))) (/ "/") (identifier "dVar1"))) (; ";")) (} "}")))) (expression_statement "dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar10 = (double)*(float *)(unaff_EDI + 0x173f77)" (identifier "dVar10") (= "=") (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" (* "*") (cast_expression "(float *)(unaff_EDI + 0x173f77)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x173f77)" (( "(") (binary_expression "unaff_EDI + 0x173f77" (identifier "unaff_EDI") (+ "+") (number_literal "0x173f77")) () ")")))))) (; ";")) (expression_statement "dVar9 = dVar7 * dVar10;" (assignment_expression "dVar9 = dVar7 * dVar10" (identifier "dVar9") (= "=") (binary_expression "dVar7 * dVar10" (identifier "dVar7") (* "*") (identifier "dVar10"))) (; ";")) (expression_statement "dVar1 = *(double *)(extraout_ECX + 0x4c);" (assignment_expression "dVar1 = *(double *)(extraout_ECX + 0x4c)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(extraout_ECX + 0x4c)" (* "*") (cast_expression "(double *)(extraout_ECX + 0x4c)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x4c)" (( "(") (binary_expression "extraout_ECX + 0x4c" (identifier "extraout_ECX") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (expression_statement "dVar2 = *(double *)(extraout_ECX + 0x54);" (assignment_expression "dVar2 = *(double *)(extraout_ECX + 0x54)" (identifier "dVar2") (= "=") (pointer_expression "*(double *)(extraout_ECX + 0x54)" (* "*") (cast_expression "(double *)(extraout_ECX + 0x54)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x54)" (( "(") (binary_expression "extraout_ECX + 0x54" (identifier "extraout_ECX") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "dVar3 = *(double *)(extraout_ECX + 0x5c);" (assignment_expression "dVar3 = *(double *)(extraout_ECX + 0x5c)" (identifier "dVar3") (= "=") (pointer_expression "*(double *)(extraout_ECX + 0x5c)" (* "*") (cast_expression "(double *)(extraout_ECX + 0x5c)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x5c)" (( "(") (binary_expression "extraout_ECX + 0x5c" (identifier "extraout_ECX") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_2 + 0x2f0) == 0) {\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }\n    else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x2f0) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x2f0) == 0" (pointer_expression "*(int *)(param_2 + 0x2f0)" (* "*") (cast_expression "(int *)(param_2 + 0x2f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2f0)" (( "(") (binary_expression "param_2 + 0x2f0" (identifier "param_2") (+ "+") (number_literal "0x2f0")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar10;\n    }" ({ "{") (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x20)" (* "*") (cast_expression "(double *)(iVar12 + 0x20)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x20)" (( "(") (binary_expression "iVar12 + 0x20" (identifier "iVar12") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "dVar1 * dVar9" (identifier "dVar1") (* "*") (identifier "dVar9"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x28)" (* "*") (cast_expression "(double *)(iVar12 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x28)" (( "(") (binary_expression "iVar12 + 0x28" (identifier "iVar12") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "dVar2 * dVar9" (identifier "dVar2") (* "*") (identifier "dVar9"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x30)" (* "*") (cast_expression "(double *)(iVar12 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x30)" (( "(") (binary_expression "iVar12 + 0x30" (identifier "iVar12") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "dVar3 * dVar9" (identifier "dVar3") (* "*") (identifier "dVar9"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x40) = dVar10;" (assignment_expression "*(double *)(iVar12 + 0x40) = dVar10" (pointer_expression "*(double *)(iVar12 + 0x40)" (* "*") (cast_expression "(double *)(iVar12 + 0x40)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x40)" (( "(") (binary_expression "iVar12 + 0x40" (identifier "iVar12") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "dVar10")) (; ";")) (} "}")) (else_clause "else {\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" (else "else") (compound_statement "{\n      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;\n      *(double *)(iVar12 + 0x40) = dVar8;\n      if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }\n    }" ({ "{") (expression_statement "dVar8 = *(double *)(extraout_ECX + 100) * dVar9;" (assignment_expression "dVar8 = *(double *)(extraout_ECX + 100) * dVar9" (identifier "dVar8") (= "=") (binary_expression "*(double *)(extraout_ECX + 100) * dVar9" (pointer_expression "*(double *)(extraout_ECX + 100)" (* "*") (cast_expression "(double *)(extraout_ECX + 100)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 100)" (( "(") (binary_expression "extraout_ECX + 100" (identifier "extraout_ECX") (+ "+") (number_literal "100")) () ")")))) (* "*") (identifier "dVar9"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x40) = dVar8;" (assignment_expression "*(double *)(iVar12 + 0x40) = dVar8" (pointer_expression "*(double *)(iVar12 + 0x40)" (* "*") (cast_expression "(double *)(iVar12 + 0x40)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x40)" (( "(") (binary_expression "iVar12 + 0x40" (identifier "iVar12") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "dVar8")) (; ";")) (if_statement "if (dVar8 == dVar10) {\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }\n      else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" (if "if") (parenthesized_expression "(dVar8 == dVar10)" (( "(") (binary_expression "dVar8 == dVar10" (identifier "dVar8") (== "==") (identifier "dVar10")) () ")")) (compound_statement "{\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;\n      }" ({ "{") (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x20)" (* "*") (cast_expression "(double *)(iVar12 + 0x20)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x20)" (( "(") (binary_expression "iVar12 + 0x20" (identifier "iVar12") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "dVar1 * dVar9" (identifier "dVar1") (* "*") (identifier "dVar9"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x28)" (* "*") (cast_expression "(double *)(iVar12 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x28)" (( "(") (binary_expression "iVar12 + 0x28" (identifier "iVar12") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "dVar2 * dVar9" (identifier "dVar2") (* "*") (identifier "dVar9"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar9;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar9" (pointer_expression "*(double *)(iVar12 + 0x30)" (* "*") (cast_expression "(double *)(iVar12 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x30)" (( "(") (binary_expression "iVar12 + 0x30" (identifier "iVar12") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "dVar3 * dVar9" (identifier "dVar3") (* "*") (identifier "dVar9"))) (; ";")) (} "}")) (else_clause "else {\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" (else "else") (compound_statement "{\n        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);\n        if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }\n        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }\n        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);\n        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;\n        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;\n        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;\n        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }\n      }" ({ "{") (expression_statement "dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);" (assignment_expression "dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af)" (identifier "dVar8") (= "=") (binary_expression "dVar8 * *(double *)(unaff_EDI + 0x1739af)" (identifier "dVar8") (* "*") (pointer_expression "*(double *)(unaff_EDI + 0x1739af)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x1739af)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x1739af)" (( "(") (binary_expression "unaff_EDI + 0x1739af" (identifier "unaff_EDI") (+ "+") (number_literal "0x1739af")) () ")")))))) (; ";")) (if_statement "if (dVar8 < 0.0) {\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }\n        else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" (if "if") (parenthesized_expression "(dVar8 < 0.0)" (( "(") (binary_expression "dVar8 < 0.0" (identifier "dVar8") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n          dVar9 = -dVar8;\n          dVar10 = -1.0;\n        }" ({ "{") (expression_statement "dVar9 = -dVar8;" (assignment_expression "dVar9 = -dVar8" (identifier "dVar9") (= "=") (unary_expression "-dVar8" (- "-") (identifier "dVar8"))) (; ";")) (expression_statement "dVar10 = -1.0;" (assignment_expression "dVar10 = -1.0" (identifier "dVar10") (= "=") (number_literal "-1.0")) (; ";")) (} "}")) (else_clause "else {\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" (else "else") (compound_statement "{\n          dVar10 = 1.0;\n          dVar9 = dVar8;\n        }" ({ "{") (expression_statement "dVar10 = 1.0;" (assignment_expression "dVar10 = 1.0" (identifier "dVar10") (= "=") (number_literal "1.0")) (; ";")) (expression_statement "dVar9 = dVar8;" (assignment_expression "dVar9 = dVar8" (identifier "dVar9") (= "=") (identifier "dVar8")) (; ";")) (} "}")))) (if_statement "if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }\n        else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" (if "if") (parenthesized_expression "(dVar9 < *(double *)(unaff_EDI + 0x17399f))" (( "(") (binary_expression "dVar9 < *(double *)(unaff_EDI + 0x17399f)" (identifier "dVar9") (< "<") (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x17399f)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x17399f)" (( "(") (binary_expression "unaff_EDI + 0x17399f" (identifier "unaff_EDI") (+ "+") (number_literal "0x17399f")) () ")"))))) () ")")) (compound_statement "{\n          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);\n        }" ({ "{") (expression_statement "dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);" (assignment_expression "dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f)" (identifier "dVar8") (= "=") (binary_expression "dVar10 / *(double *)(unaff_EDI + 0x17399f)" (identifier "dVar10") (/ "/") (pointer_expression "*(double *)(unaff_EDI + 0x17399f)" (* "*") (cast_expression "(double *)(unaff_EDI + 0x17399f)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x17399f)" (( "(") (binary_expression "unaff_EDI + 0x17399f" (identifier "unaff_EDI") (+ "+") (number_literal "0x17399f")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" (else "else") (compound_statement "{\n          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;\n        }" ({ "{") (expression_statement "dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;" (assignment_expression "dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8" (identifier "dVar8") (= "=") (binary_expression "(double)*(float *)(unaff_EDI + 0x173f7f) / dVar8" (cast_expression "(double)*(float *)(unaff_EDI + 0x173f7f)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EDI + 0x173f7f)" (* "*") (cast_expression "(float *)(unaff_EDI + 0x173f7f)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x173f7f)" (( "(") (binary_expression "unaff_EDI + 0x173f7f" (identifier "unaff_EDI") (+ "+") (number_literal "0x173f7f")) () ")"))))) (/ "/") (identifier "dVar8"))) (; ";")) (} "}")))) (expression_statement "dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);" (assignment_expression "dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77)" (identifier "dVar7") (= "=") (binary_expression "dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77)" (binary_expression "dVar8 * dVar7" (identifier "dVar8") (* "*") (identifier "dVar7")) (* "*") (cast_expression "(double)*(float *)(unaff_EDI + 0x173f77)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(unaff_EDI + 0x173f77)" (* "*") (cast_expression "(float *)(unaff_EDI + 0x173f77)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x173f77)" (( "(") (binary_expression "unaff_EDI + 0x173f77" (identifier "unaff_EDI") (+ "+") (number_literal "0x173f77")) () ")"))))))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x20) = dVar1 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x20) = dVar1 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x20)" (* "*") (cast_expression "(double *)(iVar12 + 0x20)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x20)" (( "(") (binary_expression "iVar12 + 0x20" (identifier "iVar12") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "dVar1 * dVar7" (identifier "dVar1") (* "*") (identifier "dVar7"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x28) = dVar2 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x28) = dVar2 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x28)" (* "*") (cast_expression "(double *)(iVar12 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x28)" (( "(") (binary_expression "iVar12 + 0x28" (identifier "iVar12") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "dVar2 * dVar7" (identifier "dVar2") (* "*") (identifier "dVar7"))) (; ";")) (expression_statement "*(double *)(iVar12 + 0x30) = dVar3 * dVar7;" (assignment_expression "*(double *)(iVar12 + 0x30) = dVar3 * dVar7" (pointer_expression "*(double *)(iVar12 + 0x30)" (* "*") (cast_expression "(double *)(iVar12 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x30)" (( "(") (binary_expression "iVar12 + 0x30" (identifier "iVar12") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "dVar3 * dVar7" (identifier "dVar3") (* "*") (identifier "dVar7"))) (; ";")) (if_statement "if ((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }" (if "if") (parenthesized_expression "((*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5))))" (( "(") (binary_expression "(*(uint *)(param_2 + 0x14) <= uVar4) &&\n           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))" (parenthesized_expression "(*(uint *)(param_2 + 0x14) <= uVar4)" (( "(") (binary_expression "*(uint *)(param_2 + 0x14) <= uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" (* "*") (cast_expression "(uint *)(param_2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (<= "<=") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))" (( "(") (parenthesized_expression "(*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5))" (( "(") (binary_expression "*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)" (binary_expression "*(uint *)(param_2 + 0x14) < uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" (* "*") (cast_expression "(uint *)(param_2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (< "<") (identifier "uVar4")) (|| "||") (parenthesized_expression "(*(uint *)(param_2 + 0x10) < uVar5)" (( "(") (binary_expression "*(uint *)(param_2 + 0x10) < uVar5" (pointer_expression "*(uint *)(param_2 + 0x10)" (* "*") (cast_expression "(uint *)(param_2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (< "<") (identifier "uVar5")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          *(uint *)(param_2 + 0x10) = uVar5;\n          *(uint *)(param_2 + 0x14) = uVar4;\n          *(int *)(param_2 + 0xc) = iVar6;\n        }" ({ "{") (expression_statement "*(uint *)(param_2 + 0x10) = uVar5;" (assignment_expression "*(uint *)(param_2 + 0x10) = uVar5" (pointer_expression "*(uint *)(param_2 + 0x10)" (* "*") (cast_expression "(uint *)(param_2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(uint *)(param_2 + 0x14) = uVar4;" (assignment_expression "*(uint *)(param_2 + 0x14) = uVar4" (pointer_expression "*(uint *)(param_2 + 0x14)" (* "*") (cast_expression "(uint *)(param_2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(int *)(param_2 + 0xc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0xc) = iVar6" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "*(int *)(iVar11 + 0x24) = iVar6 + 1;" (assignment_expression "*(int *)(iVar11 + 0x24) = iVar6 + 1" (pointer_expression "*(int *)(iVar11 + 0x24)" (* "*") (cast_expression "(int *)(iVar11 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x24)" (( "(") (binary_expression "iVar11 + 0x24" (identifier "iVar11") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(extraout_ECX + 0x74) = iVar6;" (assignment_expression "*(int *)(extraout_ECX + 0x74) = iVar6" (pointer_expression "*(int *)(extraout_ECX + 0x74)" (* "*") (cast_expression "(int *)(extraout_ECX + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x74)" (( "(") (binary_expression "extraout_ECX + 0x74" (identifier "extraout_ECX") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* 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 */

void __regparm3
function_1(type_1 *image,type_2 *cube_info,type_3 *node_info)

{
  type_4 var_16;
  double var_7;
  double var_8;
  double var_14;
  type_4 var_5;
  type_4 var_6;
  size_t var_17;
  type_5 *pPVar8;
  int var_4;
  double var_10;
  double var_15;
  double var_13;
  double var_11;
  type_1 *image_00;
  int var_2;
  type_6 *var_3;
  int var_9;
  type_7 uVar15;
  
  uVar15 = var_1();
  image_00 = (type_1 *)uVar15;
  var_3 = (type_6 *)(var_2 + 4);
  var_4 = *(int *)((int)((type_8)uVar15 >> 0x20) + 0x2f0);
  do {
    if ((type_3 *)*var_3 != (type_3 *)0x0) {
      function_1(image_00,cube_info,(type_3 *)*var_3);
    }
    var_3 = var_3 + 1;
  } while ((type_6 *)(var_2 + 0x44 + (-(type_4)(var_4 == 0) & 0xfffffff8) * 4) != var_3);
  var_5 = *(type_4 *)(var_2 + 0x48);
  var_6 = *(type_4 *)(var_2 + 0x44);
  if (var_5 != 0 || var_6 != 0) {
    var_7 = (double)*(type_9 *)(var_2 + 0x44);
    var_17 = image_00->colors;
    pPVar8 = image_00->colormap;
    if (var_7 < 0.0) {
      var_8 = -var_7;
      var_10 = -1.0;
    }
    else {
      var_10 = 1.0;
      var_8 = var_7;
    }
    if (var_8 < *(double *)(var_9 + 0x17399f)) {
      var_10 = var_10 / *(double *)(var_9 + 0x17399f);
    }
    else {
      var_10 = (double)*(float *)(var_9 + 0x173f7f) / var_7;
    }
    var_11 = (double)*(float *)(var_9 + 0x173f77);
    var_13 = var_10 * var_11;
    var_7 = *(double *)(var_2 + 0x4c);
    var_8 = *(double *)(var_2 + 0x54);
    var_14 = *(double *)(var_2 + 0x5c);
    if (cube_info->associate_alpha == var_12) {
      pPVar8[var_17].red = var_7 * var_13;
      pPVar8[var_17].green = var_8 * var_13;
      pPVar8[var_17].blue = var_14 * var_13;
      pPVar8[var_17].alpha = var_11;
    }
    else {
      var_15 = *(double *)(var_2 + 100) * var_13;
      pPVar8[var_17].alpha = var_15;
      if (var_15 == var_11) {
        pPVar8[var_17].red = var_7 * var_13;
        pPVar8[var_17].green = var_8 * var_13;
        pPVar8[var_17].blue = var_14 * var_13;
      }
      else {
        var_15 = var_15 * *(double *)(var_9 + 0x1739af);
        if (var_15 < 0.0) {
          var_13 = -var_15;
          var_11 = -1.0;
        }
        else {
          var_11 = 1.0;
          var_13 = var_15;
        }
        if (var_13 < *(double *)(var_9 + 0x17399f)) {
          var_15 = var_11 / *(double *)(var_9 + 0x17399f);
        }
        else {
          var_15 = (double)*(float *)(var_9 + 0x173f7f) / var_15;
        }
        var_10 = var_15 * var_10 * (double)*(float *)(var_9 + 0x173f77);
        pPVar8[var_17].red = var_7 * var_10;
        pPVar8[var_17].green = var_8 * var_10;
        pPVar8[var_17].blue = var_14 * var_10;
        var_16 = *(type_4 *)((int)&cube_info->transparent_pixels + 4);
        if ((var_16 <= var_5) && ((var_16 < var_5 || ((type_4)cube_info->transparent_pixels < var_6))))
        {
          *(type_4 *)&cube_info->transparent_pixels = var_6;
          *(type_4 *)((int)&cube_info->transparent_pixels + 4) = var_5;
          cube_info->transparent_index = var_17;
        }
      }
    }
    image_00->colors = var_17 + 1;
    *(size_t *)(var_2 + 0x74) = var_17;
  }
  return;
}


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

void __regparm3 MASKED(undefined4 param_1,int param_2)

{
  double dVar1;
  double dVar2;
  double dVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  double dVar7;
  double dVar8;
  double dVar9;
  double dVar10;
  int iVar11;
  int iVar12;
  int extraout_ECX;
  int *piVar13;
  int unaff_EDI;
  undefined8 uVar14;
  
  uVar14 = FUN_0004c803();
  iVar11 = (int)uVar14;
  piVar13 = (int *)(extraout_ECX + 4);
  iVar6 = *(int *)((int)((ulonglong)uVar14 >> 0x20) + 0x2f0);
  do {
    if (*piVar13 != 0) {
      MASKED();
    }
    piVar13 = piVar13 + 1;
  } while ((int *)(extraout_ECX + 0x44 + (-(uint)(iVar6 == 0) & 0xfffffff8) * 4) != piVar13);
  uVar4 = *(uint *)(extraout_ECX + 0x48);
  uVar5 = *(uint *)(extraout_ECX + 0x44);
  if (uVar4 != 0 || uVar5 != 0) {
    dVar1 = (double)*(longlong *)(extraout_ECX + 0x44);
    iVar6 = *(int *)(iVar11 + 0x24);
    iVar12 = iVar6 * 0x50 + *(int *)(iVar11 + 0x28);
    if (dVar1 < 0.0) {
      dVar2 = -dVar1;
      dVar7 = -1.0;
    }
    else {
      dVar7 = 1.0;
      dVar2 = dVar1;
    }
    if (dVar2 < *(double *)(unaff_EDI + 0x17399f)) {
      dVar7 = dVar7 / *(double *)(unaff_EDI + 0x17399f);
    }
    else {
      dVar7 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar1;
    }
    dVar10 = (double)*(float *)(unaff_EDI + 0x173f77);
    dVar9 = dVar7 * dVar10;
    dVar1 = *(double *)(extraout_ECX + 0x4c);
    dVar2 = *(double *)(extraout_ECX + 0x54);
    dVar3 = *(double *)(extraout_ECX + 0x5c);
    if (*(int *)(param_2 + 0x2f0) == 0) {
      *(double *)(iVar12 + 0x20) = dVar1 * dVar9;
      *(double *)(iVar12 + 0x28) = dVar2 * dVar9;
      *(double *)(iVar12 + 0x30) = dVar3 * dVar9;
      *(double *)(iVar12 + 0x40) = dVar10;
    }
    else {
      dVar8 = *(double *)(extraout_ECX + 100) * dVar9;
      *(double *)(iVar12 + 0x40) = dVar8;
      if (dVar8 == dVar10) {
        *(double *)(iVar12 + 0x20) = dVar1 * dVar9;
        *(double *)(iVar12 + 0x28) = dVar2 * dVar9;
        *(double *)(iVar12 + 0x30) = dVar3 * dVar9;
      }
      else {
        dVar8 = dVar8 * *(double *)(unaff_EDI + 0x1739af);
        if (dVar8 < 0.0) {
          dVar9 = -dVar8;
          dVar10 = -1.0;
        }
        else {
          dVar10 = 1.0;
          dVar9 = dVar8;
        }
        if (dVar9 < *(double *)(unaff_EDI + 0x17399f)) {
          dVar8 = dVar10 / *(double *)(unaff_EDI + 0x17399f);
        }
        else {
          dVar8 = (double)*(float *)(unaff_EDI + 0x173f7f) / dVar8;
        }
        dVar7 = dVar8 * dVar7 * (double)*(float *)(unaff_EDI + 0x173f77);
        *(double *)(iVar12 + 0x20) = dVar1 * dVar7;
        *(double *)(iVar12 + 0x28) = dVar2 * dVar7;
        *(double *)(iVar12 + 0x30) = dVar3 * dVar7;
        if ((*(uint *)(param_2 + 0x14) <= uVar4) &&
           ((*(uint *)(param_2 + 0x14) < uVar4 || (*(uint *)(param_2 + 0x10) < uVar5)))) {
          *(uint *)(param_2 + 0x10) = uVar5;
          *(uint *)(param_2 + 0x14) = uVar4;
          *(int *)(param_2 + 0xc) = iVar6;
        }
      }
    }
    *(int *)(iVar11 + 0x24) = iVar6 + 1;
    *(int *)(extraout_ECX + 0x74) = iVar6;
  }
  return;
}

