
void close_directory(DirHandle *dir)

{
  (*(code *)PTR_closedir_000b0ad4)(dir->dir);
  (*(code *)PTR_safefree_000b01b0)(dir);
  return;
}



void close_directory(undefined4 *param_1)

{
  (*(code *)PTR_closedir_000b0ad4)(*param_1);
  (*(code *)PTR_safefree_000b01b0)(param_1);
  return;
}


lui gp,0x3
addiu gp,gp,0x149c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x767c(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x1c(sp)
sw gp,0x10(sp)
jalr t9
_lw a0,0x0(a0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fa0(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void close_directory(undefined4 *param_1)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}\n\n" (function_definition "void close_directory(undefined4 *param_1)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}" primitive_type (function_declarator "close_directory(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}" { (expression_statement "(*(code *)PTR_closedir_000b0ad4)(*param_1);" (call_expression "(*(code *)PTR_closedir_000b0ad4)(*param_1)" (parenthesized_expression "(*(code *)PTR_closedir_000b0ad4)" ( (pointer_expression "*(code *)PTR_closedir_000b0ad4" * (cast_expression "(code *)PTR_closedir_000b0ad4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_000b01b0)(param_1);" (call_expression "(*(code *)PTR_safefree_000b01b0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_000b01b0)" ( (pointer_expression "*(code *)PTR_safefree_000b01b0" * (cast_expression "(code *)PTR_safefree_000b01b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void close_directory(DirHandle *dir)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(dir->dir);\n  (*(code *)PTR_safefree_000b01b0)(dir);\n  return;\n}\n\n" (function_definition "void close_directory(DirHandle *dir)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(dir->dir);\n  (*(code *)PTR_safefree_000b01b0)(dir);\n  return;\n}" primitive_type (function_declarator "close_directory(DirHandle *dir)" identifier (parameter_list "(DirHandle *dir)" ( (parameter_declaration "DirHandle *dir" type_identifier (pointer_declarator "*dir" * identifier)) ))) (compound_statement "{\n  (*(code *)PTR_closedir_000b0ad4)(dir->dir);\n  (*(code *)PTR_safefree_000b01b0)(dir);\n  return;\n}" { (expression_statement "(*(code *)PTR_closedir_000b0ad4)(dir->dir);" (call_expression "(*(code *)PTR_closedir_000b0ad4)(dir->dir)" (parenthesized_expression "(*(code *)PTR_closedir_000b0ad4)" ( (pointer_expression "*(code *)PTR_closedir_000b0ad4" * (cast_expression "(code *)PTR_closedir_000b0ad4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dir->dir)" ( (field_expression "dir->dir" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_000b01b0)(dir);" (call_expression "(*(code *)PTR_safefree_000b01b0)(dir)" (parenthesized_expression "(*(code *)PTR_safefree_000b01b0)" ( (pointer_expression "*(code *)PTR_safefree_000b01b0" * (cast_expression "(code *)PTR_safefree_000b01b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dir)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void close_directory(undefined4 *param_1)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}\n\n" (function_definition "void close_directory(undefined4 *param_1)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}" primitive_type (function_declarator "close_directory(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}" { (expression_statement "(*(code *)PTR_closedir_000b0ad4)(*param_1);" (call_expression "(*(code *)PTR_closedir_000b0ad4)(*param_1)" (parenthesized_expression "(*(code *)PTR_closedir_000b0ad4)" ( (pointer_expression "*(code *)PTR_closedir_000b0ad4" * (cast_expression "(code *)PTR_closedir_000b0ad4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_000b01b0)(param_1);" (call_expression "(*(code *)PTR_safefree_000b01b0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_000b01b0)" ( (pointer_expression "*(code *)PTR_safefree_000b01b0" * (cast_expression "(code *)PTR_safefree_000b01b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void close_directory(undefined4 *param_1)\n\n{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "close_directory(undefined4 *param_1)" (identifier "close_directory") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  (*(code *)PTR_closedir_000b0ad4)(*param_1);\n  (*(code *)PTR_safefree_000b01b0)(param_1);\n  return;\n}" ({ "{") (expression_statement "(*(code *)PTR_closedir_000b0ad4)(*param_1);" (call_expression "(*(code *)PTR_closedir_000b0ad4)(*param_1)" (parenthesized_expression "(*(code *)PTR_closedir_000b0ad4)" (( "(") (pointer_expression "*(code *)PTR_closedir_000b0ad4" (* "*") (cast_expression "(code *)PTR_closedir_000b0ad4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_closedir_000b0ad4"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000b01b0)(param_1);" (call_expression "(*(code *)PTR_safefree_000b01b0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_000b01b0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000b01b0" (* "*") (cast_expression "(code *)PTR_safefree_000b01b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000b01b0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (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: (pointer_declarator 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 (pointer_expression argument: (identifier))))) (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)))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  (*(code *)PTR_closedir_000b0ad4)(*param_1);
  (*(code *)PTR_safefree_000b01b0)(param_1);
  return;
}

