
/* 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 * DestroyWandView(WandView *wand_view)

{
  undefined *puVar1;
  PixelWand ***pppPVar2;
  Image *pIVar3;
  CacheView *pCVar4;
  ExceptionInfo *pEVar5;
  WandView *pWVar6;
  
  if (wand_view == (WandView *)0x0) {
    pWVar6 = (WandView *)
             (*(code *)PTR___assert_fail_0014f720)
                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,
                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,
                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);
    return pWVar6;
  }
  if (wand_view->signature == 0xabacadab) {
    pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);
    puVar1 = PTR_DestroyImage_0014f2e4;
    wand_view->pixel_wands = pppPVar2;
    pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);
    puVar1 = PTR_DestroyCacheView_0014f2a4;
    wand_view->image = pIVar3;
    pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);
    puVar1 = PTR_DestroyExceptionInfo_0014f154;
    wand_view->view = pCVar4;
    pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);
    wand_view->exception = pEVar5;
    puVar1 = PTR_RelinquishWandId_0014f560;
    wand_view->signature = 0x54535254;
    (*(code *)puVar1)(wand_view->id);
    pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);
    return pWVar6;
  }
  pWVar6 = (WandView *)
           (*(code *)PTR___assert_fail_0014f720)
                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,
                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,
                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);
  return pWVar6;
}



void DestroyWandView(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  if (param_1 == (undefined4 *)0x0) {
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,
               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,
               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);
    return;
  }
  if (param_1[0x40c] == -0x54535255) {
    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);
    puVar1 = PTR_DestroyImage_0014f2e4;
    param_1[0x409] = uVar2;
    uVar2 = (*(code *)puVar1)(param_1[0x407]);
    puVar1 = PTR_DestroyCacheView_0014f2a4;
    param_1[0x407] = uVar2;
    uVar2 = (*(code *)puVar1)(param_1[0x408]);
    puVar1 = PTR_DestroyExceptionInfo_0014f154;
    param_1[0x408] = uVar2;
    uVar2 = (*(code *)puVar1)(param_1[0x40a]);
    param_1[0x40a] = uVar2;
    puVar1 = PTR_RelinquishWandId_0014f560;
    param_1[0x40c] = 0x54535254;
    (*(code *)puVar1)(*param_1);
    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);
    return;
  }
  (*(code *)PTR___assert_fail_0014f720)
            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,
             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,
             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);
  return;
}


lui gp,0x4
addiu gp,gp,0x6b2c
addu gp,gp,t9
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq a0,zero,0x00110594
_sw s0,0x18(sp)
lui v0,0xabac
lw v1,0x1030(a0)
ori v0,v0,0xadab
bne v1,v0,0x001105b8
_or s0,a0,zero
lw t9,-0x7fd4(gp)
lw a1,0x1008(a0)
addiu t9,t9,-0x40
bal 0x0010ffc0
_lw a0,0x1024(a0)
lw gp,0x10(sp)
lw a0,0x101c(s0)
lw t9,-0x7d1c(gp)
jalr t9
_sw v0,0x1024(s0)
lw gp,0x10(sp)
lw a0,0x1020(s0)
lw t9,-0x7d5c(gp)
jalr t9
_sw v0,0x101c(s0)
lw gp,0x10(sp)
lw a0,0x1028(s0)
lw t9,-0x7eac(gp)
jalr t9
_sw v0,0x1020(s0)
lw gp,0x10(sp)
lw a0,0x0(s0)
sw v0,0x1028(s0)
lui v0,0x5453
lw t9,-0x7aa0(gp)
addiu v0,v0,0x5254
jalr t9
_sw v0,0x1030(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7ce4(gp)
jr t9
_addiu sp,sp,0x20
lw a3,-0x7fd0(gp)
li a2,0xc2
lw a1,-0x7fd0(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,0x50c4
addiu a1,a1,0x4e10
jalr t9
_addiu a0,a0,0x4e4c
lw a3,-0x7fd0(gp)
li a2,0xc3
lw a1,-0x7fd0(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,0x50c4
addiu a1,a1,0x4e10
jalr t9
_addiu a0,a0,0x4e6c
(translation_unit "void DestroyWandView(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}\n\n" (function_definition "void DestroyWandView(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}" primitive_type (function_declarator "DestroyWandView(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }" if (parenthesized_expression "(param_1[0x40c] == -0x54535255)" ( (binary_expression "param_1[0x40c] == -0x54535255" (subscript_expression "param_1[0x40c]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }" { (expression_statement "uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);" (assignment_expression "uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402])" identifier = (call_expression "FUN_0010ffc0(param_1[0x409],param_1[0x402])" identifier (argument_list "(param_1[0x409],param_1[0x402])" ( (subscript_expression "param_1[0x409]" identifier [ number_literal ]) , (subscript_expression "param_1[0x402]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar1 = PTR_DestroyImage_0014f2e4;" (assignment_expression "puVar1 = PTR_DestroyImage_0014f2e4" identifier = identifier) ;) (expression_statement "param_1[0x409] = uVar2;" (assignment_expression "param_1[0x409] = uVar2" (subscript_expression "param_1[0x409]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x407]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x407])" identifier = (call_expression "(*(code *)puVar1)(param_1[0x407])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x407])" ( (subscript_expression "param_1[0x407]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar1 = PTR_DestroyCacheView_0014f2a4;" (assignment_expression "puVar1 = PTR_DestroyCacheView_0014f2a4" identifier = identifier) ;) (expression_statement "param_1[0x407] = uVar2;" (assignment_expression "param_1[0x407] = uVar2" (subscript_expression "param_1[0x407]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x408]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x408])" identifier = (call_expression "(*(code *)puVar1)(param_1[0x408])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x408])" ( (subscript_expression "param_1[0x408]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar1 = PTR_DestroyExceptionInfo_0014f154;" (assignment_expression "puVar1 = PTR_DestroyExceptionInfo_0014f154" identifier = identifier) ;) (expression_statement "param_1[0x408] = uVar2;" (assignment_expression "param_1[0x408] = uVar2" (subscript_expression "param_1[0x408]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x40a]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x40a])" identifier = (call_expression "(*(code *)puVar1)(param_1[0x40a])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x40a])" ( (subscript_expression "param_1[0x40a]" identifier [ number_literal ]) )))) ;) (expression_statement "param_1[0x40a] = uVar2;" (assignment_expression "param_1[0x40a] = uVar2" (subscript_expression "param_1[0x40a]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_RelinquishWandId_0014f560;" (assignment_expression "puVar1 = PTR_RelinquishWandId_0014f560" identifier = identifier) ;) (expression_statement "param_1[0x40c] = 0x54535254;" (assignment_expression "param_1[0x40c] = 0x54535254" (subscript_expression "param_1[0x40c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(*param_1);" (call_expression "(*(code *)puVar1)(*param_1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_0014f31c" * (cast_expression "(code *)PTR_RelinquishMagickMemory_0014f31c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nWandView * DestroyWandView(WandView *wand_view)\n\n{\n  undefined *puVar1;\n  PixelWand ***pppPVar2;\n  Image *pIVar3;\n  CacheView *pCVar4;\n  ExceptionInfo *pEVar5;\n  WandView *pWVar6;\n  \n  if (wand_view == (WandView *)0x0) {\n    pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return pWVar6;\n  }\n  if (wand_view->signature == 0xabacadab) {\n    pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    wand_view->pixel_wands = pppPVar2;\n    pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    wand_view->image = pIVar3;\n    pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    wand_view->view = pCVar4;\n    pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);\n    wand_view->exception = pEVar5;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    wand_view->signature = 0x54535254;\n    (*(code *)puVar1)(wand_view->id);\n    pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);\n    return pWVar6;\n  }\n  pWVar6 = (WandView *)\n           (*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return pWVar6;\n}\n\n" comment comment comment comment comment (function_definition "WandView * DestroyWandView(WandView *wand_view)\n\n{\n  undefined *puVar1;\n  PixelWand ***pppPVar2;\n  Image *pIVar3;\n  CacheView *pCVar4;\n  ExceptionInfo *pEVar5;\n  WandView *pWVar6;\n  \n  if (wand_view == (WandView *)0x0) {\n    pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return pWVar6;\n  }\n  if (wand_view->signature == 0xabacadab) {\n    pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    wand_view->pixel_wands = pppPVar2;\n    pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    wand_view->image = pIVar3;\n    pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    wand_view->view = pCVar4;\n    pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);\n    wand_view->exception = pEVar5;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    wand_view->signature = 0x54535254;\n    (*(code *)puVar1)(wand_view->id);\n    pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);\n    return pWVar6;\n  }\n  pWVar6 = (WandView *)\n           (*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return pWVar6;\n}" type_identifier (pointer_declarator "* DestroyWandView(WandView *wand_view)" * (function_declarator "DestroyWandView(WandView *wand_view)" identifier (parameter_list "(WandView *wand_view)" ( (parameter_declaration "WandView *wand_view" type_identifier (pointer_declarator "*wand_view" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  PixelWand ***pppPVar2;\n  Image *pIVar3;\n  CacheView *pCVar4;\n  ExceptionInfo *pEVar5;\n  WandView *pWVar6;\n  \n  if (wand_view == (WandView *)0x0) {\n    pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return pWVar6;\n  }\n  if (wand_view->signature == 0xabacadab) {\n    pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    wand_view->pixel_wands = pppPVar2;\n    pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    wand_view->image = pIVar3;\n    pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    wand_view->view = pCVar4;\n    pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);\n    wand_view->exception = pEVar5;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    wand_view->signature = 0x54535254;\n    (*(code *)puVar1)(wand_view->id);\n    pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);\n    return pWVar6;\n  }\n  pWVar6 = (WandView *)\n           (*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return pWVar6;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "PixelWand ***pppPVar2;" type_identifier (pointer_declarator "***pppPVar2" * (pointer_declarator "**pppPVar2" * (pointer_declarator "*pppPVar2" * identifier))) ;) (declaration "Image *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "CacheView *pCVar4;" type_identifier (pointer_declarator "*pCVar4" * identifier) ;) (declaration "ExceptionInfo *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (declaration "WandView *pWVar6;" type_identifier (pointer_declarator "*pWVar6" * identifier) ;) (if_statement "if (wand_view == (WandView *)0x0) {\n    pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return pWVar6;\n  }" if (parenthesized_expression "(wand_view == (WandView *)0x0)" ( (binary_expression "wand_view == (WandView *)0x0" identifier == (cast_expression "(WandView *)0x0" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return pWVar6;\n  }" { (expression_statement "pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (assignment_expression "pWVar6 = (WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" identifier = (cast_expression "(WandView *)\n             (*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                       (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n                        PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" identifier + number_literal) ))))) ;) (return_statement "return pWVar6;" return identifier ;) })) (if_statement "if (wand_view->signature == 0xabacadab) {\n    pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    wand_view->pixel_wands = pppPVar2;\n    pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    wand_view->image = pIVar3;\n    pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    wand_view->view = pCVar4;\n    pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);\n    wand_view->exception = pEVar5;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    wand_view->signature = 0x54535254;\n    (*(code *)puVar1)(wand_view->id);\n    pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);\n    return pWVar6;\n  }" if (parenthesized_expression "(wand_view->signature == 0xabacadab)" ( (binary_expression "wand_view->signature == 0xabacadab" (field_expression "wand_view->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    wand_view->pixel_wands = pppPVar2;\n    pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    wand_view->image = pIVar3;\n    pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    wand_view->view = pCVar4;\n    pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);\n    wand_view->exception = pEVar5;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    wand_view->signature = 0x54535254;\n    (*(code *)puVar1)(wand_view->id);\n    pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);\n    return pWVar6;\n  }" { (expression_statement "pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width);" (assignment_expression "pppPVar2 = DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width)" identifier = (call_expression "DestroyPixelsThreadSet(wand_view->pixel_wands,(wand_view->extent).width)" identifier (argument_list "(wand_view->pixel_wands,(wand_view->extent).width)" ( (field_expression "wand_view->pixel_wands" identifier -> field_identifier) , (field_expression "(wand_view->extent).width" (parenthesized_expression "(wand_view->extent)" ( (field_expression "wand_view->extent" identifier -> field_identifier) )) . field_identifier) )))) ;) (expression_statement "puVar1 = PTR_DestroyImage_0014f2e4;" (assignment_expression "puVar1 = PTR_DestroyImage_0014f2e4" identifier = identifier) ;) (expression_statement "wand_view->pixel_wands = pppPVar2;" (assignment_expression "wand_view->pixel_wands = pppPVar2" (field_expression "wand_view->pixel_wands" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image);" (assignment_expression "pIVar3 = (Image *)(*(code *)puVar1)(wand_view->image)" identifier = (cast_expression "(Image *)(*(code *)puVar1)(wand_view->image)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(wand_view->image)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand_view->image)" ( (field_expression "wand_view->image" identifier -> field_identifier) ))))) ;) (expression_statement "puVar1 = PTR_DestroyCacheView_0014f2a4;" (assignment_expression "puVar1 = PTR_DestroyCacheView_0014f2a4" identifier = identifier) ;) (expression_statement "wand_view->image = pIVar3;" (assignment_expression "wand_view->image = pIVar3" (field_expression "wand_view->image" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view);" (assignment_expression "pCVar4 = (CacheView *)(*(code *)puVar1)(wand_view->view)" identifier = (cast_expression "(CacheView *)(*(code *)puVar1)(wand_view->view)" ( (type_descriptor "CacheView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(wand_view->view)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand_view->view)" ( (field_expression "wand_view->view" identifier -> field_identifier) ))))) ;) (expression_statement "puVar1 = PTR_DestroyExceptionInfo_0014f154;" (assignment_expression "puVar1 = PTR_DestroyExceptionInfo_0014f154" identifier = identifier) ;) (expression_statement "wand_view->view = pCVar4;" (assignment_expression "wand_view->view = pCVar4" (field_expression "wand_view->view" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception);" (assignment_expression "pEVar5 = (ExceptionInfo *)(*(code *)puVar1)(wand_view->exception)" identifier = (cast_expression "(ExceptionInfo *)(*(code *)puVar1)(wand_view->exception)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(wand_view->exception)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand_view->exception)" ( (field_expression "wand_view->exception" identifier -> field_identifier) ))))) ;) (expression_statement "wand_view->exception = pEVar5;" (assignment_expression "wand_view->exception = pEVar5" (field_expression "wand_view->exception" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar1 = PTR_RelinquishWandId_0014f560;" (assignment_expression "puVar1 = PTR_RelinquishWandId_0014f560" identifier = identifier) ;) (expression_statement "wand_view->signature = 0x54535254;" (assignment_expression "wand_view->signature = 0x54535254" (field_expression "wand_view->signature" identifier -> field_identifier) = number_literal) ;) (expression_statement "(*(code *)puVar1)(wand_view->id);" (call_expression "(*(code *)puVar1)(wand_view->id)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand_view->id)" ( (field_expression "wand_view->id" identifier -> field_identifier) ))) ;) (expression_statement "pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view);" (assignment_expression "pWVar6 = (WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view)" identifier = (cast_expression "(WandView *)(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(wand_view)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_0014f31c" * (cast_expression "(code *)PTR_RelinquishMagickMemory_0014f31c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand_view)" ( identifier ))))) ;) (return_statement "return pWVar6;" return identifier ;) })) (expression_statement "pWVar6 = (WandView *)\n           (*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (assignment_expression "pWVar6 = (WandView *)\n           (*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" identifier = (cast_expression "(WandView *)\n           (*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_0014f720)\n                     (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n                      PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" identifier + number_literal) ))))) ;) (return_statement "return pWVar6;" return identifier ;) })))
(translation_unit "void DestroyWandView(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}\n\n" (function_definition "void DestroyWandView(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}" primitive_type (function_declarator "DestroyWandView(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }" if (parenthesized_expression "(param_1[0x40c] == -0x54535255)" ( (binary_expression "param_1[0x40c] == -0x54535255" (subscript_expression "param_1[0x40c]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }" { (expression_statement "uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);" (assignment_expression "uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402])" identifier = (call_expression "FUN_0010ffc0(param_1[0x409],param_1[0x402])" identifier (argument_list "(param_1[0x409],param_1[0x402])" ( (subscript_expression "param_1[0x409]" identifier [ number_literal ]) , (subscript_expression "param_1[0x402]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar1 = PTR_DestroyImage_0014f2e4;" (assignment_expression "puVar1 = PTR_DestroyImage_0014f2e4" identifier = identifier) ;) (expression_statement "param_1[0x409] = uVar2;" (assignment_expression "param_1[0x409] = uVar2" (subscript_expression "param_1[0x409]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x407]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x407])" identifier = (call_expression "(*(code *)puVar1)(param_1[0x407])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x407])" ( (subscript_expression "param_1[0x407]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar1 = PTR_DestroyCacheView_0014f2a4;" (assignment_expression "puVar1 = PTR_DestroyCacheView_0014f2a4" identifier = identifier) ;) (expression_statement "param_1[0x407] = uVar2;" (assignment_expression "param_1[0x407] = uVar2" (subscript_expression "param_1[0x407]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x408]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x408])" identifier = (call_expression "(*(code *)puVar1)(param_1[0x408])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x408])" ( (subscript_expression "param_1[0x408]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar1 = PTR_DestroyExceptionInfo_0014f154;" (assignment_expression "puVar1 = PTR_DestroyExceptionInfo_0014f154" identifier = identifier) ;) (expression_statement "param_1[0x408] = uVar2;" (assignment_expression "param_1[0x408] = uVar2" (subscript_expression "param_1[0x408]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x40a]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x40a])" identifier = (call_expression "(*(code *)puVar1)(param_1[0x40a])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x40a])" ( (subscript_expression "param_1[0x40a]" identifier [ number_literal ]) )))) ;) (expression_statement "param_1[0x40a] = uVar2;" (assignment_expression "param_1[0x40a] = uVar2" (subscript_expression "param_1[0x40a]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_RelinquishWandId_0014f560;" (assignment_expression "puVar1 = PTR_RelinquishWandId_0014f560" identifier = identifier) ;) (expression_statement "param_1[0x40c] = 0x54535254;" (assignment_expression "param_1[0x40c] = 0x54535254" (subscript_expression "param_1[0x40c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(*param_1);" (call_expression "(*(code *)puVar1)(*param_1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_0014f31c" * (cast_expression "(code *)PTR_RelinquishMagickMemory_0014f31c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" ( (pointer_expression "*(code *)PTR___assert_fail_0014f720" * (cast_expression "(code *)PTR___assert_fail_0014f720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" ( (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (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 ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = 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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = 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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = 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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (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 ))) ;) (return_statement return ;) })) (expression_statement (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 ;) })))
(function_definition "void DestroyWandView(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}" (primitive_type "void") (function_declarator "DestroyWandView(undefined4 *param_1)" (identifier "DestroyWandView") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }\n  if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0014f720" (* "*") (cast_expression "(code *)PTR___assert_fail_0014f720" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0014f720"))) () ")")) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,\n               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (( "(") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "0x4e4c")) (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "0x4e10")) (, ",") (number_literal "0xc2") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "0x50c4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_1[0x40c] == -0x54535255) {\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1[0x40c] == -0x54535255)" (( "(") (binary_expression "param_1[0x40c] == -0x54535255" (subscript_expression "param_1[0x40c]" (identifier "param_1") ([ "[") (number_literal "0x40c") (] "]")) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);\n    puVar1 = PTR_DestroyImage_0014f2e4;\n    param_1[0x409] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x407]);\n    puVar1 = PTR_DestroyCacheView_0014f2a4;\n    param_1[0x407] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x408]);\n    puVar1 = PTR_DestroyExceptionInfo_0014f154;\n    param_1[0x408] = uVar2;\n    uVar2 = (*(code *)puVar1)(param_1[0x40a]);\n    param_1[0x40a] = uVar2;\n    puVar1 = PTR_RelinquishWandId_0014f560;\n    param_1[0x40c] = 0x54535254;\n    (*(code *)puVar1)(*param_1);\n    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);\n    return;\n  }" ({ "{") (expression_statement "uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);" (assignment_expression "uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402])" (identifier "uVar2") (= "=") (call_expression "FUN_0010ffc0(param_1[0x409],param_1[0x402])" (identifier "FUN_0010ffc0") (argument_list "(param_1[0x409],param_1[0x402])" (( "(") (subscript_expression "param_1[0x409]" (identifier "param_1") ([ "[") (number_literal "0x409") (] "]")) (, ",") (subscript_expression "param_1[0x402]" (identifier "param_1") ([ "[") (number_literal "0x402") (] "]")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_DestroyImage_0014f2e4;" (assignment_expression "puVar1 = PTR_DestroyImage_0014f2e4" (identifier "puVar1") (= "=") (identifier "PTR_DestroyImage_0014f2e4")) (; ";")) (expression_statement "param_1[0x409] = uVar2;" (assignment_expression "param_1[0x409] = uVar2" (subscript_expression "param_1[0x409]" (identifier "param_1") ([ "[") (number_literal "0x409") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x407]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x407])" (identifier "uVar2") (= "=") (call_expression "(*(code *)puVar1)(param_1[0x407])" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1[0x407])" (( "(") (subscript_expression "param_1[0x407]" (identifier "param_1") ([ "[") (number_literal "0x407") (] "]")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_DestroyCacheView_0014f2a4;" (assignment_expression "puVar1 = PTR_DestroyCacheView_0014f2a4" (identifier "puVar1") (= "=") (identifier "PTR_DestroyCacheView_0014f2a4")) (; ";")) (expression_statement "param_1[0x407] = uVar2;" (assignment_expression "param_1[0x407] = uVar2" (subscript_expression "param_1[0x407]" (identifier "param_1") ([ "[") (number_literal "0x407") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x408]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x408])" (identifier "uVar2") (= "=") (call_expression "(*(code *)puVar1)(param_1[0x408])" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1[0x408])" (( "(") (subscript_expression "param_1[0x408]" (identifier "param_1") ([ "[") (number_literal "0x408") (] "]")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_DestroyExceptionInfo_0014f154;" (assignment_expression "puVar1 = PTR_DestroyExceptionInfo_0014f154" (identifier "puVar1") (= "=") (identifier "PTR_DestroyExceptionInfo_0014f154")) (; ";")) (expression_statement "param_1[0x408] = uVar2;" (assignment_expression "param_1[0x408] = uVar2" (subscript_expression "param_1[0x408]" (identifier "param_1") ([ "[") (number_literal "0x408") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = (*(code *)puVar1)(param_1[0x40a]);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_1[0x40a])" (identifier "uVar2") (= "=") (call_expression "(*(code *)puVar1)(param_1[0x40a])" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1[0x40a])" (( "(") (subscript_expression "param_1[0x40a]" (identifier "param_1") ([ "[") (number_literal "0x40a") (] "]")) () ")")))) (; ";")) (expression_statement "param_1[0x40a] = uVar2;" (assignment_expression "param_1[0x40a] = uVar2" (subscript_expression "param_1[0x40a]" (identifier "param_1") ([ "[") (number_literal "0x40a") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1 = PTR_RelinquishWandId_0014f560;" (assignment_expression "puVar1 = PTR_RelinquishWandId_0014f560" (identifier "puVar1") (= "=") (identifier "PTR_RelinquishWandId_0014f560")) (; ";")) (expression_statement "param_1[0x40c] = 0x54535254;" (assignment_expression "param_1[0x40c] = 0x54535254" (subscript_expression "param_1[0x40c]" (identifier "param_1") ([ "[") (number_literal "0x40c") (] "]")) (= "=") (number_literal "0x54535254")) (; ";")) (expression_statement "(*(code *)puVar1)(*param_1);" (call_expression "(*(code *)puVar1)(*param_1)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_0014f31c)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickMemory_0014f31c" (* "*") (cast_expression "(code *)PTR_RelinquishMagickMemory_0014f31c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickMemory_0014f31c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (parenthesized_expression "(*(code *)PTR___assert_fail_0014f720)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0014f720" (* "*") (cast_expression "(code *)PTR___assert_fail_0014f720" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0014f720"))) () ")")) (argument_list "(PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,\n             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4)" (( "(") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "0x4e6c")) (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "0x4e10")) (, ",") (number_literal "0xc3") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "0x50c4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 * function_1(type_1 *var_1)

{
  type_2 *puVar1;
  type_3 ***pppPVar2;
  type_4 *pIVar3;
  type_5 *pCVar4;
  type_6 *pEVar5;
  type_1 *pWVar6;
  
  if (var_1 == (type_1 *)0x0) {
    pWVar6 = (type_1 *)
             (*(type_7 *)PTR___assert_fail_0014f720)
                       (var_2 + 0x4e4c,
                        var_2 + 0x4e10,0xc2,
                        var_2 + 0x50c4);
    return pWVar6;
  }
  if (var_1->signature == 0xabacadab) {
    pppPVar2 = var_3(var_1->pixel_wands,(var_1->extent).width);
    puVar1 = PTR_DestroyImage_0014f2e4;
    var_1->pixel_wands = pppPVar2;
    pIVar3 = (type_4 *)(*(type_7 *)puVar1)(var_1->image);
    puVar1 = PTR_DestroyCacheView_0014f2a4;
    var_1->image = pIVar3;
    pCVar4 = (type_5 *)(*(type_7 *)puVar1)(var_1->view);
    puVar1 = PTR_DestroyExceptionInfo_0014f154;
    var_1->view = pCVar4;
    pEVar5 = (type_6 *)(*(type_7 *)puVar1)(var_1->exception);
    var_1->exception = pEVar5;
    puVar1 = PTR_RelinquishWandId_0014f560;
    var_1->signature = 0x54535254;
    (*(type_7 *)puVar1)(var_1->id);
    pWVar6 = (type_1 *)(*(type_7 *)PTR_RelinquishMagickMemory_0014f31c)(var_1);
    return pWVar6;
  }
  pWVar6 = (type_1 *)
           (*(type_7 *)PTR___assert_fail_0014f720)
                     (var_2 + 0x4e6c,
                      var_2 + 0x4e10,0xc3,
                      var_2 + 0x50c4);
  return pWVar6;
}


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

void MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  if (param_1 == (undefined4 *)0x0) {
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e4c,
               PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc2,
               PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);
    return;
  }
  if (param_1[0x40c] == -0x54535255) {
    uVar2 = FUN_0010ffc0(param_1[0x409],param_1[0x402]);
    puVar1 = PTR_DestroyImage_0014f2e4;
    param_1[0x409] = uVar2;
    uVar2 = (*(code *)puVar1)(param_1[0x407]);
    puVar1 = PTR_DestroyCacheView_0014f2a4;
    param_1[0x407] = uVar2;
    uVar2 = (*(code *)puVar1)(param_1[0x408]);
    puVar1 = PTR_DestroyExceptionInfo_0014f154;
    param_1[0x408] = uVar2;
    uVar2 = (*(code *)puVar1)(param_1[0x40a]);
    param_1[0x40a] = uVar2;
    puVar1 = PTR_RelinquishWandId_0014f560;
    param_1[0x40c] = 0x54535254;
    (*(code *)puVar1)(*param_1);
    (*(code *)PTR_RelinquishMagickMemory_0014f31c)(param_1);
    return;
  }
  (*(code *)PTR___assert_fail_0014f720)
            (PTR_s_the_image__define_format_option_d_0014f030 + 0x4e6c,
             PTR_s_the_image__define_format_option_d_0014f030 + 0x4e10,0xc3,
             PTR_s_the_image__define_format_option_d_0014f030 + 0x50c4);
  return;
}

