
char * dir_file_cat(char *dir,char *file)

{
  char *pcVar1;
  
  pcVar1 = (char *)(*(code *)PTR_dupcat_000bc394)
                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)
  ;
  return pcVar1;
}



void dir_file_cat(undefined4 param_1,undefined4 param_2)

{
  (*(code *)PTR_dupcat_000bc394)
            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);
  return;
}


lui gp,0x3
addiu gp,gp,0x21b8
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
or a3,zero,zero
or a2,a1,zero
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x4e10
lw t9,-0x7dbc(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void dir_file_cat(undefined4 param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}\n\n" (function_definition "void dir_file_cat(undefined4 param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}" primitive_type (function_declarator "dir_file_cat(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}" { (expression_statement "(*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);" (call_expression "(*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000bc394)" ( (pointer_expression "*(code *)PTR_dupcat_000bc394" * (cast_expression "(code *)PTR_dupcat_000bc394" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10" identifier + number_literal) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "char * dir_file_cat(char *dir,char *file)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)\n  ;\n  return pcVar1;\n}\n\n" (function_definition "char * dir_file_cat(char *dir,char *file)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)\n  ;\n  return pcVar1;\n}" primitive_type (pointer_declarator "* dir_file_cat(char *dir,char *file)" * (function_declarator "dir_file_cat(char *dir,char *file)" identifier (parameter_list "(char *dir,char *file)" ( (parameter_declaration "char *dir" primitive_type (pointer_declarator "*dir" * identifier)) , (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)\n  ;\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)\n  ;" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000bc394)\n                             (dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000bc394)" ( (pointer_expression "*(code *)PTR_dupcat_000bc394" * (cast_expression "(code *)PTR_dupcat_000bc394" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dir,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,file,0)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10" identifier + number_literal) , identifier , number_literal ))))) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "void dir_file_cat(undefined4 param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}\n\n" (function_definition "void dir_file_cat(undefined4 param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}" primitive_type (function_declarator "dir_file_cat(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}" { (expression_statement "(*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);" (call_expression "(*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000bc394)" ( (pointer_expression "*(code *)PTR_dupcat_000bc394" * (cast_expression "(code *)PTR_dupcat_000bc394" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10" identifier + number_literal) , 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) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void dir_file_cat(undefined4 param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}" (primitive_type "void") (function_declarator "dir_file_cat(undefined4 param_1,undefined4 param_2)" (identifier "dir_file_cat") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  (*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);\n  return;\n}" ({ "{") (expression_statement "(*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);" (call_expression "(*(code *)PTR_dupcat_000bc394)\n            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000bc394)" (( "(") (pointer_expression "*(code *)PTR_dupcat_000bc394" (* "*") (cast_expression "(code *)PTR_dupcat_000bc394" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupcat_000bc394"))) () ")")) (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x4e10")) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

char * function_1(char *dir,char *file)

{
  char *pcVar1;
  
  pcVar1 = (char *)(*(type_1 *)PTR_dupcat_000bc394)
                             (dir,var_1 + -0x4e10,file,0)
  ;
  return pcVar1;
}


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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  (*(code *)PTR_dupcat_000bc394)
            (param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x4e10,param_2,0);
  return;
}

