
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x000329c0 */
/* WARNING: Unknown calling convention */
/* 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 "LogEventType": Some values do not have unique names */

MagickBooleanType DeleteImageArtifact(Image *image,char *artifact)

{
  MagickBooleanType MVar1;
  
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,
                  "DeleteImageArtifact");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",
                   image->filename);
  }
  MVar1 = MagickFalse;
  if ((SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0) {
    MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);
  }
  return MVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x000329c0 */

undefined4 DeleteImageArtifact(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,
                  "DeleteImageArtifact");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,
                   param_1 + 0x318);
  }
  uVar1 = 0;
  if (*(int *)(param_1 + 0x314) != 0) {
    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);
  }
  return uVar1;
}


JMP dword ptr [EBX + 0x920]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x000329c0 */\n\nundefined4 DeleteImageArtifact(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}\n\n" comment comment (function_definition "undefined4 DeleteImageArtifact(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "DeleteImageArtifact(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" identifier (argument_list "("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/artifact.c"" " string_content ") , number_literal , (string_literal ""DeleteImageArtifact"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/artifact.c"" " string_content ") , number_literal , (string_literal ""DeleteImageArtifact"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/artifact.c"" " string_content ") , (string_literal ""DeleteImageArtifact"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x314) != 0)" ( (binary_expression "*(int *)(param_1 + 0x314) != 0" (pointer_expression "*(int *)(param_1 + 0x314)" * (cast_expression "(int *)(param_1 + 0x314)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x314)" ( (binary_expression "param_1 + 0x314" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }" { (expression_statement "uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);" (assignment_expression "uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2)" identifier = (call_expression "DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2)" identifier (argument_list "(*(int *)(param_1 + 0x314),param_2)" ( (pointer_expression "*(int *)(param_1 + 0x314)" * (cast_expression "(int *)(param_1 + 0x314)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x314)" ( (binary_expression "param_1 + 0x314" identifier + number_literal) )))) , identifier )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x000329c0 */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nMagickBooleanType DeleteImageArtifact(Image *image,char *artifact)\n\n{\n  MagickBooleanType MVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename);\n  }\n  MVar1 = MagickFalse;\n  if ((SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0) {\n    MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);\n  }\n  return MVar1;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "MagickBooleanType DeleteImageArtifact(Image *image,char *artifact)\n\n{\n  MagickBooleanType MVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename);\n  }\n  MVar1 = MagickFalse;\n  if ((SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0) {\n    MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);\n  }\n  return MVar1;\n}" type_identifier (function_declarator "DeleteImageArtifact(Image *image,char *artifact)" identifier (parameter_list "(Image *image,char *artifact)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "char *artifact" primitive_type (pointer_declarator "*artifact" * identifier)) ))) (compound_statement "{\n  MagickBooleanType MVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename);\n  }\n  MVar1 = MagickFalse;\n  if ((SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0) {\n    MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);\n  }\n  return MVar1;\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" identifier (argument_list "("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/artifact.c"" " string_content ") , number_literal , (string_literal ""DeleteImageArtifact"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/artifact.c"" " string_content ") , number_literal , (string_literal ""DeleteImageArtifact"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",\n                   image->filename)" ( identifier , (string_literal ""MagickCore/artifact.c"" " string_content ") , (string_literal ""DeleteImageArtifact"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) (if_statement "if ((SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0) {\n    MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);\n  }" if (parenthesized_expression "((SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0)" ( (binary_expression "(SplayTreeInfo *)image->artifacts != (SplayTreeInfo *)0x0" (cast_expression "(SplayTreeInfo *)image->artifacts" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image->artifacts" identifier -> field_identifier)) != (cast_expression "(SplayTreeInfo *)0x0" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);\n  }" { (expression_statement "MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact);" (assignment_expression "MVar1 = DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact)" identifier = (call_expression "DeleteNodeFromSplayTree((SplayTreeInfo *)image->artifacts,artifact)" identifier (argument_list "((SplayTreeInfo *)image->artifacts,artifact)" ( (cast_expression "(SplayTreeInfo *)image->artifacts" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image->artifacts" identifier -> field_identifier)) , identifier )))) ;) })) (return_statement "return MVar1;" return identifier ;) })))
(translation_unit "undefined4 DeleteImageArtifact(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 DeleteImageArtifact(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "DeleteImageArtifact(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" identifier (argument_list "("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/artifact.c"" " string_content ") , number_literal , (string_literal ""DeleteImageArtifact"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/artifact.c"" " string_content ") , number_literal , (string_literal ""DeleteImageArtifact"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/artifact.c"" " string_content ") , (string_literal ""DeleteImageArtifact"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x314) != 0)" ( (binary_expression "*(int *)(param_1 + 0x314) != 0" (pointer_expression "*(int *)(param_1 + 0x314)" * (cast_expression "(int *)(param_1 + 0x314)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x314)" ( (binary_expression "param_1 + 0x314" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }" { (expression_statement "uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);" (assignment_expression "uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2)" identifier = (call_expression "DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2)" identifier (argument_list "(*(int *)(param_1 + 0x314),param_2)" ( (pointer_expression "*(int *)(param_1 + 0x314)" * (cast_expression "(int *)(param_1 + 0x314)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x314)" ( (binary_expression "param_1 + 0x314" identifier + number_literal) )))) , identifier )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 DeleteImageArtifact(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "DeleteImageArtifact(int param_1,undefined4 param_2)" (identifier "DeleteImageArtifact") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }\n  uVar1 = 0;\n  if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/artifact.c"" (" """) (string_content "MagickCore/artifact.c") (" """)) (, ",") (number_literal "0xc9") (, ",") (string_literal ""DeleteImageArtifact"" (" """) (string_content "DeleteImageArtifact") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" (* "*") (cast_expression "(int *)(param_1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3344)" (( "(") (binary_expression "param_1 + 0x3344" (identifier "param_1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,\n                  "DeleteImageArtifact")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/artifact.c"" (" """) (string_content "MagickCore/artifact.c") (" """)) (, ",") (number_literal "0xca") (, ",") (string_literal ""DeleteImageArtifact"" (" """) (string_content "DeleteImageArtifact") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" (* "*") (cast_expression "(int *)(param_1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3328)" (( "(") (binary_expression "param_1 + 0x3328" (identifier "param_1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,&DAT_002f75ae,\n                   param_1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/artifact.c"" (" """) (string_content "MagickCore/artifact.c") (" """)) (, ",") (string_literal ""DeleteImageArtifact"" (" """) (string_content "DeleteImageArtifact") (" """)) (, ",") (number_literal "0xcc") (, ",") (pointer_expression "&DAT_002f75ae" (& "&") (identifier "DAT_002f75ae")) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x314) != 0) {\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x314) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x314) != 0" (pointer_expression "*(int *)(param_1 + 0x314)" (* "*") (cast_expression "(int *)(param_1 + 0x314)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x314)" (( "(") (binary_expression "param_1 + 0x314" (identifier "param_1") (+ "+") (number_literal "0x314")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);\n  }" ({ "{") (expression_statement "uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);" (assignment_expression "uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2)" (identifier "uVar1") (= "=") (call_expression "DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2)" (identifier "DeleteNodeFromSplayTree") (argument_list "(*(int *)(param_1 + 0x314),param_2)" (( "(") (pointer_expression "*(int *)(param_1 + 0x314)" (* "*") (cast_expression "(int *)(param_1 + 0x314)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x314)" (( "(") (binary_expression "param_1 + 0x314" (identifier "param_1") (+ "+") (number_literal "0x314")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x000329c0 */
/* WARNING: Unknown calling convention */
/* 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 "LogEventType": Some values do not have unique names */

type_1 function_1(type_2 *var_1,char *artifact)

{
  type_1 MVar1;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"DeleteImageArtifact");
  }
  if (var_1->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_2("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,
                  "DeleteImageArtifact");
  }
  if (var_1->debug != var_3) {
    var_4(TraceEvent,"MagickCore/artifact.c","DeleteImageArtifact",0xcc,"%s",
                   var_1->filename);
  }
  MVar1 = var_3;
  if ((type_3 *)var_1->artifacts != (type_3 *)0x0) {
    MVar1 = var_5((type_3 *)var_1->artifacts,artifact);
  }
  return MVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x000329c0 */

undefined4 MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/artifact.c",0xc9,"MASKED");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/artifact.c",0xca,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/artifact.c","MASKED",0xcc,&DAT_002f75ae,
                   param_1 + 0x318);
  }
  uVar1 = 0;
  if (*(int *)(param_1 + 0x314) != 0) {
    uVar1 = DeleteNodeFromSplayTree(*(int *)(param_1 + 0x314),param_2);
  }
  return uVar1;
}

