
void xrename(char *oldpath,char *newpath)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_rename_0012af64)();
  if (iVar1 != 0) {
                    /* WARNING: Subroutine does not return */
    bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);
  }
  return;
}



void FUN_0001a5c4(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_rename_0012af64)();
  if (iVar1 != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);
  }
  return;
}


lui gp,0x11
addiu gp,gp,0x7b8c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x71ec(gp)
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw s0,0x1c(sp)
sw ra,0x24(sp)
jalr t9
_or s0,a0,zero
beq v0,zero,0x0001a614
_lw gp,0x10(sp)
lw a0,-0x7fc4(gp)
or a2,s1,zero
lw t9,-0x7f64(gp)
or a1,s0,zero
bal 0x00018d6c
_addiu a0,a0,-0xa94
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_0001a5c4(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001a5c4(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001a5c4(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  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_rename_0012af64)();" (assignment_expression "iVar1 = (*(code *)PTR_rename_0012af64)()" identifier = (call_expression "(*(code *)PTR_rename_0012af64)()" (parenthesized_expression "(*(code *)PTR_rename_0012af64)" ( (pointer_expression "*(code *)PTR_rename_0012af64" * (cast_expression "(code *)PTR_rename_0012af64" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }" { comment (expression_statement "FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);" (call_expression "FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2)" identifier (argument_list "(PTR_UINT_0012a18c + -0xa94,param_1,param_2)" ( (binary_expression "PTR_UINT_0012a18c + -0xa94" identifier + number_literal) , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void xrename(char *oldpath,char *newpath)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);\n  }\n  return;\n}\n\n" (function_definition "void xrename(char *oldpath,char *newpath)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);\n  }\n  return;\n}" primitive_type (function_declarator "xrename(char *oldpath,char *newpath)" identifier (parameter_list "(char *oldpath,char *newpath)" ( (parameter_declaration "char *oldpath" primitive_type (pointer_declarator "*oldpath" * identifier)) , (parameter_declaration "char *newpath" primitive_type (pointer_declarator "*newpath" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_rename_0012af64)();" (assignment_expression "iVar1 = (*(code *)PTR_rename_0012af64)()" identifier = (call_expression "(*(code *)PTR_rename_0012af64)()" (parenthesized_expression "(*(code *)PTR_rename_0012af64)" ( (pointer_expression "*(code *)PTR_rename_0012af64" * (cast_expression "(code *)PTR_rename_0012af64" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);\n  }" { comment (expression_statement "bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath);" (call_expression "bb_perror_msg_and_die(PTR_UINT_0012a18c + -0xa94,oldpath,newpath)" identifier (argument_list "(PTR_UINT_0012a18c + -0xa94,oldpath,newpath)" ( (binary_expression "PTR_UINT_0012a18c + -0xa94" identifier + number_literal) , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001a5c4(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001a5c4(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001a5c4(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  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_rename_0012af64)();" (assignment_expression "iVar1 = (*(code *)PTR_rename_0012af64)()" identifier = (call_expression "(*(code *)PTR_rename_0012af64)()" (parenthesized_expression "(*(code *)PTR_rename_0012af64)" ( (pointer_expression "*(code *)PTR_rename_0012af64" * (cast_expression "(code *)PTR_rename_0012af64" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }" { (expression_statement "FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);" (call_expression "FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2)" identifier (argument_list "(PTR_UINT_0012a18c + -0xa94,param_1,param_2)" ( (binary_expression "PTR_UINT_0012a18c + -0xa94" identifier + number_literal) , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001a5c4(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001a5c4(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0001a5c4") (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  int iVar1;\n  \n  iVar1 = (*(code *)PTR_rename_0012af64)();\n  if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_rename_0012af64)();" (assignment_expression "iVar1 = (*(code *)PTR_rename_0012af64)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_rename_0012af64)()" (parenthesized_expression "(*(code *)PTR_rename_0012af64)" (( "(") (pointer_expression "*(code *)PTR_rename_0012af64" (* "*") (cast_expression "(code *)PTR_rename_0012af64" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rename_0012af64"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);\n  }" ({ "{") (expression_statement "FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);" (call_expression "FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2)" (identifier "FUN_00018d6c") (argument_list "(PTR_UINT_0012a18c + -0xa94,param_1,param_2)" (( "(") (binary_expression "PTR_UINT_0012a18c + -0xa94" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "-0xa94")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_rename_0012af64)();
  if (iVar1 != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00018d6c(PTR_UINT_0012a18c + -0xa94,param_1,param_2);
  }
  return;
}

