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

void ClearMagickWand(MagickWand *wand)

{
  ImageInfo *pIVar1;
  Image *pIVar2;
  MagickBooleanType MVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined *puVar7;
  code *pcVar8;
  
  if (wand != (MagickWand *)0x0) {
    if (wand->signature == 0xabacadab) {
      if (wand->debug != MagickFalse) {
        (*(code *)PTR_LogMagickEvent_0014f488)
                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);
      }
      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);
      puVar7 = PTR_DestroyImageList_0014f690;
      wand->image_info = pIVar1;
      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);
      puVar7 = PTR_AcquireImageInfo_0014f474;
      wand->images = pIVar2;
      pIVar1 = (ImageInfo *)(*(code *)puVar7)();
      wand->image_info = pIVar1;
      wand->insert_before = MagickFalse;
      puVar7 = PTR_ClearMagickException_0014f3d4;
      wand->image_pending = MagickFalse;
      (*(code *)puVar7)(wand->exception);
      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();
      wand->debug = MVar3;
      return;
    }
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_t_char____NULL_0014f03c + 0x419c,
               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,
               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);
  }
  puVar5 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);
  puVar7 = PTR___assert_fail_0014f720;
  (*(code *)PTR___assert_fail_0014f720)
            (puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,
             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);
  if (puVar5 != (undefined4 *)0x0) {
    if (puVar5[0x407] == -0x54535255) {
      if (puVar5[0x406] != 0) {
        (**(code **)(puVar7 + 0xb3938))
                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68
                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);
      }
      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);
      puVar5[0x401] = uVar4;
      if (puVar5[0x402] != 0) {
        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();
        puVar5[0x402] = uVar4;
      }
      if (puVar5[0x403] != 0) {
        uVar4 = (**(code **)(puVar7 + 0xb3604))();
        puVar5[0x403] = uVar4;
      }
      (**(code **)(puVar7 + 0xb3a10))(*puVar5);
      puVar5[0x407] = 0x54535254;
                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (**(code **)(puVar7 + 0xb37cc))(puVar5);
      return;
    }
    (**(code **)(puVar7 + 0xb3bd0))
              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,
               *(int *)(puVar7 + 0xb34e0) + -0x7b54);
  }
  pcVar8 = *(code **)(puVar7 + 0xb3bd0);
  iVar6 = *(int *)(puVar7 + 0xb34ec) + 0x417c;
  (*pcVar8)(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54);
  if ((iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255)) {
    (**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);
    return;
  }
  return;
}



uint ClearMagickWand(int param_1)

{
  undefined4 uVar1;
  uint uVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined *puVar6;
  code *pcVar7;
  
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x101c) == -0x54535255) {
      if (*(int *)(&DAT_00001018 + param_1) != 0) {
        (*(code *)PTR_LogMagickEvent_0014f488)
                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);
      }
      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));
      puVar6 = PTR_DestroyImageList_0014f690;
      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;
      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));
      puVar6 = PTR_AcquireImageInfo_0014f474;
      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;
      uVar1 = (*(code *)puVar6)();
      uVar3 = *(undefined4 *)(param_1 + 0x100c);
      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;
      *(undefined4 *)(&DAT_00001010 + param_1) = 0;
      puVar6 = PTR_ClearMagickException_0014f3d4;
      *(undefined4 *)(&DAT_00001014 + param_1) = 0;
      (*(code *)puVar6)(uVar3);
      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();
      *(uint *)(&DAT_00001018 + param_1) = uVar2;
      return uVar2;
    }
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_t_char____NULL_0014f03c + 0x419c,
               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,
               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);
  }
  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);
  puVar6 = PTR___assert_fail_0014f720;
  (*(code *)PTR___assert_fail_0014f720)
            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,
             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);
  if (puVar4 != (undefined4 *)0x0) {
    if (puVar4[0x407] == -0x54535255) {
      if (puVar4[0x406] != 0) {
        (**(code **)(puVar6 + 0xb3938))
                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68
                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);
      }
      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);
      puVar4[0x401] = uVar1;
      if (puVar4[0x402] != 0) {
        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();
        puVar4[0x402] = uVar1;
      }
      if (puVar4[0x403] != 0) {
        uVar1 = (**(code **)(puVar6 + 0xb3604))();
        puVar4[0x403] = uVar1;
      }
      (**(code **)(puVar6 + 0xb3a10))(*puVar4);
      puVar4[0x407] = 0x54535254;
                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);
      return uVar2;
    }
    (**(code **)(puVar6 + 0xb3bd0))
              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,
               *(int *)(puVar6 + 0xb34e0) + -0x7b54);
  }
  pcVar7 = *(code **)(puVar6 + 0xb3bd0);
  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;
  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);
  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {
    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);
    return (uint)(iVar5 == 0);
  }
  return 0;
}


lui gp,0xc
addiu gp,gp,-0x4a20
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x18(sp)
sw ra,0x24(sp)
beq a0,zero,0x0009bb2c
_sw s0,0x20(sp)
lui v0,0xabac
lw v1,0x101c(a0)
ori v0,v0,0xadab
bne v1,v0,0x0009bb08
_or s0,a0,zero
lw v0,0x1018(a0)
beq v0,zero,0x0009ba9c
_lw t9,-0x78fc(gp)
addiu v0,a0,0x4
lw a2,-0x7fd0(gp)
lw a1,-0x7fd0(gp)
li a3,0x52
lw t9,-0x7b78(gp)
lui a0,0x4
sw v0,0x14(sp)
addiu a2,a2,-0x7b20
lw v0,-0x7fd0(gp)
addiu a1,a1,-0x7dd0
addiu v0,v0,-0x131c
jalr t9
_sw v0,0x10(sp)
lw gp,0x18(sp)
lw t9,-0x78fc(gp)
jalr t9
_lw a0,0x1008(s0)
lw gp,0x18(sp)
lw a0,0x1004(s0)
lw t9,-0x7970(gp)
jalr t9
_sw v0,0x1008(s0)
lw gp,0x18(sp)
lw t9,-0x7b8c(gp)
jalr t9
_sw v0,0x1004(s0)
lw gp,0x18(sp)
lw a0,0x100c(s0)
sw v0,0x1008(s0)
sw zero,0x1010(s0)
lw t9,-0x7c2c(gp)
jalr t9
_sw zero,0x1014(s0)
lw gp,0x18(sp)
lw t9,-0x77f8(gp)
jalr t9
_nop
lw ra,0x24(sp)
sw v0,0x1018(s0)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fd0(gp)
li a2,0x50
lw a1,-0x7fd0(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,-0x7b10
addiu a1,a1,-0x7dd0
jalr t9
_addiu a0,a0,0x419c
lw a3,-0x7fd0(gp)
li a2,0x4f
lw a1,-0x7fd0(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x78e0(gp)
addiu a3,a3,-0x7b10
addiu a1,a1,-0x7dd0
jalr t9
_addiu a0,a0,0x417c
(translation_unit "uint ClearMagickWand(int param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}\n\n" (function_definition "uint ClearMagickWand(int param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}" type_identifier (function_declarator "ClearMagickWand(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" { (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\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      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }" { (if_statement "if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) != 0)" ( (binary_expression "*(int *)(&DAT_00001018 + param_1) != 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" * (cast_expression "(int *)(&DAT_00001018 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" { (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" * (cast_expression "(code *)PTR_LogMagickEvent_0014f488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));" (assignment_expression "uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1))" identifier = (call_expression "(*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1))" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_0014f704)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_0014f704" * (cast_expression "(code *)PTR_DestroyImageInfo_0014f704" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1))" ( (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) )))) ;) (expression_statement "puVar6 = PTR_DestroyImageList_0014f690;" (assignment_expression "puVar6 = PTR_DestroyImageList_0014f690" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));" (assignment_expression "uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1))" identifier = (call_expression "(*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1))" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001004 + param_1))" ( (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) )))) ;) (expression_statement "puVar6 = PTR_AcquireImageInfo_0014f474;" (assignment_expression "puVar6 = PTR_AcquireImageInfo_0014f474" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001004 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001004 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = (*(code *)puVar6)();" (assignment_expression "uVar1 = (*(code *)puVar6)()" identifier = (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x100c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001010 + param_1) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00001010 + param_1) = 0" (pointer_expression "*(undefined4 *)(&DAT_00001010 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001010 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001010 + param_1)" ( (binary_expression "&DAT_00001010 + param_1" (pointer_expression "&DAT_00001010" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar6 = PTR_ClearMagickException_0014f3d4;" (assignment_expression "puVar6 = PTR_ClearMagickException_0014f3d4" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001014 + param_1) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00001014 + param_1) = 0" (pointer_expression "*(undefined4 *)(&DAT_00001014 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001014 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001014 + param_1)" ( (binary_expression "&DAT_00001014 + param_1" (pointer_expression "&DAT_00001014" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)puVar6)(uVar3);" (call_expression "(*(code *)puVar6)(uVar3)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();" (assignment_expression "uVar2 = (*(code *)PTR_IsEventLogging_0014f808)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_0014f808)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_0014f808)" ( (pointer_expression "*(code *)PTR_IsEventLogging_0014f808" * (cast_expression "(code *)PTR_IsEventLogging_0014f808" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(&DAT_00001018 + param_1) = uVar2;" (assignment_expression "*(uint *)(&DAT_00001018 + param_1) = uVar2" (pointer_expression "*(uint *)(&DAT_00001018 + param_1)" * (cast_expression "(uint *)(&DAT_00001018 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) = identifier) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" identifier + number_literal) ))) ;) })) (expression_statement "puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);" (assignment_expression "puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" identifier = (cast_expression "(undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_char____NULL_0014f03c + 0x417c)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR___assert_fail_0014f720;" (assignment_expression "puVar6 = PTR___assert_fail_0014f720" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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 "(puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" ( identifier , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" identifier + number_literal) ))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }" { (if_statement "if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }" if (parenthesized_expression "(puVar4[0x407] == -0x54535255)" ( (binary_expression "puVar4[0x407] == -0x54535255" (subscript_expression "puVar4[0x407]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }" { (if_statement "if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }" if (parenthesized_expression "(puVar4[0x406] != 0)" ( (binary_expression "puVar4[0x406] != 0" (subscript_expression "puVar4[0x406]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }" { (expression_statement "(**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);" (call_expression "(**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3938))" ( (pointer_expression "**(code **)(puVar6 + 0xb3938)" * (pointer_expression "*(code **)(puVar6 + 0xb3938)" * (cast_expression "(code **)(puVar6 + 0xb3938)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3938)" ( (binary_expression "puVar6 + 0xb3938" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1)" ( number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b68" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x131c" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar4 + 1" identifier + number_literal) ))) ;) })) (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401])" identifier = (call_expression "(**(code **)(puVar6 + 0xb3b40))(puVar4[0x401])" (parenthesized_expression "(**(code **)(puVar6 + 0xb3b40))" ( (pointer_expression "**(code **)(puVar6 + 0xb3b40)" * (pointer_expression "*(code **)(puVar6 + 0xb3b40)" * (cast_expression "(code **)(puVar6 + 0xb3b40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3b40)" ( (binary_expression "puVar6 + 0xb3b40" identifier + number_literal) ))))) )) (argument_list "(puVar4[0x401])" ( (subscript_expression "puVar4[0x401]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar4[0x401] = uVar1;" (assignment_expression "puVar4[0x401] = uVar1" (subscript_expression "puVar4[0x401]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }" if (parenthesized_expression "(puVar4[0x402] != 0)" ( (binary_expression "puVar4[0x402] != 0" (subscript_expression "puVar4[0x402]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }" { (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3bb4))();" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3bb4))()" identifier = (call_expression "(**(code **)(puVar6 + 0xb3bb4))()" (parenthesized_expression "(**(code **)(puVar6 + 0xb3bb4))" ( (pointer_expression "**(code **)(puVar6 + 0xb3bb4)" * (pointer_expression "*(code **)(puVar6 + 0xb3bb4)" * (cast_expression "(code **)(puVar6 + 0xb3bb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3bb4)" ( (binary_expression "puVar6 + 0xb3bb4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4[0x402] = uVar1;" (assignment_expression "puVar4[0x402] = uVar1" (subscript_expression "puVar4[0x402]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }" if (parenthesized_expression "(puVar4[0x403] != 0)" ( (binary_expression "puVar4[0x403] != 0" (subscript_expression "puVar4[0x403]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }" { (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3604))();" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3604))()" identifier = (call_expression "(**(code **)(puVar6 + 0xb3604))()" (parenthesized_expression "(**(code **)(puVar6 + 0xb3604))" ( (pointer_expression "**(code **)(puVar6 + 0xb3604)" * (pointer_expression "*(code **)(puVar6 + 0xb3604)" * (cast_expression "(code **)(puVar6 + 0xb3604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3604)" ( (binary_expression "puVar6 + 0xb3604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4[0x403] = uVar1;" (assignment_expression "puVar4[0x403] = uVar1" (subscript_expression "puVar4[0x403]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(**(code **)(puVar6 + 0xb3a10))(*puVar4);" (call_expression "(**(code **)(puVar6 + 0xb3a10))(*puVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3a10))" ( (pointer_expression "**(code **)(puVar6 + 0xb3a10)" * (pointer_expression "*(code **)(puVar6 + 0xb3a10)" * (cast_expression "(code **)(puVar6 + 0xb3a10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3a10)" ( (binary_expression "puVar6 + 0xb3a10" identifier + number_literal) ))))) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) ))) ;) (expression_statement "puVar4[0x407] = 0x54535254;" (assignment_expression "puVar4[0x407] = 0x54535254" (subscript_expression "puVar4[0x407]" identifier [ number_literal ]) = number_literal) ;) comment comment (expression_statement "uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);" (assignment_expression "uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4)" identifier = (call_expression "(**(code **)(puVar6 + 0xb37cc))(puVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0xb37cc))" ( (pointer_expression "**(code **)(puVar6 + 0xb37cc)" * (pointer_expression "*(code **)(puVar6 + 0xb37cc)" * (cast_expression "(code **)(puVar6 + 0xb37cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb37cc)" ( (binary_expression "puVar6 + 0xb37cc" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "(**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);" (call_expression "(**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3bd0))" ( (pointer_expression "**(code **)(puVar6 + 0xb3bd0)" * (pointer_expression "*(code **)(puVar6 + 0xb3bd0)" * (cast_expression "(code **)(puVar6 + 0xb3bd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3bd0)" ( (binary_expression "puVar6 + 0xb3bd0" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54)" ( (binary_expression "*(int *)(puVar6 + 0xb34ec) + 0x419c" (pointer_expression "*(int *)(puVar6 + 0xb34ec)" * (cast_expression "(int *)(puVar6 + 0xb34ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34ec)" ( (binary_expression "puVar6 + 0xb34ec" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xb3bd0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xb3bd0)" identifier = (pointer_expression "*(code **)(puVar6 + 0xb3bd0)" * (cast_expression "(code **)(puVar6 + 0xb3bd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3bd0)" ( (binary_expression "puVar6 + 0xb3bd0" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;" (assignment_expression "iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c" identifier = (binary_expression "*(int *)(puVar6 + 0xb34ec) + 0x417c" (pointer_expression "*(int *)(puVar6 + 0xb34ec)" * (cast_expression "(int *)(puVar6 + 0xb34ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34ec)" ( (binary_expression "puVar6 + 0xb34ec" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);" (call_expression "(*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54)" ( identifier , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }" if (parenthesized_expression "((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255))" ( (binary_expression "(iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar5 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(iVar5 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(iVar5 + 0x101c)" * (cast_expression "(int *)(iVar5 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x101c)" ( (binary_expression "iVar5 + 0x101c" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }" { (expression_statement "iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);" (assignment_expression "iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" identifier = (call_expression "(**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" (parenthesized_expression "(**(code **)(pcVar7 + 0xb3aa4))" ( (pointer_expression "**(code **)(pcVar7 + 0xb3aa4)" * (pointer_expression "*(code **)(pcVar7 + 0xb3aa4)" * (cast_expression "(code **)(pcVar7 + 0xb3aa4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0xb3aa4)" ( (binary_expression "pcVar7 + 0xb3aa4" identifier + number_literal) ))))) )) (argument_list "(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" ( (binary_expression "iVar5 + 4" identifier + number_literal) , (binary_expression "*(int *)(pcVar7 + 0xb33ac) + 0x416c" (pointer_expression "*(int *)(pcVar7 + 0xb33ac)" * (cast_expression "(int *)(pcVar7 + 0xb33ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0xb33ac)" ( (binary_expression "pcVar7 + 0xb33ac" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (return_statement "return (uint)(iVar5 == 0);" return (call_expression "(uint)(iVar5 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(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\nvoid ClearMagickWand(MagickWand *wand)\n\n{\n  ImageInfo *pIVar1;\n  Image *pIVar2;\n  MagickBooleanType MVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  \n  if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar5 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[0x407] == -0x54535255) {\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }\n    (**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  }\n  pcVar8 = *(code **)(puVar7 + 0xb3bd0);\n  iVar6 = *(int *)(puVar7 + 0xb34ec) + 0x417c;\n  (*pcVar8)(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  if ((iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255)) {\n    (**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);\n    return;\n  }\n  return;\n}\n\n" comment comment comment comment comment (function_definition "void ClearMagickWand(MagickWand *wand)\n\n{\n  ImageInfo *pIVar1;\n  Image *pIVar2;\n  MagickBooleanType MVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  \n  if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar5 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[0x407] == -0x54535255) {\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }\n    (**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  }\n  pcVar8 = *(code **)(puVar7 + 0xb3bd0);\n  iVar6 = *(int *)(puVar7 + 0xb34ec) + 0x417c;\n  (*pcVar8)(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  if ((iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255)) {\n    (**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "ClearMagickWand(MagickWand *wand)" identifier (parameter_list "(MagickWand *wand)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) ))) (compound_statement "{\n  ImageInfo *pIVar1;\n  Image *pIVar2;\n  MagickBooleanType MVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  \n  if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar5 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar7 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[0x407] == -0x54535255) {\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }\n    (**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  }\n  pcVar8 = *(code **)(puVar7 + 0xb3bd0);\n  iVar6 = *(int *)(puVar7 + 0xb34ec) + 0x417c;\n  (*pcVar8)(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  if ((iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255)) {\n    (**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);\n    return;\n  }\n  return;\n}" { (declaration "ImageInfo *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "MagickBooleanType MVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (if_statement "if (wand != (MagickWand *)0x0) {\n    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\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    if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" { (if_statement "if (wand->signature == 0xabacadab) {\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }" if (parenthesized_expression "(wand->signature == 0xabacadab)" ( (binary_expression "wand->signature == 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }\n      pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);\n      puVar7 = PTR_DestroyImageList_0014f690;\n      wand->image_info = pIVar1;\n      pIVar2 = (Image *)(*(code *)puVar7)(wand->images);\n      puVar7 = PTR_AcquireImageInfo_0014f474;\n      wand->images = pIVar2;\n      pIVar1 = (ImageInfo *)(*(code *)puVar7)();\n      wand->image_info = pIVar1;\n      wand->insert_before = MagickFalse;\n      puVar7 = PTR_ClearMagickException_0014f3d4;\n      wand->image_pending = MagickFalse;\n      (*(code *)puVar7)(wand->exception);\n      MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();\n      wand->debug = MVar3;\n      return;\n    }" { (if_statement "if (wand->debug != MagickFalse) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }" if (parenthesized_expression "(wand->debug != MagickFalse)" ( (binary_expression "wand->debug != MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);\n      }" { (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" * (cast_expression "(code *)PTR_LogMagickEvent_0014f488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,wand->name)" ( number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" identifier + number_literal) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (expression_statement "pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info);" (assignment_expression "pIVar1 = (ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info)" identifier = (cast_expression "(ImageInfo *)(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImageInfo_0014f704)(wand->image_info)" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_0014f704)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_0014f704" * (cast_expression "(code *)PTR_DestroyImageInfo_0014f704" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->image_info)" ( (field_expression "wand->image_info" identifier -> field_identifier) ))))) ;) (expression_statement "puVar7 = PTR_DestroyImageList_0014f690;" (assignment_expression "puVar7 = PTR_DestroyImageList_0014f690" identifier = identifier) ;) (expression_statement "wand->image_info = pIVar1;" (assignment_expression "wand->image_info = pIVar1" (field_expression "wand->image_info" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar2 = (Image *)(*(code *)puVar7)(wand->images);" (assignment_expression "pIVar2 = (Image *)(*(code *)puVar7)(wand->images)" identifier = (cast_expression "(Image *)(*(code *)puVar7)(wand->images)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar7)(wand->images)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->images)" ( (field_expression "wand->images" identifier -> field_identifier) ))))) ;) (expression_statement "puVar7 = PTR_AcquireImageInfo_0014f474;" (assignment_expression "puVar7 = PTR_AcquireImageInfo_0014f474" identifier = identifier) ;) (expression_statement "wand->images = pIVar2;" (assignment_expression "wand->images = pIVar2" (field_expression "wand->images" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar1 = (ImageInfo *)(*(code *)puVar7)();" (assignment_expression "pIVar1 = (ImageInfo *)(*(code *)puVar7)()" identifier = (cast_expression "(ImageInfo *)(*(code *)puVar7)()" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar7)()" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "wand->image_info = pIVar1;" (assignment_expression "wand->image_info = pIVar1" (field_expression "wand->image_info" identifier -> field_identifier) = identifier) ;) (expression_statement "wand->insert_before = MagickFalse;" (assignment_expression "wand->insert_before = MagickFalse" (field_expression "wand->insert_before" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar7 = PTR_ClearMagickException_0014f3d4;" (assignment_expression "puVar7 = PTR_ClearMagickException_0014f3d4" identifier = identifier) ;) (expression_statement "wand->image_pending = MagickFalse;" (assignment_expression "wand->image_pending = MagickFalse" (field_expression "wand->image_pending" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar7)(wand->exception);" (call_expression "(*(code *)puVar7)(wand->exception)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->exception)" ( (field_expression "wand->exception" identifier -> field_identifier) ))) ;) (expression_statement "MVar3 = (*(code *)PTR_IsEventLogging_0014f808)();" (assignment_expression "MVar3 = (*(code *)PTR_IsEventLogging_0014f808)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_0014f808)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_0014f808)" ( (pointer_expression "*(code *)PTR_IsEventLogging_0014f808" * (cast_expression "(code *)PTR_IsEventLogging_0014f808" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "wand->debug = MVar3;" (assignment_expression "wand->debug = MVar3" (field_expression "wand->debug" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" identifier + number_literal) ))) ;) })) (expression_statement "puVar5 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);" (assignment_expression "puVar5 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" identifier = (cast_expression "(undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_char____NULL_0014f03c + 0x417c)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" identifier + number_literal) )))) ;) (expression_statement "puVar7 = PTR___assert_fail_0014f720;" (assignment_expression "puVar7 = PTR___assert_fail_0014f720" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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 "(puVar5,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" ( identifier , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" identifier + number_literal) ))) ;) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[0x407] == -0x54535255) {\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }\n    (**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar5[0x407] == -0x54535255) {\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }\n    (**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54);\n  }" { (if_statement "if (puVar5[0x407] == -0x54535255) {\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }" if (parenthesized_expression "(puVar5[0x407] == -0x54535255)" ( (binary_expression "puVar5[0x407] == -0x54535255" (subscript_expression "puVar5[0x407]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }\n      uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);\n      puVar5[0x401] = uVar4;\n      if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }\n      if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }\n      (**(code **)(puVar7 + 0xb3a10))(*puVar5);\n      puVar5[0x407] = 0x54535254;\n                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(puVar7 + 0xb37cc))(puVar5);\n      return;\n    }" { (if_statement "if (puVar5[0x406] != 0) {\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }" if (parenthesized_expression "(puVar5[0x406] != 0)" ( (binary_expression "puVar5[0x406] != 0" (subscript_expression "puVar5[0x406]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        (**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);\n      }" { (expression_statement "(**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1);" (call_expression "(**(code **)(puVar7 + 0xb3938))\n                  (0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1)" (parenthesized_expression "(**(code **)(puVar7 + 0xb3938))" ( (pointer_expression "**(code **)(puVar7 + 0xb3938)" * (pointer_expression "*(code **)(puVar7 + 0xb3938)" * (cast_expression "(code **)(puVar7 + 0xb3938)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3938)" ( (binary_expression "puVar7 + 0xb3938" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,*(int *)(puVar7 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar7 + 0xb34e0) + -0x131c,puVar5 + 1)" ( number_literal , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x7b68" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x131c" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar5 + 1" identifier + number_literal) ))) ;) })) (expression_statement "uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401]);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0xb3b40))(puVar5[0x401])" identifier = (call_expression "(**(code **)(puVar7 + 0xb3b40))(puVar5[0x401])" (parenthesized_expression "(**(code **)(puVar7 + 0xb3b40))" ( (pointer_expression "**(code **)(puVar7 + 0xb3b40)" * (pointer_expression "*(code **)(puVar7 + 0xb3b40)" * (cast_expression "(code **)(puVar7 + 0xb3b40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3b40)" ( (binary_expression "puVar7 + 0xb3b40" identifier + number_literal) ))))) )) (argument_list "(puVar5[0x401])" ( (subscript_expression "puVar5[0x401]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar5[0x401] = uVar4;" (assignment_expression "puVar5[0x401] = uVar4" (subscript_expression "puVar5[0x401]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar5[0x402] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }" if (parenthesized_expression "(puVar5[0x402] != 0)" ( (binary_expression "puVar5[0x402] != 0" (subscript_expression "puVar5[0x402]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar4 = (**(code **)(puVar7 + 0xb3bb4))();\n        puVar5[0x402] = uVar4;\n      }" { (expression_statement "uVar4 = (**(code **)(puVar7 + 0xb3bb4))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0xb3bb4))()" identifier = (call_expression "(**(code **)(puVar7 + 0xb3bb4))()" (parenthesized_expression "(**(code **)(puVar7 + 0xb3bb4))" ( (pointer_expression "**(code **)(puVar7 + 0xb3bb4)" * (pointer_expression "*(code **)(puVar7 + 0xb3bb4)" * (cast_expression "(code **)(puVar7 + 0xb3bb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3bb4)" ( (binary_expression "puVar7 + 0xb3bb4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar5[0x402] = uVar4;" (assignment_expression "puVar5[0x402] = uVar4" (subscript_expression "puVar5[0x402]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (puVar5[0x403] != 0) {\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }" if (parenthesized_expression "(puVar5[0x403] != 0)" ( (binary_expression "puVar5[0x403] != 0" (subscript_expression "puVar5[0x403]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar4 = (**(code **)(puVar7 + 0xb3604))();\n        puVar5[0x403] = uVar4;\n      }" { (expression_statement "uVar4 = (**(code **)(puVar7 + 0xb3604))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0xb3604))()" identifier = (call_expression "(**(code **)(puVar7 + 0xb3604))()" (parenthesized_expression "(**(code **)(puVar7 + 0xb3604))" ( (pointer_expression "**(code **)(puVar7 + 0xb3604)" * (pointer_expression "*(code **)(puVar7 + 0xb3604)" * (cast_expression "(code **)(puVar7 + 0xb3604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3604)" ( (binary_expression "puVar7 + 0xb3604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar5[0x403] = uVar4;" (assignment_expression "puVar5[0x403] = uVar4" (subscript_expression "puVar5[0x403]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(**(code **)(puVar7 + 0xb3a10))(*puVar5);" (call_expression "(**(code **)(puVar7 + 0xb3a10))(*puVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0xb3a10))" ( (pointer_expression "**(code **)(puVar7 + 0xb3a10)" * (pointer_expression "*(code **)(puVar7 + 0xb3a10)" * (cast_expression "(code **)(puVar7 + 0xb3a10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3a10)" ( (binary_expression "puVar7 + 0xb3a10" identifier + number_literal) ))))) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) ))) ;) (expression_statement "puVar5[0x407] = 0x54535254;" (assignment_expression "puVar5[0x407] = 0x54535254" (subscript_expression "puVar5[0x407]" identifier [ number_literal ]) = number_literal) ;) comment comment (expression_statement "(**(code **)(puVar7 + 0xb37cc))(puVar5);" (call_expression "(**(code **)(puVar7 + 0xb37cc))(puVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0xb37cc))" ( (pointer_expression "**(code **)(puVar7 + 0xb37cc)" * (pointer_expression "*(code **)(puVar7 + 0xb37cc)" * (cast_expression "(code **)(puVar7 + 0xb37cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb37cc)" ( (binary_expression "puVar7 + 0xb37cc" identifier + number_literal) ))))) )) (argument_list "(puVar5)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54);" (call_expression "(**(code **)(puVar7 + 0xb3bd0))\n              (*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(**(code **)(puVar7 + 0xb3bd0))" ( (pointer_expression "**(code **)(puVar7 + 0xb3bd0)" * (pointer_expression "*(code **)(puVar7 + 0xb3bd0)" * (cast_expression "(code **)(puVar7 + 0xb3bd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3bd0)" ( (binary_expression "puVar7 + 0xb3bd0" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar7 + 0xb34ec) + 0x419c,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar7 + 0xb34e0) + -0x7b54)" ( (binary_expression "*(int *)(puVar7 + 0xb34ec) + 0x419c" (pointer_expression "*(int *)(puVar7 + 0xb34ec)" * (cast_expression "(int *)(puVar7 + 0xb34ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34ec)" ( (binary_expression "puVar7 + 0xb34ec" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar8 = *(code **)(puVar7 + 0xb3bd0);" (assignment_expression "pcVar8 = *(code **)(puVar7 + 0xb3bd0)" identifier = (pointer_expression "*(code **)(puVar7 + 0xb3bd0)" * (cast_expression "(code **)(puVar7 + 0xb3bd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb3bd0)" ( (binary_expression "puVar7 + 0xb3bd0" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(puVar7 + 0xb34ec) + 0x417c;" (assignment_expression "iVar6 = *(int *)(puVar7 + 0xb34ec) + 0x417c" identifier = (binary_expression "*(int *)(puVar7 + 0xb34ec) + 0x417c" (pointer_expression "*(int *)(puVar7 + 0xb34ec)" * (cast_expression "(int *)(puVar7 + 0xb34ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34ec)" ( (binary_expression "puVar7 + 0xb34ec" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar8)(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54);" (call_expression "(*pcVar8)(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(iVar6,*(int *)(puVar7 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar7 + 0xb34e0) + -0x7b54)" ( identifier , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar7 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar7 + 0xb34e0)" * (cast_expression "(int *)(puVar7 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb34e0)" ( (binary_expression "puVar7 + 0xb34e0" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if ((iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255)) {\n    (**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);\n    return;\n  }" if (parenthesized_expression "((iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255))" ( (binary_expression "(iVar6 != 0) && (*(int *)(iVar6 + 0x101c) == -0x54535255)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar6 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(iVar6 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(iVar6 + 0x101c)" * (cast_expression "(int *)(iVar6 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x101c)" ( (binary_expression "iVar6 + 0x101c" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    (**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);\n    return;\n  }" { (expression_statement "(**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10);" (call_expression "(**(code **)(pcVar8 + 0xb3aa4))(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10)" (parenthesized_expression "(**(code **)(pcVar8 + 0xb3aa4))" ( (pointer_expression "**(code **)(pcVar8 + 0xb3aa4)" * (pointer_expression "*(code **)(pcVar8 + 0xb3aa4)" * (cast_expression "(code **)(pcVar8 + 0xb3aa4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0xb3aa4)" ( (binary_expression "pcVar8 + 0xb3aa4" identifier + number_literal) ))))) )) (argument_list "(iVar6 + 4,*(int *)(pcVar8 + 0xb33ac) + 0x416c,10)" ( (binary_expression "iVar6 + 4" identifier + number_literal) , (binary_expression "*(int *)(pcVar8 + 0xb33ac) + 0x416c" (pointer_expression "*(int *)(pcVar8 + 0xb33ac)" * (cast_expression "(int *)(pcVar8 + 0xb33ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar8 + 0xb33ac)" ( (binary_expression "pcVar8 + 0xb33ac" identifier + number_literal) )))) + number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "uint ClearMagickWand(int param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}\n\n" (function_definition "uint ClearMagickWand(int param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}" type_identifier (function_declarator "ClearMagickWand(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" { (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\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      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }" { (if_statement "if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) != 0)" ( (binary_expression "*(int *)(&DAT_00001018 + param_1) != 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" * (cast_expression "(int *)(&DAT_00001018 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" { (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" * (cast_expression "(code *)PTR_LogMagickEvent_0014f488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));" (assignment_expression "uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1))" identifier = (call_expression "(*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1))" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_0014f704)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_0014f704" * (cast_expression "(code *)PTR_DestroyImageInfo_0014f704" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1))" ( (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) )))) ;) (expression_statement "puVar6 = PTR_DestroyImageList_0014f690;" (assignment_expression "puVar6 = PTR_DestroyImageList_0014f690" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));" (assignment_expression "uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1))" identifier = (call_expression "(*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1))" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001004 + param_1))" ( (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) )))) ;) (expression_statement "puVar6 = PTR_AcquireImageInfo_0014f474;" (assignment_expression "puVar6 = PTR_AcquireImageInfo_0014f474" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001004 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001004 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = (*(code *)puVar6)();" (assignment_expression "uVar1 = (*(code *)puVar6)()" identifier = (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x100c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001010 + param_1) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00001010 + param_1) = 0" (pointer_expression "*(undefined4 *)(&DAT_00001010 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001010 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001010 + param_1)" ( (binary_expression "&DAT_00001010 + param_1" (pointer_expression "&DAT_00001010" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar6 = PTR_ClearMagickException_0014f3d4;" (assignment_expression "puVar6 = PTR_ClearMagickException_0014f3d4" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00001014 + param_1) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00001014 + param_1) = 0" (pointer_expression "*(undefined4 *)(&DAT_00001014 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001014 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001014 + param_1)" ( (binary_expression "&DAT_00001014 + param_1" (pointer_expression "&DAT_00001014" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)puVar6)(uVar3);" (call_expression "(*(code *)puVar6)(uVar3)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();" (assignment_expression "uVar2 = (*(code *)PTR_IsEventLogging_0014f808)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_0014f808)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_0014f808)" ( (pointer_expression "*(code *)PTR_IsEventLogging_0014f808" * (cast_expression "(code *)PTR_IsEventLogging_0014f808" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(&DAT_00001018 + param_1) = uVar2;" (assignment_expression "*(uint *)(&DAT_00001018 + param_1) = uVar2" (pointer_expression "*(uint *)(&DAT_00001018 + param_1)" * (cast_expression "(uint *)(&DAT_00001018 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) = identifier) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" identifier + number_literal) , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" identifier + number_literal) ))) ;) })) (expression_statement "puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);" (assignment_expression "puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" identifier = (cast_expression "(undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_char____NULL_0014f03c + 0x417c)" ( (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR___assert_fail_0014f720;" (assignment_expression "puVar6 = PTR___assert_fail_0014f720" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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 "(puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" ( identifier , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" identifier + number_literal) ))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }" { (if_statement "if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }" if (parenthesized_expression "(puVar4[0x407] == -0x54535255)" ( (binary_expression "puVar4[0x407] == -0x54535255" (subscript_expression "puVar4[0x407]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }" { (if_statement "if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }" if (parenthesized_expression "(puVar4[0x406] != 0)" ( (binary_expression "puVar4[0x406] != 0" (subscript_expression "puVar4[0x406]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }" { (expression_statement "(**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);" (call_expression "(**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3938))" ( (pointer_expression "**(code **)(puVar6 + 0xb3938)" * (pointer_expression "*(code **)(puVar6 + 0xb3938)" * (cast_expression "(code **)(puVar6 + 0xb3938)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3938)" ( (binary_expression "puVar6 + 0xb3938" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1)" ( number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b68" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x131c" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar4 + 1" identifier + number_literal) ))) ;) })) (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401])" identifier = (call_expression "(**(code **)(puVar6 + 0xb3b40))(puVar4[0x401])" (parenthesized_expression "(**(code **)(puVar6 + 0xb3b40))" ( (pointer_expression "**(code **)(puVar6 + 0xb3b40)" * (pointer_expression "*(code **)(puVar6 + 0xb3b40)" * (cast_expression "(code **)(puVar6 + 0xb3b40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3b40)" ( (binary_expression "puVar6 + 0xb3b40" identifier + number_literal) ))))) )) (argument_list "(puVar4[0x401])" ( (subscript_expression "puVar4[0x401]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar4[0x401] = uVar1;" (assignment_expression "puVar4[0x401] = uVar1" (subscript_expression "puVar4[0x401]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }" if (parenthesized_expression "(puVar4[0x402] != 0)" ( (binary_expression "puVar4[0x402] != 0" (subscript_expression "puVar4[0x402]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }" { (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3bb4))();" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3bb4))()" identifier = (call_expression "(**(code **)(puVar6 + 0xb3bb4))()" (parenthesized_expression "(**(code **)(puVar6 + 0xb3bb4))" ( (pointer_expression "**(code **)(puVar6 + 0xb3bb4)" * (pointer_expression "*(code **)(puVar6 + 0xb3bb4)" * (cast_expression "(code **)(puVar6 + 0xb3bb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3bb4)" ( (binary_expression "puVar6 + 0xb3bb4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4[0x402] = uVar1;" (assignment_expression "puVar4[0x402] = uVar1" (subscript_expression "puVar4[0x402]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }" if (parenthesized_expression "(puVar4[0x403] != 0)" ( (binary_expression "puVar4[0x403] != 0" (subscript_expression "puVar4[0x403]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }" { (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3604))();" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3604))()" identifier = (call_expression "(**(code **)(puVar6 + 0xb3604))()" (parenthesized_expression "(**(code **)(puVar6 + 0xb3604))" ( (pointer_expression "**(code **)(puVar6 + 0xb3604)" * (pointer_expression "*(code **)(puVar6 + 0xb3604)" * (cast_expression "(code **)(puVar6 + 0xb3604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3604)" ( (binary_expression "puVar6 + 0xb3604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4[0x403] = uVar1;" (assignment_expression "puVar4[0x403] = uVar1" (subscript_expression "puVar4[0x403]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(**(code **)(puVar6 + 0xb3a10))(*puVar4);" (call_expression "(**(code **)(puVar6 + 0xb3a10))(*puVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3a10))" ( (pointer_expression "**(code **)(puVar6 + 0xb3a10)" * (pointer_expression "*(code **)(puVar6 + 0xb3a10)" * (cast_expression "(code **)(puVar6 + 0xb3a10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3a10)" ( (binary_expression "puVar6 + 0xb3a10" identifier + number_literal) ))))) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) ))) ;) (expression_statement "puVar4[0x407] = 0x54535254;" (assignment_expression "puVar4[0x407] = 0x54535254" (subscript_expression "puVar4[0x407]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);" (assignment_expression "uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4)" identifier = (call_expression "(**(code **)(puVar6 + 0xb37cc))(puVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0xb37cc))" ( (pointer_expression "**(code **)(puVar6 + 0xb37cc)" * (pointer_expression "*(code **)(puVar6 + 0xb37cc)" * (cast_expression "(code **)(puVar6 + 0xb37cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb37cc)" ( (binary_expression "puVar6 + 0xb37cc" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "(**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);" (call_expression "(**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3bd0))" ( (pointer_expression "**(code **)(puVar6 + 0xb3bd0)" * (pointer_expression "*(code **)(puVar6 + 0xb3bd0)" * (cast_expression "(code **)(puVar6 + 0xb3bd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3bd0)" ( (binary_expression "puVar6 + 0xb3bd0" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54)" ( (binary_expression "*(int *)(puVar6 + 0xb34ec) + 0x419c" (pointer_expression "*(int *)(puVar6 + 0xb34ec)" * (cast_expression "(int *)(puVar6 + 0xb34ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34ec)" ( (binary_expression "puVar6 + 0xb34ec" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xb3bd0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xb3bd0)" identifier = (pointer_expression "*(code **)(puVar6 + 0xb3bd0)" * (cast_expression "(code **)(puVar6 + 0xb3bd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb3bd0)" ( (binary_expression "puVar6 + 0xb3bd0" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;" (assignment_expression "iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c" identifier = (binary_expression "*(int *)(puVar6 + 0xb34ec) + 0x417c" (pointer_expression "*(int *)(puVar6 + 0xb34ec)" * (cast_expression "(int *)(puVar6 + 0xb34ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34ec)" ( (binary_expression "puVar6 + 0xb34ec" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);" (call_expression "(*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54)" ( identifier , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" * (cast_expression "(int *)(puVar6 + 0xb34e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xb34e0)" ( (binary_expression "puVar6 + 0xb34e0" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }" if (parenthesized_expression "((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255))" ( (binary_expression "(iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar5 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(iVar5 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(iVar5 + 0x101c)" * (cast_expression "(int *)(iVar5 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x101c)" ( (binary_expression "iVar5 + 0x101c" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }" { (expression_statement "iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);" (assignment_expression "iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" identifier = (call_expression "(**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" (parenthesized_expression "(**(code **)(pcVar7 + 0xb3aa4))" ( (pointer_expression "**(code **)(pcVar7 + 0xb3aa4)" * (pointer_expression "*(code **)(pcVar7 + 0xb3aa4)" * (cast_expression "(code **)(pcVar7 + 0xb3aa4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0xb3aa4)" ( (binary_expression "pcVar7 + 0xb3aa4" identifier + number_literal) ))))) )) (argument_list "(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" ( (binary_expression "iVar5 + 4" identifier + number_literal) , (binary_expression "*(int *)(pcVar7 + 0xb33ac) + 0x416c" (pointer_expression "*(int *)(pcVar7 + 0xb33ac)" * (cast_expression "(int *)(pcVar7 + 0xb33ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0xb33ac)" ( (binary_expression "pcVar7 + 0xb33ac" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (return_statement "return (uint)(iVar5 == 0);" return (call_expression "(uint)(iVar5 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (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) + IDENT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (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) + IDENT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (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) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = 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) , LIT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (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 = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) ;) })) (return_statement return LIT ;) })))
(function_definition "uint ClearMagickWand(int param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}" (type_identifier "uint") (function_declarator "ClearMagickWand(int param_1)" (identifier "ClearMagickWand") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }\n  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);\n  puVar6 = PTR___assert_fail_0014f720;\n  (*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }\n  pcVar7 = *(code **)(puVar6 + 0xb3bd0);\n  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;\n  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }\n    (*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\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      if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }\n      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));\n      puVar6 = PTR_DestroyImageList_0014f690;\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));\n      puVar6 = PTR_AcquireImageInfo_0014f474;\n      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;\n      uVar1 = (*(code *)puVar6)();\n      uVar3 = *(undefined4 *)(param_1 + 0x100c);\n      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;\n      *(undefined4 *)(&DAT_00001010 + param_1) = 0;\n      puVar6 = PTR_ClearMagickException_0014f3d4;\n      *(undefined4 *)(&DAT_00001014 + param_1) = 0;\n      (*(code *)puVar6)(uVar3);\n      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();\n      *(uint *)(&DAT_00001018 + param_1) = uVar2;\n      return uVar2;\n    }" ({ "{") (if_statement "if (*(int *)(&DAT_00001018 + param_1) != 0) {\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" (if "if") (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) != 0)" (( "(") (binary_expression "*(int *)(&DAT_00001018 + param_1) != 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001018 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001018 + param_1)" (( "(") (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" (& "&") (identifier "DAT_00001018")) (+ "+") (identifier "param_1")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);\n      }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_0014f488)\n                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_0014f488)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_0014f488" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_0014f488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_0014f488"))) () ")")) (argument_list "(0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,\n                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x7dd0")) (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x7b20")) (, ",") (number_literal "0x52") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x131c" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x131c")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));" (assignment_expression "uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1))" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1))" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_0014f704)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_0014f704" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_0014f704" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_0014f704"))) () ")")) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1))" (( "(") (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001008 + param_1)" (( "(") (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" (& "&") (identifier "DAT_00001008")) (+ "+") (identifier "param_1")) () ")")))) () ")")))) (; ";")) (expression_statement "puVar6 = PTR_DestroyImageList_0014f690;" (assignment_expression "puVar6 = PTR_DestroyImageList_0014f690" (identifier "puVar6") (= "=") (identifier "PTR_DestroyImageList_0014f690")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001008 + param_1)" (( "(") (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" (& "&") (identifier "DAT_00001008")) (+ "+") (identifier "param_1")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));" (assignment_expression "uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1))" (identifier "uVar1") (= "=") (call_expression "(*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1))" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(*(undefined4 *)(&DAT_00001004 + param_1))" (( "(") (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (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 "puVar6 = PTR_AcquireImageInfo_0014f474;" (assignment_expression "puVar6 = PTR_AcquireImageInfo_0014f474" (identifier "puVar6") (= "=") (identifier "PTR_AcquireImageInfo_0014f474")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00001004 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001004 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (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")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = (*(code *)puVar6)();" (assignment_expression "uVar1 = (*(code *)puVar6)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x100c)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1;" (assignment_expression "*(undefined4 *)(&DAT_00001008 + param_1) = uVar1" (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001008 + param_1)" (( "(") (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" (& "&") (identifier "DAT_00001008")) (+ "+") (identifier "param_1")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00001010 + param_1) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00001010 + param_1) = 0" (pointer_expression "*(undefined4 *)(&DAT_00001010 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001010 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001010 + param_1)" (( "(") (binary_expression "&DAT_00001010 + param_1" (pointer_expression "&DAT_00001010" (& "&") (identifier "DAT_00001010")) (+ "+") (identifier "param_1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = PTR_ClearMagickException_0014f3d4;" (assignment_expression "puVar6 = PTR_ClearMagickException_0014f3d4" (identifier "puVar6") (= "=") (identifier "PTR_ClearMagickException_0014f3d4")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00001014 + param_1) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00001014 + param_1) = 0" (pointer_expression "*(undefined4 *)(&DAT_00001014 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001014 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001014 + param_1)" (( "(") (binary_expression "&DAT_00001014 + param_1" (pointer_expression "&DAT_00001014" (& "&") (identifier "DAT_00001014")) (+ "+") (identifier "param_1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar6)(uVar3);" (call_expression "(*(code *)puVar6)(uVar3)" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();" (assignment_expression "uVar2 = (*(code *)PTR_IsEventLogging_0014f808)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_IsEventLogging_0014f808)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_0014f808)" (( "(") (pointer_expression "*(code *)PTR_IsEventLogging_0014f808" (* "*") (cast_expression "(code *)PTR_IsEventLogging_0014f808" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_IsEventLogging_0014f808"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(uint *)(&DAT_00001018 + param_1) = uVar2;" (assignment_expression "*(uint *)(&DAT_00001018 + param_1) = uVar2" (pointer_expression "*(uint *)(&DAT_00001018 + param_1)" (* "*") (cast_expression "(uint *)(&DAT_00001018 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001018 + param_1)" (( "(") (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" (& "&") (identifier "DAT_00001018")) (+ "+") (identifier "param_1")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n              (PTR_s_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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_t_char____NULL_0014f03c + 0x419c,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,\n               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (( "(") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x419c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x419c")) (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x7dd0")) (, ",") (number_literal "0x50") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x7b10")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);" (assignment_expression "puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_t_char____NULL_0014f03c + 0x417c)" (( "(") (binary_expression "PTR_s_t_char____NULL_0014f03c + 0x417c" (identifier "PTR_s_t_char____NULL_0014f03c") (+ "+") (number_literal "0x417c")) () ")")))) (; ";")) (expression_statement "puVar6 = PTR___assert_fail_0014f720;" (assignment_expression "puVar6 = PTR___assert_fail_0014f720" (identifier "puVar6") (= "=") (identifier "PTR___assert_fail_0014f720")) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);" (call_expression "(*(code *)PTR___assert_fail_0014f720)\n            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (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 "(puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,\n             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10)" (( "(") (identifier "puVar4") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x7dd0")) (, ",") (number_literal "0x4f") (, ",") (binary_expression "PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10" (identifier "PTR_s_the_image__define_format_option_d_0014f030") (+ "+") (number_literal "-0x7b10")) () ")"))) (; ";")) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }" (if "if") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }\n    (**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);\n  }" ({ "{") (if_statement "if (puVar4[0x407] == -0x54535255) {\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(puVar4[0x407] == -0x54535255)" (( "(") (binary_expression "puVar4[0x407] == -0x54535255" (subscript_expression "puVar4[0x407]" (identifier "puVar4") ([ "[") (number_literal "0x407") (] "]")) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }\n      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);\n      puVar4[0x401] = uVar1;\n      if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }\n      if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }\n      (**(code **)(puVar6 + 0xb3a10))(*puVar4);\n      puVar4[0x407] = 0x54535254;\n                    \n                    \n      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);\n      return uVar2;\n    }" ({ "{") (if_statement "if (puVar4[0x406] != 0) {\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }" (if "if") (parenthesized_expression "(puVar4[0x406] != 0)" (( "(") (binary_expression "puVar4[0x406] != 0" (subscript_expression "puVar4[0x406]" (identifier "puVar4") ([ "[") (number_literal "0x406") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);\n      }" ({ "{") (expression_statement "(**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);" (call_expression "(**(code **)(puVar6 + 0xb3938))\n                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3938))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb3938)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb3938)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3938)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3938)" (( "(") (binary_expression "puVar6 + 0xb3938" (identifier "puVar6") (+ "+") (number_literal "0xb3938")) () ")"))))) () ")")) (argument_list "(0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68\n                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1)" (( "(") (number_literal "0x40000") (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x7dd0")) (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b68" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x7b68")) (, ",") (number_literal "0xab") (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x131c" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x131c")) (, ",") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401])" (identifier "uVar1") (= "=") (call_expression "(**(code **)(puVar6 + 0xb3b40))(puVar4[0x401])" (parenthesized_expression "(**(code **)(puVar6 + 0xb3b40))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb3b40)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb3b40)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3b40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3b40)" (( "(") (binary_expression "puVar6 + 0xb3b40" (identifier "puVar6") (+ "+") (number_literal "0xb3b40")) () ")"))))) () ")")) (argument_list "(puVar4[0x401])" (( "(") (subscript_expression "puVar4[0x401]" (identifier "puVar4") ([ "[") (number_literal "0x401") (] "]")) () ")")))) (; ";")) (expression_statement "puVar4[0x401] = uVar1;" (assignment_expression "puVar4[0x401] = uVar1" (subscript_expression "puVar4[0x401]" (identifier "puVar4") ([ "[") (number_literal "0x401") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (puVar4[0x402] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }" (if "if") (parenthesized_expression "(puVar4[0x402] != 0)" (( "(") (binary_expression "puVar4[0x402] != 0" (subscript_expression "puVar4[0x402]" (identifier "puVar4") ([ "[") (number_literal "0x402") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();\n        puVar4[0x402] = uVar1;\n      }" ({ "{") (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3bb4))();" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3bb4))()" (identifier "uVar1") (= "=") (call_expression "(**(code **)(puVar6 + 0xb3bb4))()" (parenthesized_expression "(**(code **)(puVar6 + 0xb3bb4))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb3bb4)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb3bb4)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3bb4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3bb4)" (( "(") (binary_expression "puVar6 + 0xb3bb4" (identifier "puVar6") (+ "+") (number_literal "0xb3bb4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4[0x402] = uVar1;" (assignment_expression "puVar4[0x402] = uVar1" (subscript_expression "puVar4[0x402]" (identifier "puVar4") ([ "[") (number_literal "0x402") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (if_statement "if (puVar4[0x403] != 0) {\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }" (if "if") (parenthesized_expression "(puVar4[0x403] != 0)" (( "(") (binary_expression "puVar4[0x403] != 0" (subscript_expression "puVar4[0x403]" (identifier "puVar4") ([ "[") (number_literal "0x403") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar1 = (**(code **)(puVar6 + 0xb3604))();\n        puVar4[0x403] = uVar1;\n      }" ({ "{") (expression_statement "uVar1 = (**(code **)(puVar6 + 0xb3604))();" (assignment_expression "uVar1 = (**(code **)(puVar6 + 0xb3604))()" (identifier "uVar1") (= "=") (call_expression "(**(code **)(puVar6 + 0xb3604))()" (parenthesized_expression "(**(code **)(puVar6 + 0xb3604))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb3604)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb3604)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3604)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3604)" (( "(") (binary_expression "puVar6 + 0xb3604" (identifier "puVar6") (+ "+") (number_literal "0xb3604")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4[0x403] = uVar1;" (assignment_expression "puVar4[0x403] = uVar1" (subscript_expression "puVar4[0x403]" (identifier "puVar4") ([ "[") (number_literal "0x403") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar6 + 0xb3a10))(*puVar4);" (call_expression "(**(code **)(puVar6 + 0xb3a10))(*puVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3a10))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb3a10)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb3a10)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3a10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3a10)" (( "(") (binary_expression "puVar6 + 0xb3a10" (identifier "puVar6") (+ "+") (number_literal "0xb3a10")) () ")"))))) () ")")) (argument_list "(*puVar4)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")"))) (; ";")) (expression_statement "puVar4[0x407] = 0x54535254;" (assignment_expression "puVar4[0x407] = 0x54535254" (subscript_expression "puVar4[0x407]" (identifier "puVar4") ([ "[") (number_literal "0x407") (] "]")) (= "=") (number_literal "0x54535254")) (; ";")) (expression_statement "uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);" (assignment_expression "uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(puVar6 + 0xb37cc))(puVar4)" (parenthesized_expression "(**(code **)(puVar6 + 0xb37cc))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb37cc)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb37cc)" (* "*") (cast_expression "(code **)(puVar6 + 0xb37cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb37cc)" (( "(") (binary_expression "puVar6 + 0xb37cc" (identifier "puVar6") (+ "+") (number_literal "0xb37cc")) () ")"))))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54);" (call_expression "(**(code **)(puVar6 + 0xb3bd0))\n              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(**(code **)(puVar6 + 0xb3bd0))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb3bd0)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb3bd0)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3bd0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3bd0)" (( "(") (binary_expression "puVar6 + 0xb3bd0" (identifier "puVar6") (+ "+") (number_literal "0xb3bd0")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,\n               *(int *)(puVar6 + 0xb34e0) + -0x7b54)" (( "(") (binary_expression "*(int *)(puVar6 + 0xb34ec) + 0x419c" (pointer_expression "*(int *)(puVar6 + 0xb34ec)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34ec)" (( "(") (binary_expression "puVar6 + 0xb34ec" (identifier "puVar6") (+ "+") (number_literal "0xb34ec")) () ")")))) (+ "+") (number_literal "0x419c")) (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x7dd0")) (, ",") (number_literal "0xa9") (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x7b54")) () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xb3bd0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xb3bd0)" (identifier "pcVar7") (= "=") (pointer_expression "*(code **)(puVar6 + 0xb3bd0)" (* "*") (cast_expression "(code **)(puVar6 + 0xb3bd0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb3bd0)" (( "(") (binary_expression "puVar6 + 0xb3bd0" (identifier "puVar6") (+ "+") (number_literal "0xb3bd0")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;" (assignment_expression "iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c" (identifier "iVar5") (= "=") (binary_expression "*(int *)(puVar6 + 0xb34ec) + 0x417c" (pointer_expression "*(int *)(puVar6 + 0xb34ec)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34ec)" (( "(") (binary_expression "puVar6 + 0xb34ec" (identifier "puVar6") (+ "+") (number_literal "0xb34ec")) () ")")))) (+ "+") (number_literal "0x417c"))) (; ";")) (expression_statement "(*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);" (call_expression "(*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54)" (( "(") (identifier "iVar5") (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7dd0" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x7dd0")) (, ",") (number_literal "0xa8") (, ",") (binary_expression "*(int *)(puVar6 + 0xb34e0) + -0x7b54" (pointer_expression "*(int *)(puVar6 + 0xb34e0)" (* "*") (cast_expression "(int *)(puVar6 + 0xb34e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xb34e0)" (( "(") (binary_expression "puVar6 + 0xb34e0" (identifier "puVar6") (+ "+") (number_literal "0xb34e0")) () ")")))) (+ "+") (number_literal "-0x7b54")) () ")"))) (; ";")) (if_statement "if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }" (if "if") (parenthesized_expression "((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255))" (( "(") (binary_expression "(iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)" (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar5 + 0x101c) == -0x54535255)" (( "(") (binary_expression "*(int *)(iVar5 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(iVar5 + 0x101c)" (* "*") (cast_expression "(int *)(iVar5 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x101c)" (( "(") (binary_expression "iVar5 + 0x101c" (identifier "iVar5") (+ "+") (number_literal "0x101c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")"))) () ")")) (compound_statement "{\n    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);\n    return (uint)(iVar5 == 0);\n  }" ({ "{") (expression_statement "iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);" (assignment_expression "iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" (parenthesized_expression "(**(code **)(pcVar7 + 0xb3aa4))" (( "(") (pointer_expression "**(code **)(pcVar7 + 0xb3aa4)" (* "*") (pointer_expression "*(code **)(pcVar7 + 0xb3aa4)" (* "*") (cast_expression "(code **)(pcVar7 + 0xb3aa4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar7 + 0xb3aa4)" (( "(") (binary_expression "pcVar7 + 0xb3aa4" (identifier "pcVar7") (+ "+") (number_literal "0xb3aa4")) () ")"))))) () ")")) (argument_list "(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) (, ",") (binary_expression "*(int *)(pcVar7 + 0xb33ac) + 0x416c" (pointer_expression "*(int *)(pcVar7 + 0xb33ac)" (* "*") (cast_expression "(int *)(pcVar7 + 0xb33ac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar7 + 0xb33ac)" (( "(") (binary_expression "pcVar7 + 0xb33ac" (identifier "pcVar7") (+ "+") (number_literal "0xb33ac")) () ")")))) (+ "+") (number_literal "0x416c")) (, ",") (number_literal "10") () ")")))) (; ";")) (return_statement "return (uint)(iVar5 == 0);" (return "return") (call_expression "(uint)(iVar5 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

void function_1(type_1 *var_1)

{
  type_2 *pIVar1;
  type_3 *pIVar2;
  type_4 MVar3;
  type_5 uVar4;
  type_5 *var_5;
  int var_7;
  type_6 *var_6;
  type_7 *var_8;
  
  if (var_1 != (type_1 *)0x0) {
    if (var_1->signature == 0xabacadab) {
      if (var_1->debug != var_2) {
        (*(type_7 *)PTR_LogMagickEvent_0014f488)
                  (0x40000,var_3 + -0x7dd0,
                   var_3 + -0x7b20,0x52,
                   var_3 + -0x131c,var_1->name);
      }
      pIVar1 = (type_2 *)(*(type_7 *)PTR_DestroyImageInfo_0014f704)(var_1->image_info);
      var_6 = PTR_DestroyImageList_0014f690;
      var_1->image_info = pIVar1;
      pIVar2 = (type_3 *)(*(type_7 *)var_6)(var_1->images);
      var_6 = PTR_AcquireImageInfo_0014f474;
      var_1->images = pIVar2;
      pIVar1 = (type_2 *)(*(type_7 *)var_6)();
      var_1->image_info = pIVar1;
      var_1->insert_before = var_2;
      var_6 = PTR_ClearMagickException_0014f3d4;
      var_1->image_pending = var_2;
      (*(type_7 *)var_6)(var_1->exception);
      MVar3 = (*(type_7 *)PTR_IsEventLogging_0014f808)();
      var_1->debug = MVar3;
      return;
    }
    (*(type_7 *)PTR___assert_fail_0014f720)
              (var_4 + 0x419c,
               var_3 + -0x7dd0,0x50,
               var_3 + -0x7b10);
  }
  var_5 = (type_5 *)(var_4 + 0x417c);
  var_6 = PTR___assert_fail_0014f720;
  (*(type_7 *)PTR___assert_fail_0014f720)
            (var_5,var_3 + -0x7dd0,0x4f,
             var_3 + -0x7b10);
  if (var_5 != (type_5 *)0x0) {
    if (var_5[0x407] == -0x54535255) {
      if (var_5[0x406] != 0) {
        (**(type_7 **)(var_6 + 0xb3938))
                  (0x40000,*(int *)(var_6 + 0xb34e0) + -0x7dd0,*(int *)(var_6 + 0xb34e0) + -0x7b68
                   ,0xab,*(int *)(var_6 + 0xb34e0) + -0x131c,var_5 + 1);
      }
      uVar4 = (**(type_7 **)(var_6 + 0xb3b40))(var_5[0x401]);
      var_5[0x401] = uVar4;
      if (var_5[0x402] != 0) {
        uVar4 = (**(type_7 **)(var_6 + 0xb3bb4))();
        var_5[0x402] = uVar4;
      }
      if (var_5[0x403] != 0) {
        uVar4 = (**(type_7 **)(var_6 + 0xb3604))();
        var_5[0x403] = uVar4;
      }
      (**(type_7 **)(var_6 + 0xb3a10))(*var_5);
      var_5[0x407] = 0x54535254;
                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (**(type_7 **)(var_6 + 0xb37cc))(var_5);
      return;
    }
    (**(type_7 **)(var_6 + 0xb3bd0))
              (*(int *)(var_6 + 0xb34ec) + 0x419c,*(int *)(var_6 + 0xb34e0) + -0x7dd0,0xa9,
               *(int *)(var_6 + 0xb34e0) + -0x7b54);
  }
  var_8 = *(type_7 **)(var_6 + 0xb3bd0);
  var_7 = *(int *)(var_6 + 0xb34ec) + 0x417c;
  (*var_8)(var_7,*(int *)(var_6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(var_6 + 0xb34e0) + -0x7b54);
  if ((var_7 != 0) && (*(int *)(var_7 + 0x101c) == -0x54535255)) {
    (**(type_7 **)(var_8 + 0xb3aa4))(var_7 + 4,*(int *)(var_8 + 0xb33ac) + 0x416c,10);
    return;
  }
  return;
}


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

uint MASKED(int param_1)

{
  undefined4 uVar1;
  uint uVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined *puVar6;
  code *pcVar7;
  
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x101c) == -0x54535255) {
      if (*(int *)(&DAT_00001018 + param_1) != 0) {
        (*(code *)PTR_LogMagickEvent_0014f488)
                  (0x40000,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x7b20,0x52,
                   PTR_s_the_image__define_format_option_d_0014f030 + -0x131c,param_1 + 4);
      }
      uVar1 = (*(code *)PTR_DestroyImageInfo_0014f704)(*(undefined4 *)(&DAT_00001008 + param_1));
      puVar6 = PTR_DestroyImageList_0014f690;
      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;
      uVar1 = (*(code *)puVar6)(*(undefined4 *)(&DAT_00001004 + param_1));
      puVar6 = PTR_AcquireImageInfo_0014f474;
      *(undefined4 *)(&DAT_00001004 + param_1) = uVar1;
      uVar1 = (*(code *)puVar6)();
      uVar3 = *(undefined4 *)(param_1 + 0x100c);
      *(undefined4 *)(&DAT_00001008 + param_1) = uVar1;
      *(undefined4 *)(&DAT_00001010 + param_1) = 0;
      puVar6 = PTR_ClearMagickException_0014f3d4;
      *(undefined4 *)(&DAT_00001014 + param_1) = 0;
      (*(code *)puVar6)(uVar3);
      uVar2 = (*(code *)PTR_IsEventLogging_0014f808)();
      *(uint *)(&DAT_00001018 + param_1) = uVar2;
      return uVar2;
    }
    (*(code *)PTR___assert_fail_0014f720)
              (PTR_s_t_char____NULL_0014f03c + 0x419c,
               PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x50,
               PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);
  }
  puVar4 = (undefined4 *)(PTR_s_t_char____NULL_0014f03c + 0x417c);
  puVar6 = PTR___assert_fail_0014f720;
  (*(code *)PTR___assert_fail_0014f720)
            (puVar4,PTR_s_the_image__define_format_option_d_0014f030 + -0x7dd0,0x4f,
             PTR_s_the_image__define_format_option_d_0014f030 + -0x7b10);
  if (puVar4 != (undefined4 *)0x0) {
    if (puVar4[0x407] == -0x54535255) {
      if (puVar4[0x406] != 0) {
        (**(code **)(puVar6 + 0xb3938))
                  (0x40000,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,*(int *)(puVar6 + 0xb34e0) + -0x7b68
                   ,0xab,*(int *)(puVar6 + 0xb34e0) + -0x131c,puVar4 + 1);
      }
      uVar1 = (**(code **)(puVar6 + 0xb3b40))(puVar4[0x401]);
      puVar4[0x401] = uVar1;
      if (puVar4[0x402] != 0) {
        uVar1 = (**(code **)(puVar6 + 0xb3bb4))();
        puVar4[0x402] = uVar1;
      }
      if (puVar4[0x403] != 0) {
        uVar1 = (**(code **)(puVar6 + 0xb3604))();
        puVar4[0x403] = uVar1;
      }
      (**(code **)(puVar6 + 0xb3a10))(*puVar4);
      puVar4[0x407] = 0x54535254;
                    /* WARNING: Could not recover jumptable at 0x0009bc08. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (**(code **)(puVar6 + 0xb37cc))(puVar4);
      return uVar2;
    }
    (**(code **)(puVar6 + 0xb3bd0))
              (*(int *)(puVar6 + 0xb34ec) + 0x419c,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa9,
               *(int *)(puVar6 + 0xb34e0) + -0x7b54);
  }
  pcVar7 = *(code **)(puVar6 + 0xb3bd0);
  iVar5 = *(int *)(puVar6 + 0xb34ec) + 0x417c;
  (*pcVar7)(iVar5,*(int *)(puVar6 + 0xb34e0) + -0x7dd0,0xa8,*(int *)(puVar6 + 0xb34e0) + -0x7b54);
  if ((iVar5 != 0) && (*(int *)(iVar5 + 0x101c) == -0x54535255)) {
    iVar5 = (**(code **)(pcVar7 + 0xb3aa4))(iVar5 + 4,*(int *)(pcVar7 + 0xb33ac) + 0x416c,10);
    return (uint)(iVar5 == 0);
  }
  return 0;
}

