
/* WARNING: Unknown calling convention */

MagickBooleanType IsVIDEO(uchar *magick,size_t length)

{
  MagickBooleanType MVar1;
  
  MVar1 = MagickFalse;
  if (3 < length) {
    MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);
  }
  return MVar1;
}



bool FUN_002c6a40(int *param_1,uint param_2)

{
  bool bVar1;
  
  bVar1 = false;
  if (3 < param_2) {
    bVar1 = *param_1 == -0x4cff0000;
  }
  return bVar1;
}


XOR EAX,EAX
CMP dword ptr [ESP + 0x8],0x3
JBE 0x002c6a59
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [EAX],0xb3010000
SETZ AL
MOVZX EAX,AL
RET
(translation_unit "bool FUN_002c6a40(int *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool FUN_002c6a40(int *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "FUN_002c6a40(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }" if (parenthesized_expression "(3 < param_2)" ( (binary_expression "3 < param_2" number_literal < identifier) )) (compound_statement "{\n    bVar1 = *param_1 == -0x4cff0000;\n  }" { (expression_statement "bVar1 = *param_1 == -0x4cff0000;" (assignment_expression "bVar1 = *param_1 == -0x4cff0000" identifier = (binary_expression "*param_1 == -0x4cff0000" (pointer_expression "*param_1" * identifier) == number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nMagickBooleanType IsVIDEO(uchar *magick,size_t length)\n\n{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (3 < length) {\n    MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);\n  }\n  return MVar1;\n}\n\n" comment (function_definition "MagickBooleanType IsVIDEO(uchar *magick,size_t length)\n\n{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (3 < length) {\n    MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);\n  }\n  return MVar1;\n}" type_identifier (function_declarator "IsVIDEO(uchar *magick,size_t length)" identifier (parameter_list "(uchar *magick,size_t length)" ( (parameter_declaration "uchar *magick" type_identifier (pointer_declarator "*magick" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (3 < length) {\n    MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);\n  }\n  return MVar1;\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) (if_statement "if (3 < length) {\n    MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);\n  }" if (parenthesized_expression "(3 < length)" ( (binary_expression "3 < length" number_literal < identifier) )) (compound_statement "{\n    MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);\n  }" { (expression_statement "MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000);" (assignment_expression "MVar1 = (MagickBooleanType)(*(int *)magick == -0x4cff0000)" identifier = (call_expression "(MagickBooleanType)(*(int *)magick == -0x4cff0000)" (parenthesized_expression "(MagickBooleanType)" ( identifier )) (argument_list "(*(int *)magick == -0x4cff0000)" ( (binary_expression "*(int *)magick == -0x4cff0000" (pointer_expression "*(int *)magick" * (cast_expression "(int *)magick" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;) })) (return_statement "return MVar1;" return identifier ;) })))
(translation_unit "bool FUN_002c6a40(int *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool FUN_002c6a40(int *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "FUN_002c6a40(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }" if (parenthesized_expression "(3 < param_2)" ( (binary_expression "3 < param_2" number_literal < identifier) )) (compound_statement "{\n    bVar1 = *param_1 == -0x4cff0000;\n  }" { (expression_statement "bVar1 = *param_1 == -0x4cff0000;" (assignment_expression "bVar1 = *param_1 == -0x4cff0000" identifier = (binary_expression "*param_1 == -0x4cff0000" (pointer_expression "*param_1" * identifier) == number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_002c6a40(int *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}" (primitive_type "bool") (function_declarator "FUN_002c6a40(int *param_1,uint param_2)" (identifier "FUN_002c6a40") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (if_statement "if (3 < param_2) {\n    bVar1 = *param_1 == -0x4cff0000;\n  }" (if "if") (parenthesized_expression "(3 < param_2)" (( "(") (binary_expression "3 < param_2" (number_literal "3") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    bVar1 = *param_1 == -0x4cff0000;\n  }" ({ "{") (expression_statement "bVar1 = *param_1 == -0x4cff0000;" (assignment_expression "bVar1 = *param_1 == -0x4cff0000" (identifier "bVar1") (= "=") (binary_expression "*param_1 == -0x4cff0000" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "-0x4cff0000"))) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *magick,size_t var_1)

{
  type_1 MVar1;
  
  MVar1 = MagickFalse;
  if (3 < var_1) {
    MVar1 = (type_1)(*(int *)magick == -0x4cff0000);
  }
  return MVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (return_statement (identifier)))))

bool MASKED(int *param_1,uint param_2)

{
  bool bVar1;
  
  bVar1 = false;
  if (3 < param_2) {
    bVar1 = *param_1 == -0x4cff0000;
  }
  return bVar1;
}

