
/* WARNING: Unknown calling convention */

png_uint_16 png_get_next_frame_delay_num(png_structp png_ptr,png_infop info_ptr)

{
  if (png_ptr == (png_structp)0x0) {
    return 0;
  }
  if (info_ptr != (png_infop)0x0) {
    return info_ptr->next_frame_delay_num;
  }
  return 0;
}



undefined2 png_get_next_frame_delay_num(int param_1,int param_2)

{
  if (param_1 == 0) {
    return 0;
  }
  if (param_2 != 0) {
    return *(undefined2 *)(param_2 + 0x130);
  }
  return 0;
}


beq a0,zero,0x0001caf4
_nop
beq a1,zero,0x0001cafc
_nop
jr ra
_lhu v0,0x130(a1)
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
(translation_unit "undefined2 png_get_next_frame_delay_num(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}\n\n" (function_definition "undefined2 png_get_next_frame_delay_num(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}" type_identifier (function_declarator "png_get_next_frame_delay_num(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 (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}" { (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined2 *)(param_2 + 0x130);\n  }" { (return_statement "return *(undefined2 *)(param_2 + 0x130);" return (pointer_expression "*(undefined2 *)(param_2 + 0x130)" * (cast_expression "(undefined2 *)(param_2 + 0x130)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x130)" ( (binary_expression "param_2 + 0x130" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\npng_uint_16 png_get_next_frame_delay_num(png_structp png_ptr,png_infop info_ptr)\n\n{\n  if (png_ptr == (png_structp)0x0) {\n    return 0;\n  }\n  if (info_ptr != (png_infop)0x0) {\n    return info_ptr->next_frame_delay_num;\n  }\n  return 0;\n}\n\n" comment (function_definition "png_uint_16 png_get_next_frame_delay_num(png_structp png_ptr,png_infop info_ptr)\n\n{\n  if (png_ptr == (png_structp)0x0) {\n    return 0;\n  }\n  if (info_ptr != (png_infop)0x0) {\n    return info_ptr->next_frame_delay_num;\n  }\n  return 0;\n}" type_identifier (function_declarator "png_get_next_frame_delay_num(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 (png_ptr == (png_structp)0x0) {\n    return 0;\n  }\n  if (info_ptr != (png_infop)0x0) {\n    return info_ptr->next_frame_delay_num;\n  }\n  return 0;\n}" { (if_statement "if (png_ptr == (png_structp)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(png_ptr == (png_structp)0x0)" ( (binary_expression "png_ptr == (png_structp)0x0" identifier == (cast_expression "(png_structp)0x0" ( (type_descriptor "png_structp" type_identifier) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (info_ptr != (png_infop)0x0) {\n    return info_ptr->next_frame_delay_num;\n  }" if (parenthesized_expression "(info_ptr != (png_infop)0x0)" ( (binary_expression "info_ptr != (png_infop)0x0" identifier != (cast_expression "(png_infop)0x0" ( (type_descriptor "png_infop" type_identifier) ) number_literal)) )) (compound_statement "{\n    return info_ptr->next_frame_delay_num;\n  }" { (return_statement "return info_ptr->next_frame_delay_num;" return (field_expression "info_ptr->next_frame_delay_num" identifier -> field_identifier) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined2 png_get_next_frame_delay_num(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}\n\n" (function_definition "undefined2 png_get_next_frame_delay_num(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}" type_identifier (function_declarator "png_get_next_frame_delay_num(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 (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}" { (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined2 *)(param_2 + 0x130);\n  }" { (return_statement "return *(undefined2 *)(param_2 + 0x130);" return (pointer_expression "*(undefined2 *)(param_2 + 0x130)" * (cast_expression "(undefined2 *)(param_2 + 0x130)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x130)" ( (binary_expression "param_2 + 0x130" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(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 IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined2 png_get_next_frame_delay_num(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}" (type_identifier "undefined2") (function_declarator "png_get_next_frame_delay_num(int param_1,int param_2)" (identifier "png_get_next_frame_delay_num") (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 (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }\n  return 0;\n}" ({ "{") (if_statement "if (param_1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    return *(undefined2 *)(param_2 + 0x130);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined2 *)(param_2 + 0x130);\n  }" ({ "{") (return_statement "return *(undefined2 *)(param_2 + 0x130);" (return "return") (pointer_expression "*(undefined2 *)(param_2 + 0x130)" (* "*") (cast_expression "(undefined2 *)(param_2 + 0x130)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x130)" (( "(") (binary_expression "param_2 + 0x130" (identifier "param_2") (+ "+") (number_literal "0x130")) () ")")))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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)))))))) (return_statement (number_literal)))))

undefined2 MASKED(int param_1,int param_2)

{
  if (param_1 == 0) {
    return 0;
  }
  if (param_2 != 0) {
    return *(undefined2 *)(param_2 + 0x130);
  }
  return 0;
}

