
SHELL_VAR * assign_dirstack(SHELL_VAR *self,char *value,arrayind_t ind,char *key)

{
  undefined4 in_a3;
  
  (*(code *)PTR_set_dirstack_element_00144ea8)(key,in_a3,1,value);
  return self;
}



undefined4 FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);
  return param_1;
}


lui gp,0x10
addiu gp,gp,-0x73ec
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7698(gp)
or v1,a3,zero
or a3,a1,zero
sw s0,0x18(sp)
or s0,a0,zero
or a0,a2,zero
sw ra,0x1c(sp)
li a2,0x1
sw gp,0x10(sp)
jalr t9
_or a1,v1,zero
or v0,s0,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}\n\n" (function_definition "undefined4 FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}" type_identifier (function_declarator "FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}" { (expression_statement "(*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);" (call_expression "(*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2)" (parenthesized_expression "(*(code *)PTR_set_dirstack_element_00144ea8)" ( (pointer_expression "*(code *)PTR_set_dirstack_element_00144ea8" * (cast_expression "(code *)PTR_set_dirstack_element_00144ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,param_4,1,param_2)" ( identifier , identifier , number_literal , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "SHELL_VAR * assign_dirstack(SHELL_VAR *self,char *value,arrayind_t ind,char *key)\n\n{\n  undefined4 in_a3;\n  \n  (*(code *)PTR_set_dirstack_element_00144ea8)(key,in_a3,1,value);\n  return self;\n}\n\n" (function_definition "SHELL_VAR * assign_dirstack(SHELL_VAR *self,char *value,arrayind_t ind,char *key)\n\n{\n  undefined4 in_a3;\n  \n  (*(code *)PTR_set_dirstack_element_00144ea8)(key,in_a3,1,value);\n  return self;\n}" type_identifier (pointer_declarator "* assign_dirstack(SHELL_VAR *self,char *value,arrayind_t ind,char *key)" * (function_declarator "assign_dirstack(SHELL_VAR *self,char *value,arrayind_t ind,char *key)" identifier (parameter_list "(SHELL_VAR *self,char *value,arrayind_t ind,char *key)" ( (parameter_declaration "SHELL_VAR *self" type_identifier (pointer_declarator "*self" * identifier)) , (parameter_declaration "char *value" primitive_type (pointer_declarator "*value" * identifier)) , (parameter_declaration "arrayind_t ind" type_identifier identifier) , (parameter_declaration "char *key" primitive_type (pointer_declarator "*key" * identifier)) )))) (compound_statement "{\n  undefined4 in_a3;\n  \n  (*(code *)PTR_set_dirstack_element_00144ea8)(key,in_a3,1,value);\n  return self;\n}" { (declaration "undefined4 in_a3;" type_identifier identifier ;) (expression_statement "(*(code *)PTR_set_dirstack_element_00144ea8)(key,in_a3,1,value);" (call_expression "(*(code *)PTR_set_dirstack_element_00144ea8)(key,in_a3,1,value)" (parenthesized_expression "(*(code *)PTR_set_dirstack_element_00144ea8)" ( (pointer_expression "*(code *)PTR_set_dirstack_element_00144ea8" * (cast_expression "(code *)PTR_set_dirstack_element_00144ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(key,in_a3,1,value)" ( identifier , identifier , number_literal , identifier ))) ;) (return_statement "return self;" return identifier ;) })))
(translation_unit "undefined4 FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}\n\n" (function_definition "undefined4 FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}" type_identifier (function_declarator "FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}" { (expression_statement "(*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);" (call_expression "(*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2)" (parenthesized_expression "(*(code *)PTR_set_dirstack_element_00144ea8)" ( (pointer_expression "*(code *)PTR_set_dirstack_element_00144ea8" * (cast_expression "(code *)PTR_set_dirstack_element_00144ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,param_4,1,param_2)" ( identifier , identifier , number_literal , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (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 , IDENT , LIT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0005392c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_0005392c") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);\n  return param_1;\n}" ({ "{") (expression_statement "(*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);" (call_expression "(*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2)" (parenthesized_expression "(*(code *)PTR_set_dirstack_element_00144ea8)" (( "(") (pointer_expression "*(code *)PTR_set_dirstack_element_00144ea8" (* "*") (cast_expression "(code *)PTR_set_dirstack_element_00144ea8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_set_dirstack_element_00144ea8"))) () ")")) (argument_list "(param_3,param_4,1,param_2)" (( "(") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) 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)) (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) (identifier) (number_literal) (identifier)))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  (*(code *)PTR_set_dirstack_element_00144ea8)(param_3,param_4,1,param_2);
  return param_1;
}

