
/* WARNING: Unknown calling convention */

void setup_output(char *name0,char *name1,_Bool recursive)

{
  *(char **)(PTR_DAT_0005d118 + -0x27cc) = name0;
  *(char **)(PTR_DAT_0005d118 + -0x27d0) = name1;
  PTR_DAT_0005d118[-0x27d3] = recursive;
  *(undefined4 *)PTR_outfile_0005d1a0 = 0;
  return;
}



void setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)

{
  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;
  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;
  PTR_DAT_0005d118[-0x27d3] = param_3;
  *(undefined4 *)PTR_outfile_0005d1a0 = 0;
  return;
}


lui gp,0x4
addiu gp,gp,0x57bc
addu gp,gp,t9
lw v0,-0x7fd8(gp)
sw a0,-0x27cc(v0)
lw v0,-0x7fd8(gp)
sw a1,-0x27d0(v0)
lw v0,-0x7fd8(gp)
sb a2,-0x27d3(v0)
lw v0,-0x7f50(gp)
jr ra
_sw zero,0x0(v0)
(translation_unit "void setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}\n\n" (function_definition "void setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" primitive_type (function_declarator "setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined1 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" { (expression_statement "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1" (pointer_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc)" * (cast_expression "(undefined4 *)(PTR_DAT_0005d118 + -0x27cc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005d118 + -0x27cc)" ( (binary_expression "PTR_DAT_0005d118 + -0x27cc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;" (assignment_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2" (pointer_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0)" * (cast_expression "(undefined4 *)(PTR_DAT_0005d118 + -0x27d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005d118 + -0x27d0)" ( (binary_expression "PTR_DAT_0005d118 + -0x27d0" identifier + number_literal) )))) = identifier) ;) (expression_statement "PTR_DAT_0005d118[-0x27d3] = param_3;" (assignment_expression "PTR_DAT_0005d118[-0x27d3] = param_3" (subscript_expression "PTR_DAT_0005d118[-0x27d3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)PTR_outfile_0005d1a0 = 0;" (assignment_expression "*(undefined4 *)PTR_outfile_0005d1a0 = 0" (pointer_expression "*(undefined4 *)PTR_outfile_0005d1a0" * (cast_expression "(undefined4 *)PTR_outfile_0005d1a0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid setup_output(char *name0,char *name1,_Bool recursive)\n\n{\n  *(char **)(PTR_DAT_0005d118 + -0x27cc) = name0;\n  *(char **)(PTR_DAT_0005d118 + -0x27d0) = name1;\n  PTR_DAT_0005d118[-0x27d3] = recursive;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}\n\n" comment (function_definition "void setup_output(char *name0,char *name1,_Bool recursive)\n\n{\n  *(char **)(PTR_DAT_0005d118 + -0x27cc) = name0;\n  *(char **)(PTR_DAT_0005d118 + -0x27d0) = name1;\n  PTR_DAT_0005d118[-0x27d3] = recursive;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" primitive_type (function_declarator "setup_output(char *name0,char *name1,_Bool recursive)" identifier (parameter_list "(char *name0,char *name1,_Bool recursive)" ( (parameter_declaration "char *name0" primitive_type (pointer_declarator "*name0" * identifier)) , (parameter_declaration "char *name1" primitive_type (pointer_declarator "*name1" * identifier)) , (parameter_declaration "_Bool recursive" type_identifier identifier) ))) (compound_statement "{\n  *(char **)(PTR_DAT_0005d118 + -0x27cc) = name0;\n  *(char **)(PTR_DAT_0005d118 + -0x27d0) = name1;\n  PTR_DAT_0005d118[-0x27d3] = recursive;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" { (expression_statement "*(char **)(PTR_DAT_0005d118 + -0x27cc) = name0;" (assignment_expression "*(char **)(PTR_DAT_0005d118 + -0x27cc) = name0" (pointer_expression "*(char **)(PTR_DAT_0005d118 + -0x27cc)" * (cast_expression "(char **)(PTR_DAT_0005d118 + -0x27cc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0005d118 + -0x27cc)" ( (binary_expression "PTR_DAT_0005d118 + -0x27cc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(PTR_DAT_0005d118 + -0x27d0) = name1;" (assignment_expression "*(char **)(PTR_DAT_0005d118 + -0x27d0) = name1" (pointer_expression "*(char **)(PTR_DAT_0005d118 + -0x27d0)" * (cast_expression "(char **)(PTR_DAT_0005d118 + -0x27d0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0005d118 + -0x27d0)" ( (binary_expression "PTR_DAT_0005d118 + -0x27d0" identifier + number_literal) )))) = identifier) ;) (expression_statement "PTR_DAT_0005d118[-0x27d3] = recursive;" (assignment_expression "PTR_DAT_0005d118[-0x27d3] = recursive" (subscript_expression "PTR_DAT_0005d118[-0x27d3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)PTR_outfile_0005d1a0 = 0;" (assignment_expression "*(undefined4 *)PTR_outfile_0005d1a0 = 0" (pointer_expression "*(undefined4 *)PTR_outfile_0005d1a0" * (cast_expression "(undefined4 *)PTR_outfile_0005d1a0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}\n\n" (function_definition "void setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" primitive_type (function_declarator "setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined1 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" { (expression_statement "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1" (pointer_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc)" * (cast_expression "(undefined4 *)(PTR_DAT_0005d118 + -0x27cc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005d118 + -0x27cc)" ( (binary_expression "PTR_DAT_0005d118 + -0x27cc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;" (assignment_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2" (pointer_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0)" * (cast_expression "(undefined4 *)(PTR_DAT_0005d118 + -0x27d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005d118 + -0x27d0)" ( (binary_expression "PTR_DAT_0005d118 + -0x27d0" identifier + number_literal) )))) = identifier) ;) (expression_statement "PTR_DAT_0005d118[-0x27d3] = param_3;" (assignment_expression "PTR_DAT_0005d118[-0x27d3] = param_3" (subscript_expression "PTR_DAT_0005d118[-0x27d3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)PTR_outfile_0005d1a0 = 0;" (assignment_expression "*(undefined4 *)PTR_outfile_0005d1a0 = 0" (pointer_expression "*(undefined4 *)PTR_outfile_0005d1a0" * (cast_expression "(undefined4 *)PTR_outfile_0005d1a0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (return_statement return ;) })))
(function_definition "void setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "setup_output(undefined4 param_1,undefined4 param_2,undefined1 param_3)" (identifier "setup_output") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined1 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 param_3" (type_identifier "undefined1") (identifier "param_3")) () ")"))) (compound_statement "{\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;\n  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;\n  PTR_DAT_0005d118[-0x27d3] = param_3;\n  *(undefined4 *)PTR_outfile_0005d1a0 = 0;\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1" (pointer_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27cc)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0005d118 + -0x27cc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0005d118 + -0x27cc)" (( "(") (binary_expression "PTR_DAT_0005d118 + -0x27cc" (identifier "PTR_DAT_0005d118") (+ "+") (number_literal "-0x27cc")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;" (assignment_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2" (pointer_expression "*(undefined4 *)(PTR_DAT_0005d118 + -0x27d0)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0005d118 + -0x27d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0005d118 + -0x27d0)" (( "(") (binary_expression "PTR_DAT_0005d118 + -0x27d0" (identifier "PTR_DAT_0005d118") (+ "+") (number_literal "-0x27d0")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "PTR_DAT_0005d118[-0x27d3] = param_3;" (assignment_expression "PTR_DAT_0005d118[-0x27d3] = param_3" (subscript_expression "PTR_DAT_0005d118[-0x27d3]" (identifier "PTR_DAT_0005d118") ([ "[") (number_literal "-0x27d3") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)PTR_outfile_0005d1a0 = 0;" (assignment_expression "*(undefined4 *)PTR_outfile_0005d1a0 = 0" (pointer_expression "*(undefined4 *)PTR_outfile_0005d1a0" (* "*") (cast_expression "(undefined4 *)PTR_outfile_0005d1a0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_outfile_0005d1a0"))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(char *name0,char *name1,type_1 recursive)

{
  *(char **)(var_1 + -0x27cc) = name0;
  *(char **)(var_1 + -0x27d0) = name1;
  var_1[-0x27d3] = recursive;
  *(type_2 *)PTR_outfile_0005d1a0 = 0;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,undefined1 param_3)

{
  *(undefined4 *)(PTR_DAT_0005d118 + -0x27cc) = param_1;
  *(undefined4 *)(PTR_DAT_0005d118 + -0x27d0) = param_2;
  PTR_DAT_0005d118[-0x27d3] = param_3;
  *(undefined4 *)PTR_outfile_0005d1a0 = 0;
  return;
}

