
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 "ExceptionType": Some values do not have unique names */

MagickBooleanType GetMagickSeekableStream(MagickInfo *magick_info)

{
  if (magick_info == (MagickInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,
                  "GetMagickSeekableStream");
  }
  if (magick_info->signature == 0xabacadab) {
    return magick_info->flags >> 6 & MagickTrue;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,
                "GetMagickSeekableStream");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint GetMagickSeekableStream(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,
                  "GetMagickSeekableStream");
  }
  if (*(int *)(param_1 + 0x34) == -0x54535255) {
    return *(uint *)(param_1 + 0x2c) >> 6 & 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,
                "GetMagickSeekableStream");
}


PUSH EBX
CALL 0x00038830
ADD EBX,0x35792a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x000816fe
CMP dword ptr [EAX + 0x34],0xabacadab
JNZ 0x0008171a
MOV EAX,dword ptr [EAX + 0x2c]
ADD ESP,0x8
POP EBX
SHR EAX,0x6
AND EAX,0x1
RET
LEA EAX,[EBX + 0xffed673c]
PUSH EAX
LEA EAX,[EBX + 0xffed66d0]
PUSH 0x7d
PUSH EAX
LEA EAX,[EBX + 0xffed66e8]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed673c]
PUSH EAX
LEA EAX,[EBX + 0xffed66d0]
PUSH 0x7e
PUSH EAX
LEA EAX,[EBX + 0xffed670c]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint GetMagickSeekableStream(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}\n\n" comment (function_definition "uint GetMagickSeekableStream(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" type_identifier (function_declarator "GetMagickSeekableStream(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\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("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }" { comment (expression_statement "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" identifier (argument_list "("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" ( (string_literal ""magick_info != (MagickInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/deprecate.c"" " string_content ") , number_literal , (string_literal ""GetMagickSeekableStream"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x34) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }" { (return_statement "return *(uint *)(param_1 + 0x2c) >> 6 & 1;" return (binary_expression "*(uint *)(param_1 + 0x2c) >> 6 & 1" (binary_expression "*(uint *)(param_1 + 0x2c) >> 6" (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) >> number_literal) & number_literal) ;) })) comment (expression_statement "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" identifier (argument_list "("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" ( (string_literal ""magick_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/deprecate.c"" " string_content ") , number_literal , (string_literal ""GetMagickSeekableStream"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\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 "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType GetMagickSeekableStream(MagickInfo *magick_info)\n\n{\n  if (magick_info == (MagickInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (magick_info->signature == 0xabacadab) {\n    return magick_info->flags >> 6 & MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}\n\n" comment comment comment comment comment comment comment (function_definition "MagickBooleanType GetMagickSeekableStream(MagickInfo *magick_info)\n\n{\n  if (magick_info == (MagickInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (magick_info->signature == 0xabacadab) {\n    return magick_info->flags >> 6 & MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" type_identifier (function_declarator "GetMagickSeekableStream(MagickInfo *magick_info)" identifier (parameter_list "(MagickInfo *magick_info)" ( (parameter_declaration "MagickInfo *magick_info" type_identifier (pointer_declarator "*magick_info" * identifier)) ))) (compound_statement "{\n  if (magick_info == (MagickInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (magick_info->signature == 0xabacadab) {\n    return magick_info->flags >> 6 & MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" { (if_statement "if (magick_info == (MagickInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }" if (parenthesized_expression "(magick_info == (MagickInfo *)0x0)" ( (binary_expression "magick_info == (MagickInfo *)0x0" identifier == (cast_expression "(MagickInfo *)0x0" ( (type_descriptor "MagickInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }" { comment (expression_statement "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" identifier (argument_list "("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" ( (string_literal ""magick_info != (MagickInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/deprecate.c"" " string_content ") , number_literal , (string_literal ""GetMagickSeekableStream"" " string_content ") ))) ;) })) (if_statement "if (magick_info->signature == 0xabacadab) {\n    return magick_info->flags >> 6 & MagickTrue;\n  }" if (parenthesized_expression "(magick_info->signature == 0xabacadab)" ( (binary_expression "magick_info->signature == 0xabacadab" (field_expression "magick_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    return magick_info->flags >> 6 & MagickTrue;\n  }" { (return_statement "return magick_info->flags >> 6 & MagickTrue;" return (binary_expression "magick_info->flags >> 6 & MagickTrue" (binary_expression "magick_info->flags >> 6" (field_expression "magick_info->flags" identifier -> field_identifier) >> number_literal) & identifier) ;) })) comment (expression_statement "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" identifier (argument_list "("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" ( (string_literal ""magick_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/deprecate.c"" " string_content ") , number_literal , (string_literal ""GetMagickSeekableStream"" " string_content ") ))) ;) })))
(translation_unit "uint GetMagickSeekableStream(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    \n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}\n\n" (function_definition "uint GetMagickSeekableStream(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    \n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" type_identifier (function_declarator "GetMagickSeekableStream(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    \n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" { (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }" { (expression_statement "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" identifier (argument_list "("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" ( (string_literal ""magick_info != (MagickInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/deprecate.c"" " string_content ") , number_literal , (string_literal ""GetMagickSeekableStream"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x34) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }" { (return_statement "return *(uint *)(param_1 + 0x2c) >> 6 & 1;" return (binary_expression "*(uint *)(param_1 + 0x2c) >> 6 & 1" (binary_expression "*(uint *)(param_1 + 0x2c) >> 6" (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) >> number_literal) & number_literal) ;) })) (expression_statement "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" identifier (argument_list "("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" ( (string_literal ""magick_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/deprecate.c"" " string_content ") , number_literal , (string_literal ""GetMagickSeekableStream"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 { (return_statement return (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT) & LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "uint GetMagickSeekableStream(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    \n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" (type_identifier "uint") (function_declarator "GetMagickSeekableStream(int param_1)" (identifier "GetMagickSeekableStream") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }\n  if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }\n                    \n  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\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("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");\n  }" ({ "{") (expression_statement "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" (identifier "__assert_fail") (argument_list "("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,\n                  "GetMagickSeekableStream")" (( "(") (string_literal ""magick_info != (MagickInfo *) NULL"" (" """) (string_content "magick_info != (MagickInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/deprecate.c"" (" """) (string_content "MagickCore/deprecate.c") (" """)) (, ",") (number_literal "0x7d") (, ",") (string_literal ""GetMagickSeekableStream"" (" """) (string_content "GetMagickSeekableStream") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x34) == -0x54535255) {\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x34) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x34) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    return *(uint *)(param_1 + 0x2c) >> 6 & 1;\n  }" ({ "{") (return_statement "return *(uint *)(param_1 + 0x2c) >> 6 & 1;" (return "return") (binary_expression "*(uint *)(param_1 + 0x2c) >> 6 & 1" (binary_expression "*(uint *)(param_1 + 0x2c) >> 6" (pointer_expression "*(uint *)(param_1 + 0x2c)" (* "*") (cast_expression "(uint *)(param_1 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (>> ">>") (number_literal "6")) (& "&") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream");" (call_expression "__assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" (identifier "__assert_fail") (argument_list "("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,\n                "GetMagickSeekableStream")" (( "(") (string_literal ""magick_info->signature == MagickCoreSignature"" (" """) (string_content "magick_info->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/deprecate.c"" (" """) (string_content "MagickCore/deprecate.c") (" """)) (, ",") (number_literal "0x7e") (, ",") (string_literal ""GetMagickSeekableStream"" (" """) (string_content "GetMagickSeekableStream") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 "ExceptionType": Some values do not have unique names */

type_1 function_1(type_2 *var_1)

{
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,
                  "GetMagickSeekableStream");
  }
  if (var_1->signature == 0xabacadab) {
    return var_1->flags >> 6 & var_3;
  }
                    /* WARNING: Subroutine does not return */
  var_2("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,
                "GetMagickSeekableStream");
}


(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 (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 (return_statement (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint MASKED(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("magick_info != (MagickInfo *) NULL","MagickCore/deprecate.c",0x7d,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x34) == -0x54535255) {
    return *(uint *)(param_1 + 0x2c) >> 6 & 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("magick_info->signature == MagickCoreSignature","MagickCore/deprecate.c",0x7e,
                "MASKED");
}

