
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

WandView * NewWandView(MagickWand *wand)

{
  undefined *puVar1;
  WandView *pWVar2;
  size_t sVar3;
  char *pcVar4;
  ExceptionInfo *pEVar5;
  CacheView *pCVar6;
  Image *pIVar7;
  PixelWand ***pppPVar8;
  MagickBooleanType MVar9;
  undefined4 uVar10;
  undefined4 *puVar11;
  undefined4 uVar12;
  double dVar13;
  
  if (wand == (MagickWand *)0x0) {
    pWVar2 = (WandView *)
             (*(code *)PTR___assert_fail_00178728)
                       (PTR_s_oint_00178034 + -0x1e74,
                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,
                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);
    return pWVar2;
  }
  if (wand->signature != 0xabacadab) {
    pWVar2 = (WandView *)
             (*(code *)PTR___assert_fail_00178728)
                       (PTR_s_oint_00178034 + -0x1e54,
                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,
                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);
    return pWVar2;
  }
  pWVar2 = (WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);
  if (pWVar2 == (WandView *)0x0) {
    uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();
    uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);
    (*(code *)PTR_ThrowMagickException_001782c4)
              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,
               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,
               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);
    (*(code *)PTR_CatchException_00178528)(uVar10);
    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);
    (*(code *)PTR_MagickWandTerminus_001787d8)();
    pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);
    return pWVar2;
  }
  (*(code *)PTR_memset_0017879c)(pWVar2,0,0x1034);
  sVar3 = (*(code *)PTR_AcquireWandId_00178484)();
  pWVar2->id = sVar3;
  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;
  dVar13 = (double)(int)sVar3;
  if ((int)sVar3 < 0) {
    dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);
  }
  (*(code *)PTR_FormatLocaleString_00178188)
            (pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,
             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13);
  pcVar4 = (char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);
  pWVar2->description = pcVar4;
  pWVar2->wand = wand;
  pEVar5 = (ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)();
  pCVar6 = (CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)
  ;
  pWVar2->view = pCVar6;
  pIVar7 = wand->images;
  sVar3 = pIVar7->columns;
  (pWVar2->extent).width = sVar3;
  (pWVar2->extent).height = pIVar7->rows;
  pppPVar8 = AcquirePixelsThreadSet(sVar3);
  pWVar2->pixel_wands = pppPVar8;
  pWVar2->exception = pEVar5;
  if (pppPVar8 != (PixelWand ***)0x0) {
    MVar9 = (*(code *)PTR_IsEventLogging_00178810)();
    pWVar2->debug = MVar9;
    pWVar2->signature = 0xabacadab;
    return pWVar2;
  }
  uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
  puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();
  uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);
  (*(code *)PTR_ThrowMagickException_001782c4)
            (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,
             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,
             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);
  (*(code *)PTR_CatchException_00178528)(uVar10);
  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);
  (*(code *)PTR_MagickWandTerminus_001787d8)();
  pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);
  return pWVar2;
}



int * NewWandView(int param_1)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  double dVar8;
  
  if (param_1 == 0) {
    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)
                              (PTR_s_oint_00178034 + -0x1e74,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);
    return piVar2;
  }
  if (*(int *)(param_1 + 0x101c) != -0x54535255) {
    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)
                              (PTR_s_oint_00178034 + -0x1e54,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);
    return piVar2;
  }
  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);
  if (piVar2 == (int *)0x0) {
    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();
    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);
    (*(code *)PTR_ThrowMagickException_001782c4)
              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,
               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,
               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);
    (*(code *)PTR_CatchException_00178528)(uVar5);
    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);
    (*(code *)PTR_MagickWandTerminus_001787d8)();
    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);
    return piVar2;
  }
  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);
  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();
  *piVar2 = iVar3;
  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;
  dVar8 = (double)iVar3;
  if (iVar3 < 0) {
    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);
  }
  (*(code *)PTR_FormatLocaleString_00178188)
            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,
             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);
  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);
  piVar2[0x401] = iVar3;
  piVar2[0x406] = param_1;
  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)
                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);
  piVar2[0x408] = iVar4;
  iVar4 = *(int *)(&DAT_00001004 + param_1);
  piVar2[0x402] = *(int *)(iVar4 + 0x18);
  piVar2[0x403] = *(int *)(iVar4 + 0x1c);
  iVar4 = FUN_00139204();
  piVar2[0x409] = iVar4;
  piVar2[0x40a] = iVar3;
  if (iVar4 != 0) {
    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();
    piVar2[0x40b] = iVar3;
    piVar2[0x40c] = -0x54535255;
    return piVar2;
  }
  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();
  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);
  (*(code *)PTR_ThrowMagickException_001782c4)
            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,
             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,
             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);
  (*(code *)PTR_CatchException_00178528)(uVar5);
  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);
  (*(code *)PTR_MagickWandTerminus_001787d8)();
  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);
  return piVar2;
}


lui gp,0x4
addiu gp,gp,0x52b8
addu gp,gp,t9
addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
sw s0,0x28(sp)
sw gp,0x20(sp)
beq a0,zero,0x0013aec8
_lui v0,0xabac
lw v1,0x101c(a0)
ori v0,v0,0xadab
bne v1,v0,0x0013aef0
_or s1,a0,zero
li a0,0x1034
lw t9,-0x772c(gp)
jalr t9
_nop
lw gp,0x20(sp)
beq v0,zero,0x0013af18
_or s0,v0,zero
li a2,0x1034
or a1,zero,zero
or a0,v0,zero
lw t9,-0x7864(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw t9,-0x7b7c(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x0(s0)
addiu a0,s0,0x4
mtc1 v0,f0
bltz v0,0x0013afe4
_cvt.d.W f0,f0
sdc1 f0,0x10(sp)
lw s2,-0x7fc8(gp)
addiu a3,s2,-0x1158
lw a2,-0x7fcc(gp)
addiu a2,a2,-0x5ce0
li a1,0x1000
lw t9,-0x7e78(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu a0,s2,-0x1158
lw t9,-0x7c54(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x1004(s0)
sw s1,0x1018(s0)
lw t9,-0x7d58(gp)
jalr t9
_nop
lw gp,0x20(sp)
or s2,v0,zero
lw v0,0x1018(s0)
or a1,s2,zero
lw a0,0x1004(v0)
lw t9,-0x7820(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x1020(s0)
lw v0,0x1004(s1)
lw a0,0x18(v0)
sw a0,0x1008(s0)
lw v0,0x1c(v0)
sw v0,0x100c(s0)
lw t9,-0x7fd0(gp)
addiu t9,t9,-0x6dfc
bal 0x00139204
_nop
lw gp,0x20(sp)
sw v0,0x1024(s0)
beq v0,zero,0x0013aff4
_sw s2,0x1028(s0)
lw t9,-0x77f0(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x102c(s0)
lui v0,0xabac
ori v0,v0,0xadab
sw v0,0x1030(s0)
or v0,s0,zero
lw ra,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x38
lw a3,-0x7fc8(gp)
addiu a3,a3,-0xfec
li a2,0x2f1
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x11e0
lw a0,-0x7fcc(gp)
addiu a0,a0,-0x1e74
lw t9,-0x78d8(gp)
jalr t9
_nop
lw a3,-0x7fc8(gp)
addiu a3,a3,-0xfec
li a2,0x2f2
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x11e0
lw a0,-0x7fcc(gp)
addiu a0,a0,-0x1e54
lw t9,-0x78d8(gp)
jalr t9
_nop
lw t9,-0x7d58(gp)
jalr t9
_nop
lw gp,0x20(sp)
or s0,v0,zero
lw t9,-0x769c(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw a0,0x0(v0)
lw t9,-0x7a28(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x1c(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,-0x35c
sw v0,0x18(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,-0x354
sw v0,0x14(sp)
li v0,0x2bc
sw v0,0x10(sp)
li a3,0x2f6
lw a2,-0x7fc8(gp)
addiu a2,a2,-0xff8
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x11e0
or a0,s0,zero
lw t9,-0x7d3c(gp)
jalr t9
_nop
lw gp,0x20(sp)
or a0,s0,zero
lw t9,-0x7ad8(gp)
jalr t9
_nop
lw gp,0x20(sp)
or a0,s0,zero
lw t9,-0x7ea4(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw t9,-0x7828(gp)
jalr t9
_nop
lw gp,0x20(sp)
li a0,0x1
lw t9,-0x7894(gp)
jalr t9
_nop
lw v0,-0x7fcc(gp)
ldc1 f2,-0x4570(v0)
b 0x0013ade0
_add.D f0,f0,f2
lw t9,-0x7d58(gp)
jalr t9
_nop
lw gp,0x20(sp)
or s0,v0,zero
lw t9,-0x769c(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw a0,0x0(v0)
lw t9,-0x7a28(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x1c(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,-0x35c
sw v0,0x18(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,-0x354
sw v0,0x14(sp)
li v0,0x2bc
sw v0,0x10(sp)
li a3,0x305
lw a2,-0x7fc8(gp)
addiu a2,a2,-0xff8
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x11e0
or a0,s0,zero
lw t9,-0x7d3c(gp)
jalr t9
_nop
lw gp,0x20(sp)
or a0,s0,zero
lw t9,-0x7ad8(gp)
jalr t9
_nop
lw gp,0x20(sp)
or a0,s0,zero
lw t9,-0x7ea4(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw t9,-0x7828(gp)
jalr t9
_nop
lw gp,0x20(sp)
li a0,0x1
lw t9,-0x7894(gp)
jalr t9
_nop
(translation_unit "int * NewWandView(int param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}\n\n" (function_definition "int * NewWandView(int param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}" primitive_type (pointer_declarator "* NewWandView(int param_1)" * (function_declarator "NewWandView(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" identifier = (cast_expression "(int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e74" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" identifier + number_literal) ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" identifier = (cast_expression "(int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e54" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" identifier + number_literal) ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" identifier = (cast_expression "(int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" (parenthesized_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)" ( (pointer_expression "*(code *)PTR_AcquireMagickMemory_001788d4" * (cast_expression "(code *)PTR_AcquireMagickMemory_001788d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1034)" ( number_literal ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }" { (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" ( (pointer_expression "*(code *)PTR___errno_location_00178964" * (cast_expression "(code *)PTR___errno_location_00178964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" * (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" ( identifier , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + -0x354" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar5);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar5)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" ( (pointer_expression "*(code *)PTR_CatchException_00178528" * (cast_expression "(code *)PTR_CatchException_00178528" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" * (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" ( (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" * (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1)" identifier = (cast_expression "(int *)(*(code *)PTR__exit_0017876c)(1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" ( (pointer_expression "*(code *)PTR__exit_0017876c" * (cast_expression "(code *)PTR__exit_0017876c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);" (call_expression "(*(code *)PTR_memset_0017879c)(piVar2,0,0x1034)" (parenthesized_expression "(*(code *)PTR_memset_0017879c)" ( (pointer_expression "*(code *)PTR_memset_0017879c" * (cast_expression "(code *)PTR_memset_0017879c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2,0,0x1034)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireWandId_00178484)();" (assignment_expression "iVar3 = (*(code *)PTR_AcquireWandId_00178484)()" identifier = (call_expression "(*(code *)PTR_AcquireWandId_00178484)()" (parenthesized_expression "(*(code *)PTR_AcquireWandId_00178484)" ( (pointer_expression "*(code *)PTR_AcquireWandId_00178484" * (cast_expression "(code *)PTR_AcquireWandId_00178484" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = iVar3;" (assignment_expression "*piVar2 = iVar3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;" (assignment_expression "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038" identifier = identifier) ;) (expression_statement "dVar8 = (double)iVar3;" (assignment_expression "dVar8 = (double)iVar3" identifier = (cast_expression "(double)iVar3" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570)" identifier = (binary_expression "dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570)" identifier + (pointer_expression "*(double *)(PTR_s_oint_00178034 + -0x4570)" * (cast_expression "(double *)(PTR_s_oint_00178034 + -0x4570)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_oint_00178034 + -0x4570)" ( (binary_expression "PTR_s_oint_00178034 + -0x4570" identifier + number_literal) )))))) ;) })) (expression_statement "(*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);" (call_expression "(*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_00178188)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_00178188" * (cast_expression "(code *)PTR_FormatLocaleString_00178188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8)" ( (binary_expression "piVar2 + 1" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + -0x5ce0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);" (assignment_expression "iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" identifier = (call_expression "(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" (parenthesized_expression "(*(code *)PTR_ConstantString_001783ac)" ( (pointer_expression "*(code *)PTR_ConstantString_001783ac" * (cast_expression "(code *)PTR_ConstantString_001783ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + -0x1158)" ( (binary_expression "puVar1 + -0x1158" identifier + number_literal) )))) ;) (expression_statement "piVar2[0x401] = iVar3;" (assignment_expression "piVar2[0x401] = iVar3" (subscript_expression "piVar2[0x401]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[0x406] = param_1;" (assignment_expression "piVar2[0x406] = param_1" (subscript_expression "piVar2[0x406]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);" (assignment_expression "iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" identifier = (call_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)" ( (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_001787e0" * (cast_expression "(code *)PTR_AcquireVirtualCacheView_001787e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" ( (pointer_expression "*(undefined4 *)(&DAT_00001004 + piVar2[0x406])" * (cast_expression "(undefined4 *)(&DAT_00001004 + piVar2[0x406])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + piVar2[0x406])" ( (binary_expression "&DAT_00001004 + piVar2[0x406]" (pointer_expression "&DAT_00001004" & identifier) + (subscript_expression "piVar2[0x406]" identifier [ number_literal ])) )))) , identifier )))) ;) (expression_statement "piVar2[0x408] = iVar4;" (assignment_expression "piVar2[0x408] = iVar4" (subscript_expression "piVar2[0x408]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar4 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (expression_statement "piVar2[0x402] = *(int *)(iVar4 + 0x18);" (assignment_expression "piVar2[0x402] = *(int *)(iVar4 + 0x18)" (subscript_expression "piVar2[0x402]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "piVar2[0x403] = *(int *)(iVar4 + 0x1c);" (assignment_expression "piVar2[0x403] = *(int *)(iVar4 + 0x1c)" (subscript_expression "piVar2[0x403]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_00139204();" (assignment_expression "iVar4 = FUN_00139204()" identifier = (call_expression "FUN_00139204()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2[0x409] = iVar4;" (assignment_expression "piVar2[0x409] = iVar4" (subscript_expression "piVar2[0x409]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[0x40a] = iVar3;" (assignment_expression "piVar2[0x40a] = iVar3" (subscript_expression "piVar2[0x40a]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_IsEventLogging_00178810)();" (assignment_expression "iVar3 = (*(code *)PTR_IsEventLogging_00178810)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_00178810)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_00178810)" ( (pointer_expression "*(code *)PTR_IsEventLogging_00178810" * (cast_expression "(code *)PTR_IsEventLogging_00178810" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "piVar2[0x40b] = iVar3;" (assignment_expression "piVar2[0x40b] = iVar3" (subscript_expression "piVar2[0x40b]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[0x40c] = -0x54535255;" (assignment_expression "piVar2[0x40c] = -0x54535255" (subscript_expression "piVar2[0x40c]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" ( (pointer_expression "*(code *)PTR___errno_location_00178964" * (cast_expression "(code *)PTR___errno_location_00178964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" * (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" ( identifier , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + -0x354" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar5);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar5)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" ( (pointer_expression "*(code *)PTR_CatchException_00178528" * (cast_expression "(code *)PTR_CatchException_00178528" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" * (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" ( (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" * (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1)" identifier = (cast_expression "(int *)(*(code *)PTR__exit_0017876c)(1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" ( (pointer_expression "*(code *)PTR__exit_0017876c" * (cast_expression "(code *)PTR__exit_0017876c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return piVar2;" return identifier ;) })))
(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/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nWandView * NewWandView(MagickWand *wand)\n\n{\n  undefined *puVar1;\n  WandView *pWVar2;\n  size_t sVar3;\n  char *pcVar4;\n  ExceptionInfo *pEVar5;\n  CacheView *pCVar6;\n  Image *pIVar7;\n  PixelWand ***pppPVar8;\n  MagickBooleanType MVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  double dVar13;\n  \n  if (wand == (MagickWand *)0x0) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }\n  if (wand->signature != 0xabacadab) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }\n  pWVar2 = (WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (pWVar2 == (WandView *)0x0) {\n    uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n    (*(code *)PTR_CatchException_00178528)(uVar10);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n    return pWVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(pWVar2,0,0x1034);\n  sVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  pWVar2->id = sVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar13 = (double)(int)sVar3;\n  if ((int)sVar3 < 0) {\n    dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13);\n  pcVar4 = (char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  pWVar2->description = pcVar4;\n  pWVar2->wand = wand;\n  pEVar5 = (ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  pCVar6 = (CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)\n  ;\n  pWVar2->view = pCVar6;\n  pIVar7 = wand->images;\n  sVar3 = pIVar7->columns;\n  (pWVar2->extent).width = sVar3;\n  (pWVar2->extent).height = pIVar7->rows;\n  pppPVar8 = AcquirePixelsThreadSet(sVar3);\n  pWVar2->pixel_wands = pppPVar8;\n  pWVar2->exception = pEVar5;\n  if (pppPVar8 != (PixelWand ***)0x0) {\n    MVar9 = (*(code *)PTR_IsEventLogging_00178810)();\n    pWVar2->debug = MVar9;\n    pWVar2->signature = 0xabacadab;\n    return pWVar2;\n  }\n  uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n  (*(code *)PTR_CatchException_00178528)(uVar10);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n  return pWVar2;\n}\n\n" comment comment comment comment comment (function_definition "WandView * NewWandView(MagickWand *wand)\n\n{\n  undefined *puVar1;\n  WandView *pWVar2;\n  size_t sVar3;\n  char *pcVar4;\n  ExceptionInfo *pEVar5;\n  CacheView *pCVar6;\n  Image *pIVar7;\n  PixelWand ***pppPVar8;\n  MagickBooleanType MVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  double dVar13;\n  \n  if (wand == (MagickWand *)0x0) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }\n  if (wand->signature != 0xabacadab) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }\n  pWVar2 = (WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (pWVar2 == (WandView *)0x0) {\n    uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n    (*(code *)PTR_CatchException_00178528)(uVar10);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n    return pWVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(pWVar2,0,0x1034);\n  sVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  pWVar2->id = sVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar13 = (double)(int)sVar3;\n  if ((int)sVar3 < 0) {\n    dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13);\n  pcVar4 = (char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  pWVar2->description = pcVar4;\n  pWVar2->wand = wand;\n  pEVar5 = (ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  pCVar6 = (CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)\n  ;\n  pWVar2->view = pCVar6;\n  pIVar7 = wand->images;\n  sVar3 = pIVar7->columns;\n  (pWVar2->extent).width = sVar3;\n  (pWVar2->extent).height = pIVar7->rows;\n  pppPVar8 = AcquirePixelsThreadSet(sVar3);\n  pWVar2->pixel_wands = pppPVar8;\n  pWVar2->exception = pEVar5;\n  if (pppPVar8 != (PixelWand ***)0x0) {\n    MVar9 = (*(code *)PTR_IsEventLogging_00178810)();\n    pWVar2->debug = MVar9;\n    pWVar2->signature = 0xabacadab;\n    return pWVar2;\n  }\n  uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n  (*(code *)PTR_CatchException_00178528)(uVar10);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n  return pWVar2;\n}" type_identifier (pointer_declarator "* NewWandView(MagickWand *wand)" * (function_declarator "NewWandView(MagickWand *wand)" identifier (parameter_list "(MagickWand *wand)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  WandView *pWVar2;\n  size_t sVar3;\n  char *pcVar4;\n  ExceptionInfo *pEVar5;\n  CacheView *pCVar6;\n  Image *pIVar7;\n  PixelWand ***pppPVar8;\n  MagickBooleanType MVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  double dVar13;\n  \n  if (wand == (MagickWand *)0x0) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }\n  if (wand->signature != 0xabacadab) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }\n  pWVar2 = (WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (pWVar2 == (WandView *)0x0) {\n    uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n    (*(code *)PTR_CatchException_00178528)(uVar10);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n    return pWVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(pWVar2,0,0x1034);\n  sVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  pWVar2->id = sVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar13 = (double)(int)sVar3;\n  if ((int)sVar3 < 0) {\n    dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13);\n  pcVar4 = (char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  pWVar2->description = pcVar4;\n  pWVar2->wand = wand;\n  pEVar5 = (ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  pCVar6 = (CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)\n  ;\n  pWVar2->view = pCVar6;\n  pIVar7 = wand->images;\n  sVar3 = pIVar7->columns;\n  (pWVar2->extent).width = sVar3;\n  (pWVar2->extent).height = pIVar7->rows;\n  pppPVar8 = AcquirePixelsThreadSet(sVar3);\n  pWVar2->pixel_wands = pppPVar8;\n  pWVar2->exception = pEVar5;\n  if (pppPVar8 != (PixelWand ***)0x0) {\n    MVar9 = (*(code *)PTR_IsEventLogging_00178810)();\n    pWVar2->debug = MVar9;\n    pWVar2->signature = 0xabacadab;\n    return pWVar2;\n  }\n  uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n  (*(code *)PTR_CatchException_00178528)(uVar10);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n  return pWVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "WandView *pWVar2;" type_identifier (pointer_declarator "*pWVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "ExceptionInfo *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (declaration "CacheView *pCVar6;" type_identifier (pointer_declarator "*pCVar6" * identifier) ;) (declaration "Image *pIVar7;" type_identifier (pointer_declarator "*pIVar7" * identifier) ;) (declaration "PixelWand ***pppPVar8;" type_identifier (pointer_declarator "***pppPVar8" * (pointer_declarator "**pppPVar8" * (pointer_declarator "*pppPVar8" * identifier))) ;) (declaration "MagickBooleanType MVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (if_statement "if (wand == (MagickWand *)0x0) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }" { (expression_statement "pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" identifier = (cast_expression "(WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e74,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e74" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" identifier + number_literal) ))))) ;) (return_statement "return pWVar2;" return identifier ;) })) (if_statement "if (wand->signature != 0xabacadab) {\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }" if (parenthesized_expression "(wand->signature != 0xabacadab)" ( (binary_expression "wand->signature != 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return pWVar2;\n  }" { (expression_statement "pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "pWVar2 = (WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" identifier = (cast_expression "(WandView *)\n             (*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_00178728)\n                       (PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e54,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                        PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e54" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" identifier + number_literal) ))))) ;) (return_statement "return pWVar2;" return identifier ;) })) (expression_statement "pWVar2 = (WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);" (assignment_expression "pWVar2 = (WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" identifier = (cast_expression "(WandView *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" (parenthesized_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)" ( (pointer_expression "*(code *)PTR_AcquireMagickMemory_001788d4" * (cast_expression "(code *)PTR_AcquireMagickMemory_001788d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1034)" ( number_literal ))))) ;) (if_statement "if (pWVar2 == (WandView *)0x0) {\n    uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n    (*(code *)PTR_CatchException_00178528)(uVar10);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n    return pWVar2;\n  }" if (parenthesized_expression "(pWVar2 == (WandView *)0x0)" ( (binary_expression "pWVar2 == (WandView *)0x0" identifier == (cast_expression "(WandView *)0x0" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);\n    (*(code *)PTR_CatchException_00178528)(uVar10);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);\n    return pWVar2;\n  }" { (expression_statement "uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" ( (pointer_expression "*(code *)PTR___errno_location_00178964" * (cast_expression "(code *)PTR___errno_location_00178964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);" (assignment_expression "uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" * (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar11)" ( (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12)" ( identifier , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + -0x354" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar10);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar10)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" ( (pointer_expression "*(code *)PTR_CatchException_00178528" * (cast_expression "(code *)PTR_CatchException_00178528" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" * (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" ( (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" * (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1)" identifier = (cast_expression "(WandView *)(*(code *)PTR__exit_0017876c)(1)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" ( (pointer_expression "*(code *)PTR__exit_0017876c" * (cast_expression "(code *)PTR__exit_0017876c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return pWVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR_memset_0017879c)(pWVar2,0,0x1034);" (call_expression "(*(code *)PTR_memset_0017879c)(pWVar2,0,0x1034)" (parenthesized_expression "(*(code *)PTR_memset_0017879c)" ( (pointer_expression "*(code *)PTR_memset_0017879c" * (cast_expression "(code *)PTR_memset_0017879c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pWVar2,0,0x1034)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "sVar3 = (*(code *)PTR_AcquireWandId_00178484)();" (assignment_expression "sVar3 = (*(code *)PTR_AcquireWandId_00178484)()" identifier = (call_expression "(*(code *)PTR_AcquireWandId_00178484)()" (parenthesized_expression "(*(code *)PTR_AcquireWandId_00178484)" ( (pointer_expression "*(code *)PTR_AcquireWandId_00178484" * (cast_expression "(code *)PTR_AcquireWandId_00178484" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pWVar2->id = sVar3;" (assignment_expression "pWVar2->id = sVar3" (field_expression "pWVar2->id" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;" (assignment_expression "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038" identifier = identifier) ;) (expression_statement "dVar13 = (double)(int)sVar3;" (assignment_expression "dVar13 = (double)(int)sVar3" identifier = (cast_expression "(double)(int)sVar3" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)sVar3 < 0) {\n    dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" if (parenthesized_expression "((int)sVar3 < 0)" ( (binary_expression "(int)sVar3 < 0" (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" { (expression_statement "dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570);" (assignment_expression "dVar13 = dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570)" identifier = (binary_expression "dVar13 + *(double *)(PTR_s_oint_00178034 + -0x4570)" identifier + (pointer_expression "*(double *)(PTR_s_oint_00178034 + -0x4570)" * (cast_expression "(double *)(PTR_s_oint_00178034 + -0x4570)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_oint_00178034 + -0x4570)" ( (binary_expression "PTR_s_oint_00178034 + -0x4570" identifier + number_literal) )))))) ;) })) (expression_statement "(*(code *)PTR_FormatLocaleString_00178188)\n            (pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13);" (call_expression "(*(code *)PTR_FormatLocaleString_00178188)\n            (pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_00178188)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_00178188" * (cast_expression "(code *)PTR_FormatLocaleString_00178188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pWVar2->name,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar13)" ( (field_expression "pWVar2->name" identifier -> field_identifier) , number_literal , (binary_expression "PTR_s_oint_00178034 + -0x5ce0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158" identifier + number_literal) , identifier ))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" identifier = (cast_expression "(char *)(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" (parenthesized_expression "(*(code *)PTR_ConstantString_001783ac)" ( (pointer_expression "*(code *)PTR_ConstantString_001783ac" * (cast_expression "(code *)PTR_ConstantString_001783ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + -0x1158)" ( (binary_expression "puVar1 + -0x1158" identifier + number_literal) ))))) ;) (expression_statement "pWVar2->description = pcVar4;" (assignment_expression "pWVar2->description = pcVar4" (field_expression "pWVar2->description" identifier -> field_identifier) = identifier) ;) (expression_statement "pWVar2->wand = wand;" (assignment_expression "pWVar2->wand = wand" (field_expression "pWVar2->wand" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar5 = (ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "pEVar5 = (ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (cast_expression "(ExceptionInfo *)(*(code *)PTR_AcquireExceptionInfo_001782a8)()" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pCVar6 = (CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)\n  ;" (assignment_expression "pCVar6 = (CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)" identifier = (cast_expression "(CacheView *)(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)" ( (type_descriptor "CacheView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)(pWVar2->wand->images,pEVar5)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)" ( (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_001787e0" * (cast_expression "(code *)PTR_AcquireVirtualCacheView_001787e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pWVar2->wand->images,pEVar5)" ( (field_expression "pWVar2->wand->images" (field_expression "pWVar2->wand" identifier -> field_identifier) -> field_identifier) , identifier ))))) ;) (expression_statement "pWVar2->view = pCVar6;" (assignment_expression "pWVar2->view = pCVar6" (field_expression "pWVar2->view" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar7 = wand->images;" (assignment_expression "pIVar7 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) (expression_statement "sVar3 = pIVar7->columns;" (assignment_expression "sVar3 = pIVar7->columns" identifier = (field_expression "pIVar7->columns" identifier -> field_identifier)) ;) (expression_statement "(pWVar2->extent).width = sVar3;" (assignment_expression "(pWVar2->extent).width = sVar3" (field_expression "(pWVar2->extent).width" (parenthesized_expression "(pWVar2->extent)" ( (field_expression "pWVar2->extent" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pWVar2->extent).height = pIVar7->rows;" (assignment_expression "(pWVar2->extent).height = pIVar7->rows" (field_expression "(pWVar2->extent).height" (parenthesized_expression "(pWVar2->extent)" ( (field_expression "pWVar2->extent" identifier -> field_identifier) )) . field_identifier) = (field_expression "pIVar7->rows" identifier -> field_identifier)) ;) (expression_statement "pppPVar8 = AcquirePixelsThreadSet(sVar3);" (assignment_expression "pppPVar8 = AcquirePixelsThreadSet(sVar3)" identifier = (call_expression "AcquirePixelsThreadSet(sVar3)" identifier (argument_list "(sVar3)" ( identifier )))) ;) (expression_statement "pWVar2->pixel_wands = pppPVar8;" (assignment_expression "pWVar2->pixel_wands = pppPVar8" (field_expression "pWVar2->pixel_wands" identifier -> field_identifier) = identifier) ;) (expression_statement "pWVar2->exception = pEVar5;" (assignment_expression "pWVar2->exception = pEVar5" (field_expression "pWVar2->exception" identifier -> field_identifier) = identifier) ;) (if_statement "if (pppPVar8 != (PixelWand ***)0x0) {\n    MVar9 = (*(code *)PTR_IsEventLogging_00178810)();\n    pWVar2->debug = MVar9;\n    pWVar2->signature = 0xabacadab;\n    return pWVar2;\n  }" if (parenthesized_expression "(pppPVar8 != (PixelWand ***)0x0)" ( (binary_expression "pppPVar8 != (PixelWand ***)0x0" identifier != (cast_expression "(PixelWand ***)0x0" ( (type_descriptor "PixelWand ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) number_literal)) )) (compound_statement "{\n    MVar9 = (*(code *)PTR_IsEventLogging_00178810)();\n    pWVar2->debug = MVar9;\n    pWVar2->signature = 0xabacadab;\n    return pWVar2;\n  }" { (expression_statement "MVar9 = (*(code *)PTR_IsEventLogging_00178810)();" (assignment_expression "MVar9 = (*(code *)PTR_IsEventLogging_00178810)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_00178810)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_00178810)" ( (pointer_expression "*(code *)PTR_IsEventLogging_00178810" * (cast_expression "(code *)PTR_IsEventLogging_00178810" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pWVar2->debug = MVar9;" (assignment_expression "pWVar2->debug = MVar9" (field_expression "pWVar2->debug" identifier -> field_identifier) = identifier) ;) (expression_statement "pWVar2->signature = 0xabacadab;" (assignment_expression "pWVar2->signature = 0xabacadab" (field_expression "pWVar2->signature" identifier -> field_identifier) = number_literal) ;) (return_statement "return pWVar2;" return identifier ;) })) (expression_statement "uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar10 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" ( (pointer_expression "*(code *)PTR___errno_location_00178964" * (cast_expression "(code *)PTR___errno_location_00178964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11);" (assignment_expression "uVar12 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar11)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" * (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar11)" ( (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar12)" ( identifier , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + -0x354" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar10);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar10)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" ( (pointer_expression "*(code *)PTR_CatchException_00178528" * (cast_expression "(code *)PTR_CatchException_00178528" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar10)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" * (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" ( (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" * (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "pWVar2 = (WandView *)(*(code *)PTR__exit_0017876c)(1)" identifier = (cast_expression "(WandView *)(*(code *)PTR__exit_0017876c)(1)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" ( (pointer_expression "*(code *)PTR__exit_0017876c" * (cast_expression "(code *)PTR__exit_0017876c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return pWVar2;" return identifier ;) })))
(translation_unit "int * NewWandView(int param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}\n\n" (function_definition "int * NewWandView(int param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}" primitive_type (pointer_declarator "* NewWandView(int param_1)" * (function_declarator "NewWandView(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" identifier = (cast_expression "(int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e74" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" identifier + number_literal) ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" identifier = (cast_expression "(int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e54" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" identifier + number_literal) ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" identifier = (cast_expression "(int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" (parenthesized_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)" ( (pointer_expression "*(code *)PTR_AcquireMagickMemory_001788d4" * (cast_expression "(code *)PTR_AcquireMagickMemory_001788d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1034)" ( number_literal ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }" { (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" ( (pointer_expression "*(code *)PTR___errno_location_00178964" * (cast_expression "(code *)PTR___errno_location_00178964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" * (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" ( identifier , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + -0x354" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar5);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar5)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" ( (pointer_expression "*(code *)PTR_CatchException_00178528" * (cast_expression "(code *)PTR_CatchException_00178528" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" * (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" ( (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" * (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1)" identifier = (cast_expression "(int *)(*(code *)PTR__exit_0017876c)(1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" ( (pointer_expression "*(code *)PTR__exit_0017876c" * (cast_expression "(code *)PTR__exit_0017876c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);" (call_expression "(*(code *)PTR_memset_0017879c)(piVar2,0,0x1034)" (parenthesized_expression "(*(code *)PTR_memset_0017879c)" ( (pointer_expression "*(code *)PTR_memset_0017879c" * (cast_expression "(code *)PTR_memset_0017879c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2,0,0x1034)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireWandId_00178484)();" (assignment_expression "iVar3 = (*(code *)PTR_AcquireWandId_00178484)()" identifier = (call_expression "(*(code *)PTR_AcquireWandId_00178484)()" (parenthesized_expression "(*(code *)PTR_AcquireWandId_00178484)" ( (pointer_expression "*(code *)PTR_AcquireWandId_00178484" * (cast_expression "(code *)PTR_AcquireWandId_00178484" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = iVar3;" (assignment_expression "*piVar2 = iVar3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;" (assignment_expression "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038" identifier = identifier) ;) (expression_statement "dVar8 = (double)iVar3;" (assignment_expression "dVar8 = (double)iVar3" identifier = (cast_expression "(double)iVar3" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570)" identifier = (binary_expression "dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570)" identifier + (pointer_expression "*(double *)(PTR_s_oint_00178034 + -0x4570)" * (cast_expression "(double *)(PTR_s_oint_00178034 + -0x4570)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_oint_00178034 + -0x4570)" ( (binary_expression "PTR_s_oint_00178034 + -0x4570" identifier + number_literal) )))))) ;) })) (expression_statement "(*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);" (call_expression "(*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_00178188)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_00178188" * (cast_expression "(code *)PTR_FormatLocaleString_00178188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8)" ( (binary_expression "piVar2 + 1" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + -0x5ce0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);" (assignment_expression "iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" identifier = (call_expression "(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" (parenthesized_expression "(*(code *)PTR_ConstantString_001783ac)" ( (pointer_expression "*(code *)PTR_ConstantString_001783ac" * (cast_expression "(code *)PTR_ConstantString_001783ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + -0x1158)" ( (binary_expression "puVar1 + -0x1158" identifier + number_literal) )))) ;) (expression_statement "piVar2[0x401] = iVar3;" (assignment_expression "piVar2[0x401] = iVar3" (subscript_expression "piVar2[0x401]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[0x406] = param_1;" (assignment_expression "piVar2[0x406] = param_1" (subscript_expression "piVar2[0x406]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);" (assignment_expression "iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" identifier = (call_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)" ( (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_001787e0" * (cast_expression "(code *)PTR_AcquireVirtualCacheView_001787e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" ( (pointer_expression "*(undefined4 *)(&DAT_00001004 + piVar2[0x406])" * (cast_expression "(undefined4 *)(&DAT_00001004 + piVar2[0x406])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + piVar2[0x406])" ( (binary_expression "&DAT_00001004 + piVar2[0x406]" (pointer_expression "&DAT_00001004" & identifier) + (subscript_expression "piVar2[0x406]" identifier [ number_literal ])) )))) , identifier )))) ;) (expression_statement "piVar2[0x408] = iVar4;" (assignment_expression "piVar2[0x408] = iVar4" (subscript_expression "piVar2[0x408]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar4 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (expression_statement "piVar2[0x402] = *(int *)(iVar4 + 0x18);" (assignment_expression "piVar2[0x402] = *(int *)(iVar4 + 0x18)" (subscript_expression "piVar2[0x402]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "piVar2[0x403] = *(int *)(iVar4 + 0x1c);" (assignment_expression "piVar2[0x403] = *(int *)(iVar4 + 0x1c)" (subscript_expression "piVar2[0x403]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_00139204();" (assignment_expression "iVar4 = FUN_00139204()" identifier = (call_expression "FUN_00139204()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2[0x409] = iVar4;" (assignment_expression "piVar2[0x409] = iVar4" (subscript_expression "piVar2[0x409]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[0x40a] = iVar3;" (assignment_expression "piVar2[0x40a] = iVar3" (subscript_expression "piVar2[0x40a]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_IsEventLogging_00178810)();" (assignment_expression "iVar3 = (*(code *)PTR_IsEventLogging_00178810)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_00178810)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_00178810)" ( (pointer_expression "*(code *)PTR_IsEventLogging_00178810" * (cast_expression "(code *)PTR_IsEventLogging_00178810" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "piVar2[0x40b] = iVar3;" (assignment_expression "piVar2[0x40b] = iVar3" (subscript_expression "piVar2[0x40b]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[0x40c] = -0x54535255;" (assignment_expression "piVar2[0x40c] = -0x54535255" (subscript_expression "piVar2[0x40c]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" * (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" ( (pointer_expression "*(code *)PTR___errno_location_00178964" * (cast_expression "(code *)PTR___errno_location_00178964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" * (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" ( identifier , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" identifier + number_literal) , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + -0x354" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar5);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar5)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" ( (pointer_expression "*(code *)PTR_CatchException_00178528" * (cast_expression "(code *)PTR_CatchException_00178528" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" * (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" ( (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" * (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1)" identifier = (cast_expression "(int *)(*(code *)PTR__exit_0017876c)(1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" ( (pointer_expression "*(code *)PTR__exit_0017876c" * (cast_expression "(code *)PTR__exit_0017876c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (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) )))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (subscript_expression IDENT [ LIT ])) )))) , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (return_statement return IDENT ;) })))
(function_definition "int * NewWandView(int param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* NewWandView(int param_1)" (* "*") (function_declarator "NewWandView(int param_1)" (identifier "NewWandView") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  double dVar8;\n  \n  if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }\n  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);\n  if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }\n  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);\n  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();\n  *piVar2 = iVar3;\n  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;\n  dVar8 = (double)iVar3;\n  if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }\n  (*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);\n  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);\n  piVar2[0x401] = iVar3;\n  piVar2[0x406] = param_1;\n  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);\n  piVar2[0x408] = iVar4;\n  iVar4 = *(int *)(&DAT_00001004 + param_1);\n  piVar2[0x402] = *(int *)(iVar4 + 0x18);\n  piVar2[0x403] = *(int *)(iVar4 + 0x1c);\n  iVar4 = FUN_00139204();\n  piVar2[0x409] = iVar4;\n  piVar2[0x40a] = iVar3;\n  if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }\n  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n  (*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n  (*(code *)PTR_CatchException_00178528)(uVar5);\n  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n  (*(code *)PTR_MagickWandTerminus_001787d8)();\n  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n  return piVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (if_statement "if (param_1 == 0) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00178728" (* "*") (cast_expression "(code *)PTR___assert_fail_00178728" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00178728"))) () ")")) (argument_list "(PTR_s_oint_00178034 + -0x1e74,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (( "(") (binary_expression "PTR_s_oint_00178034 + -0x1e74" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1e74")) (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0x11e0")) (, ",") (number_literal "0x2f1") (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0xfec")) () ")"))))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" (* "*") (cast_expression "(int *)(param_1 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);\n    return piVar2;\n  }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);" (assignment_expression "piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_00178728)\n                              (PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00178728" (* "*") (cast_expression "(code *)PTR___assert_fail_00178728" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00178728"))) () ")")) (argument_list "(PTR_s_oint_00178034 + -0x1e54,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,\n                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec)" (( "(") (binary_expression "PTR_s_oint_00178034 + -0x1e54" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1e54")) (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0x11e0")) (, ",") (number_literal "0x2f2") (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0xfec")) () ")"))))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034)" (parenthesized_expression "(*(code *)PTR_AcquireMagickMemory_001788d4)" (( "(") (pointer_expression "*(code *)PTR_AcquireMagickMemory_001788d4" (* "*") (cast_expression "(code *)PTR_AcquireMagickMemory_001788d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireMagickMemory_001788d4"))) () ")")) (argument_list "(0x1034)" (( "(") (number_literal "0x1034") () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();\n    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();\n    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);\n    (*(code *)PTR_CatchException_00178528)(uVar5);\n    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);\n    (*(code *)PTR_MagickWandTerminus_001787d8)();\n    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);\n    return piVar2;\n  }" ({ "{") (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" (( "(") (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" (* "*") (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireExceptionInfo_001782a8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00178964" (* "*") (cast_expression "(code *)PTR___errno_location_00178964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00178964"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_001785d8"))) () ")")) (argument_list "(*puVar6)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_001782c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_001782c4"))) () ")")) (argument_list "(uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,\n               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (( "(") (identifier "uVar5") (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0x11e0")) (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0xff8")) (, ",") (number_literal "0x2f6") (, ",") (number_literal "700") (, ",") (binary_expression "PTR_s_ision_00178030 + -0x354" (identifier "PTR_s_ision_00178030") (+ "+") (number_literal "-0x354")) (, ",") (binary_expression "PTR_s_ision_00178030 + -0x35c" (identifier "PTR_s_ision_00178030") (+ "+") (number_literal "-0x35c")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar5);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar5)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" (( "(") (pointer_expression "*(code *)PTR_CatchException_00178528" (* "*") (cast_expression "(code *)PTR_CatchException_00178528" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CatchException_00178528"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" (( "(") (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" (* "*") (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyExceptionInfo_0017815c"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" (( "(") (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" (* "*") (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_MagickWandTerminus_001787d8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR__exit_0017876c)(1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" (( "(") (pointer_expression "*(code *)PTR__exit_0017876c" (* "*") (cast_expression "(code *)PTR__exit_0017876c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__exit_0017876c"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);" (call_expression "(*(code *)PTR_memset_0017879c)(piVar2,0,0x1034)" (parenthesized_expression "(*(code *)PTR_memset_0017879c)" (( "(") (pointer_expression "*(code *)PTR_memset_0017879c" (* "*") (cast_expression "(code *)PTR_memset_0017879c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_0017879c"))) () ")")) (argument_list "(piVar2,0,0x1034)" (( "(") (identifier "piVar2") (, ",") (number_literal "0") (, ",") (number_literal "0x1034") () ")"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_AcquireWandId_00178484)();" (assignment_expression "iVar3 = (*(code *)PTR_AcquireWandId_00178484)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_AcquireWandId_00178484)()" (parenthesized_expression "(*(code *)PTR_AcquireWandId_00178484)" (( "(") (pointer_expression "*(code *)PTR_AcquireWandId_00178484" (* "*") (cast_expression "(code *)PTR_AcquireWandId_00178484" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireWandId_00178484"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar2 = iVar3;" (assignment_expression "*piVar2 = iVar3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;" (assignment_expression "puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038" (identifier "puVar1") (= "=") (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038")) (; ";")) (expression_statement "dVar8 = (double)iVar3;" (assignment_expression "dVar8 = (double)iVar3" (identifier "dVar8") (= "=") (cast_expression "(double)iVar3" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar3"))) (; ";")) (if_statement "if (iVar3 < 0) {\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);\n  }" ({ "{") (expression_statement "dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570)" (identifier "dVar8") (= "=") (binary_expression "dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570)" (identifier "dVar8") (+ "+") (pointer_expression "*(double *)(PTR_s_oint_00178034 + -0x4570)" (* "*") (cast_expression "(double *)(PTR_s_oint_00178034 + -0x4570)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_oint_00178034 + -0x4570)" (( "(") (binary_expression "PTR_s_oint_00178034 + -0x4570" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x4570")) () ")")))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);" (call_expression "(*(code *)PTR_FormatLocaleString_00178188)\n            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_00178188)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_00178188" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_00178188" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_00178188"))) () ")")) (argument_list "(piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8)" (( "(") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1")) (, ",") (number_literal "0x1000") (, ",") (binary_expression "PTR_s_oint_00178034 + -0x5ce0" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x5ce0")) (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0x1158")) (, ",") (identifier "dVar8") () ")"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);" (assignment_expression "iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158)" (parenthesized_expression "(*(code *)PTR_ConstantString_001783ac)" (( "(") (pointer_expression "*(code *)PTR_ConstantString_001783ac" (* "*") (cast_expression "(code *)PTR_ConstantString_001783ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ConstantString_001783ac"))) () ")")) (argument_list "(puVar1 + -0x1158)" (( "(") (binary_expression "puVar1 + -0x1158" (identifier "puVar1") (+ "+") (number_literal "-0x1158")) () ")")))) (; ";")) (expression_statement "piVar2[0x401] = iVar3;" (assignment_expression "piVar2[0x401] = iVar3" (subscript_expression "piVar2[0x401]" (identifier "piVar2") ([ "[") (number_literal "0x401") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "piVar2[0x406] = param_1;" (assignment_expression "piVar2[0x406] = param_1" (subscript_expression "piVar2[0x406]" (identifier "piVar2") ([ "[") (number_literal "0x406") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" (( "(") (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" (* "*") (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireExceptionInfo_001782a8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);" (assignment_expression "iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)\n                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualCacheView_001787e0)" (( "(") (pointer_expression "*(code *)PTR_AcquireVirtualCacheView_001787e0" (* "*") (cast_expression "(code *)PTR_AcquireVirtualCacheView_001787e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireVirtualCacheView_001787e0"))) () ")")) (argument_list "(*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3)" (( "(") (pointer_expression "*(undefined4 *)(&DAT_00001004 + piVar2[0x406])" (* "*") (cast_expression "(undefined4 *)(&DAT_00001004 + piVar2[0x406])" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + piVar2[0x406])" (( "(") (binary_expression "&DAT_00001004 + piVar2[0x406]" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (subscript_expression "piVar2[0x406]" (identifier "piVar2") ([ "[") (number_literal "0x406") (] "]"))) () ")")))) (, ",") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "piVar2[0x408] = iVar4;" (assignment_expression "piVar2[0x408] = iVar4" (subscript_expression "piVar2[0x408]" (identifier "piVar2") ([ "[") (number_literal "0x408") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar4 = *(int *)(&DAT_00001004 + param_1)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")"))))) (; ";")) (expression_statement "piVar2[0x402] = *(int *)(iVar4 + 0x18);" (assignment_expression "piVar2[0x402] = *(int *)(iVar4 + 0x18)" (subscript_expression "piVar2[0x402]" (identifier "piVar2") ([ "[") (number_literal "0x402") (] "]")) (= "=") (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "piVar2[0x403] = *(int *)(iVar4 + 0x1c);" (assignment_expression "piVar2[0x403] = *(int *)(iVar4 + 0x1c)" (subscript_expression "piVar2[0x403]" (identifier "piVar2") ([ "[") (number_literal "0x403") (] "]")) (= "=") (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_00139204();" (assignment_expression "iVar4 = FUN_00139204()" (identifier "iVar4") (= "=") (call_expression "FUN_00139204()" (identifier "FUN_00139204") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar2[0x409] = iVar4;" (assignment_expression "piVar2[0x409] = iVar4" (subscript_expression "piVar2[0x409]" (identifier "piVar2") ([ "[") (number_literal "0x409") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar2[0x40a] = iVar3;" (assignment_expression "piVar2[0x40a] = iVar3" (subscript_expression "piVar2[0x40a]" (identifier "piVar2") ([ "[") (number_literal "0x40a") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar4 != 0) {\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();\n    piVar2[0x40b] = iVar3;\n    piVar2[0x40c] = -0x54535255;\n    return piVar2;\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_IsEventLogging_00178810)();" (assignment_expression "iVar3 = (*(code *)PTR_IsEventLogging_00178810)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_IsEventLogging_00178810)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_00178810)" (( "(") (pointer_expression "*(code *)PTR_IsEventLogging_00178810" (* "*") (cast_expression "(code *)PTR_IsEventLogging_00178810" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_IsEventLogging_00178810"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar2[0x40b] = iVar3;" (assignment_expression "piVar2[0x40b] = iVar3" (subscript_expression "piVar2[0x40b]" (identifier "piVar2") ([ "[") (number_literal "0x40b") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "piVar2[0x40c] = -0x54535255;" (assignment_expression "piVar2[0x40c] = -0x54535255" (subscript_expression "piVar2[0x40c]" (identifier "piVar2") ([ "[") (number_literal "0x40c") (] "]")) (= "=") (number_literal "-0x54535255")) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)()" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_001782a8)" (( "(") (pointer_expression "*(code *)PTR_AcquireExceptionInfo_001782a8" (* "*") (cast_expression "(code *)PTR_AcquireExceptionInfo_001782a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireExceptionInfo_001782a8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)()" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00178964)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00178964)()" (parenthesized_expression "(*(code *)PTR___errno_location_00178964)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00178964" (* "*") (cast_expression "(code *)PTR___errno_location_00178964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00178964"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_001785d8)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_001785d8" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_001785d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_001785d8"))) () ")")) (argument_list "(*puVar6)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_001782c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_001782c4"))) () ")")) (argument_list "(uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,\n             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,\n             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7)" (( "(") (identifier "uVar5") (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0x11e0")) (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0xff8")) (, ",") (number_literal "0x305") (, ",") (number_literal "700") (, ",") (binary_expression "PTR_s_ision_00178030 + -0x354" (identifier "PTR_s_ision_00178030") (+ "+") (number_literal "-0x354")) (, ",") (binary_expression "PTR_s_ision_00178030 + -0x35c" (identifier "PTR_s_ision_00178030") (+ "+") (number_literal "-0x35c")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_CatchException_00178528)(uVar5);" (call_expression "(*(code *)PTR_CatchException_00178528)(uVar5)" (parenthesized_expression "(*(code *)PTR_CatchException_00178528)" (( "(") (pointer_expression "*(code *)PTR_CatchException_00178528" (* "*") (cast_expression "(code *)PTR_CatchException_00178528" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CatchException_00178528"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_0017815c)" (( "(") (pointer_expression "*(code *)PTR_DestroyExceptionInfo_0017815c" (* "*") (cast_expression "(code *)PTR_DestroyExceptionInfo_0017815c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyExceptionInfo_0017815c"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_MagickWandTerminus_001787d8)();" (call_expression "(*(code *)PTR_MagickWandTerminus_001787d8)()" (parenthesized_expression "(*(code *)PTR_MagickWandTerminus_001787d8)" (( "(") (pointer_expression "*(code *)PTR_MagickWandTerminus_001787d8" (* "*") (cast_expression "(code *)PTR_MagickWandTerminus_001787d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_MagickWandTerminus_001787d8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);" (assignment_expression "piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR__exit_0017876c)(1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR__exit_0017876c)(1)" (parenthesized_expression "(*(code *)PTR__exit_0017876c)" (( "(") (pointer_expression "*(code *)PTR__exit_0017876c" (* "*") (cast_expression "(code *)PTR__exit_0017876c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__exit_0017876c"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (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) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (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)))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (pointer_expression argument: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (return_statement (identifier)))))

int * MASKED(int param_1)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  double dVar8;
  
  if (param_1 == 0) {
    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)
                              (PTR_s_oint_00178034 + -0x1e74,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f1,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);
    return piVar2;
  }
  if (*(int *)(param_1 + 0x101c) != -0x54535255) {
    piVar2 = (int *)(*(code *)PTR___assert_fail_00178728)
                              (PTR_s_oint_00178034 + -0x1e54,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,0x2f2,
                               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xfec);
    return piVar2;
  }
  piVar2 = (int *)(*(code *)PTR_AcquireMagickMemory_001788d4)(0x1034);
  if (piVar2 == (int *)0x0) {
    uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
    puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();
    uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);
    (*(code *)PTR_ThrowMagickException_001782c4)
              (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,
               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x2f6,700,
               PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);
    (*(code *)PTR_CatchException_00178528)(uVar5);
    (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);
    (*(code *)PTR_MagickWandTerminus_001787d8)();
    piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);
    return piVar2;
  }
  (*(code *)PTR_memset_0017879c)(piVar2,0,0x1034);
  iVar3 = (*(code *)PTR_AcquireWandId_00178484)();
  *piVar2 = iVar3;
  puVar1 = PTR_fde_table_entry_0015fffc_data_loc_00178038;
  dVar8 = (double)iVar3;
  if (iVar3 < 0) {
    dVar8 = dVar8 + *(double *)(PTR_s_oint_00178034 + -0x4570);
  }
  (*(code *)PTR_FormatLocaleString_00178188)
            (piVar2 + 1,0x1000,PTR_s_oint_00178034 + -0x5ce0,
             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x1158,dVar8);
  iVar3 = (*(code *)PTR_ConstantString_001783ac)(puVar1 + -0x1158);
  piVar2[0x401] = iVar3;
  piVar2[0x406] = param_1;
  iVar3 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
  iVar4 = (*(code *)PTR_AcquireVirtualCacheView_001787e0)
                    (*(undefined4 *)(&DAT_00001004 + piVar2[0x406]),iVar3);
  piVar2[0x408] = iVar4;
  iVar4 = *(int *)(&DAT_00001004 + param_1);
  piVar2[0x402] = *(int *)(iVar4 + 0x18);
  piVar2[0x403] = *(int *)(iVar4 + 0x1c);
  iVar4 = FUN_00139204();
  piVar2[0x409] = iVar4;
  piVar2[0x40a] = iVar3;
  if (iVar4 != 0) {
    iVar3 = (*(code *)PTR_IsEventLogging_00178810)();
    piVar2[0x40b] = iVar3;
    piVar2[0x40c] = -0x54535255;
    return piVar2;
  }
  uVar5 = (*(code *)PTR_AcquireExceptionInfo_001782a8)();
  puVar6 = (undefined4 *)(*(code *)PTR___errno_location_00178964)();
  uVar7 = (*(code *)PTR_GetExceptionMessage_001785d8)(*puVar6);
  (*(code *)PTR_ThrowMagickException_001782c4)
            (uVar5,PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x11e0,
             PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0xff8,0x305,700,
             PTR_s_ision_00178030 + -0x354,PTR_s_ision_00178030 + -0x35c,uVar7);
  (*(code *)PTR_CatchException_00178528)(uVar5);
  (*(code *)PTR_DestroyExceptionInfo_0017815c)(uVar5);
  (*(code *)PTR_MagickWandTerminus_001787d8)();
  piVar2 = (int *)(*(code *)PTR__exit_0017876c)(1);
  return piVar2;
}

