
/* WARNING: Unknown calling convention */

void png_have_info(png_structp png_ptr,png_infop info_ptr)

{
  if ((info_ptr->valid & 0x60000) != 0x20000) {
    return;
  }
  png_ptr->apng_flags = png_ptr->apng_flags | 1;
  info_ptr->num_frames = info_ptr->num_frames + 1;
  return;
}



void FUN_0002dc90(int param_1,int param_2)

{
  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {
    return;
  }
  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;
  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;
  return;
}


MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [EDX + 0x8]
AND EAX,0x60000
CMP EAX,0x20000
JZ 0x0002dca8
RET
MOV EAX,dword ptr [ESP + 0x4]
OR dword ptr [EAX + 0x2b4],0x1
ADD dword ptr [EDX + 0x118],0x1
RET
(translation_unit "void FUN_0002dc90(int param_1,int param_2)\n\n{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}\n\n" (function_definition "void FUN_0002dc90(int param_1,int param_2)\n\n{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}" primitive_type (function_declarator "FUN_0002dc90(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}" { (if_statement "if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(param_2 + 8) & 0x60000) != 0x20000)" ( (binary_expression "(*(uint *)(param_2 + 8) & 0x60000) != 0x20000" (parenthesized_expression "(*(uint *)(param_2 + 8) & 0x60000)" ( (binary_expression "*(uint *)(param_2 + 8) & 0x60000" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;" (assignment_expression "*(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1" (pointer_expression "*(uint *)(param_1 + 0x2b4)" * (cast_expression "(uint *)(param_1 + 0x2b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b4)" ( (binary_expression "param_1 + 0x2b4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x2b4) | 1" (pointer_expression "*(uint *)(param_1 + 0x2b4)" * (cast_expression "(uint *)(param_1 + 0x2b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b4)" ( (binary_expression "param_1 + 0x2b4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;" (assignment_expression "*(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1" (pointer_expression "*(int *)(param_2 + 0x118)" * (cast_expression "(int *)(param_2 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x118)" ( (binary_expression "param_2 + 0x118" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x118) + 1" (pointer_expression "*(int *)(param_2 + 0x118)" * (cast_expression "(int *)(param_2 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x118)" ( (binary_expression "param_2 + 0x118" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid png_have_info(png_structp png_ptr,png_infop info_ptr)\n\n{\n  if ((info_ptr->valid & 0x60000) != 0x20000) {\n    return;\n  }\n  png_ptr->apng_flags = png_ptr->apng_flags | 1;\n  info_ptr->num_frames = info_ptr->num_frames + 1;\n  return;\n}\n\n" comment (function_definition "void png_have_info(png_structp png_ptr,png_infop info_ptr)\n\n{\n  if ((info_ptr->valid & 0x60000) != 0x20000) {\n    return;\n  }\n  png_ptr->apng_flags = png_ptr->apng_flags | 1;\n  info_ptr->num_frames = info_ptr->num_frames + 1;\n  return;\n}" primitive_type (function_declarator "png_have_info(png_structp png_ptr,png_infop info_ptr)" identifier (parameter_list "(png_structp png_ptr,png_infop info_ptr)" ( (parameter_declaration "png_structp png_ptr" type_identifier identifier) , (parameter_declaration "png_infop info_ptr" type_identifier identifier) ))) (compound_statement "{\n  if ((info_ptr->valid & 0x60000) != 0x20000) {\n    return;\n  }\n  png_ptr->apng_flags = png_ptr->apng_flags | 1;\n  info_ptr->num_frames = info_ptr->num_frames + 1;\n  return;\n}" { (if_statement "if ((info_ptr->valid & 0x60000) != 0x20000) {\n    return;\n  }" if (parenthesized_expression "((info_ptr->valid & 0x60000) != 0x20000)" ( (binary_expression "(info_ptr->valid & 0x60000) != 0x20000" (parenthesized_expression "(info_ptr->valid & 0x60000)" ( (binary_expression "info_ptr->valid & 0x60000" (field_expression "info_ptr->valid" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "png_ptr->apng_flags = png_ptr->apng_flags | 1;" (assignment_expression "png_ptr->apng_flags = png_ptr->apng_flags | 1" (field_expression "png_ptr->apng_flags" identifier -> field_identifier) = (binary_expression "png_ptr->apng_flags | 1" (field_expression "png_ptr->apng_flags" identifier -> field_identifier) | number_literal)) ;) (expression_statement "info_ptr->num_frames = info_ptr->num_frames + 1;" (assignment_expression "info_ptr->num_frames = info_ptr->num_frames + 1" (field_expression "info_ptr->num_frames" identifier -> field_identifier) = (binary_expression "info_ptr->num_frames + 1" (field_expression "info_ptr->num_frames" identifier -> field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0002dc90(int param_1,int param_2)\n\n{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}\n\n" (function_definition "void FUN_0002dc90(int param_1,int param_2)\n\n{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}" primitive_type (function_declarator "FUN_0002dc90(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}" { (if_statement "if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(param_2 + 8) & 0x60000) != 0x20000)" ( (binary_expression "(*(uint *)(param_2 + 8) & 0x60000) != 0x20000" (parenthesized_expression "(*(uint *)(param_2 + 8) & 0x60000)" ( (binary_expression "*(uint *)(param_2 + 8) & 0x60000" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;" (assignment_expression "*(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1" (pointer_expression "*(uint *)(param_1 + 0x2b4)" * (cast_expression "(uint *)(param_1 + 0x2b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b4)" ( (binary_expression "param_1 + 0x2b4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x2b4) | 1" (pointer_expression "*(uint *)(param_1 + 0x2b4)" * (cast_expression "(uint *)(param_1 + 0x2b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b4)" ( (binary_expression "param_1 + 0x2b4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;" (assignment_expression "*(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1" (pointer_expression "*(int *)(param_2 + 0x118)" * (cast_expression "(int *)(param_2 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x118)" ( (binary_expression "param_2 + 0x118" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x118) + 1" (pointer_expression "*(int *)(param_2 + 0x118)" * (cast_expression "(int *)(param_2 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x118)" ( (binary_expression "param_2 + 0x118" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0002dc90(int param_1,int param_2)\n\n{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002dc90(int param_1,int param_2)" (identifier "FUN_0002dc90") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }\n  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;\n  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;\n  return;\n}" ({ "{") (if_statement "if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_2 + 8) & 0x60000) != 0x20000)" (( "(") (binary_expression "(*(uint *)(param_2 + 8) & 0x60000) != 0x20000" (parenthesized_expression "(*(uint *)(param_2 + 8) & 0x60000)" (( "(") (binary_expression "*(uint *)(param_2 + 8) & 0x60000" (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x60000")) () ")")) (!= "!=") (number_literal "0x20000")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;" (assignment_expression "*(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1" (pointer_expression "*(uint *)(param_1 + 0x2b4)" (* "*") (cast_expression "(uint *)(param_1 + 0x2b4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2b4)" (( "(") (binary_expression "param_1 + 0x2b4" (identifier "param_1") (+ "+") (number_literal "0x2b4")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x2b4) | 1" (pointer_expression "*(uint *)(param_1 + 0x2b4)" (* "*") (cast_expression "(uint *)(param_1 + 0x2b4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2b4)" (( "(") (binary_expression "param_1 + 0x2b4" (identifier "param_1") (+ "+") (number_literal "0x2b4")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;" (assignment_expression "*(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1" (pointer_expression "*(int *)(param_2 + 0x118)" (* "*") (cast_expression "(int *)(param_2 + 0x118)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x118)" (( "(") (binary_expression "param_2 + 0x118" (identifier "param_2") (+ "+") (number_literal "0x118")) () ")")))) (= "=") (binary_expression "*(int *)(param_2 + 0x118) + 1" (pointer_expression "*(int *)(param_2 + 0x118)" (* "*") (cast_expression "(int *)(param_2 + 0x118)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x118)" (( "(") (binary_expression "param_2 + 0x118" (identifier "param_2") (+ "+") (number_literal "0x118")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 png_ptr,type_2 info_ptr)

{
  if ((info_ptr->valid & 0x60000) != 0x20000) {
    return;
  }
  png_ptr->apng_flags = png_ptr->apng_flags | 1;
  info_ptr->num_frames = info_ptr->num_frames + 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) consequence: (compound_statement (return_statement))) (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: (identifier) right: (number_literal))))) right: (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)))) (expression_statement (assignment_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: (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)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  if ((*(uint *)(param_2 + 8) & 0x60000) != 0x20000) {
    return;
  }
  *(uint *)(param_1 + 0x2b4) = *(uint *)(param_1 + 0x2b4) | 1;
  *(int *)(param_2 + 0x118) = *(int *)(param_2 + 0x118) + 1;
  return;
}

