
/* WARNING: Unknown calling convention */

void * enum_settings_start(void)

{
  char *pcVar1;
  void *pvVar2;
  
  pcVar1 = make_filename(4,(char *)0x0);
  pvVar2 = (void *)(*(code *)PTR_opendir_001121c4)(pcVar1);
  (*(code *)PTR_safefree_001112f0)(pcVar1);
  return pvVar2;
}



undefined4 enum_settings_start(void)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_000c7fc0(4,0);
  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);
  (*(code *)PTR_safefree_001112f0)(uVar1);
  return uVar2;
}


lui gp,0x5
addiu gp,gp,-0x208
addu gp,gp,t9
lw t9,-0x7598(gp)
addiu sp,sp,-0x28
or a1,zero,zero
addiu t9,t9,0x7fc0
sw ra,0x24(sp)
sw s0,0x20(sp)
sw gp,0x10(sp)
bal 0x000c7fc0
_li a0,0x4
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x70ec(gp)
jalr t9
_or s0,v0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7fc0(gp)
jalr t9
_sw v0,0x1c(sp)
lw ra,0x24(sp)
lw v0,0x1c(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 enum_settings_start(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 enum_settings_start(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}" type_identifier (function_declarator "enum_settings_start(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000c7fc0(4,0);" (assignment_expression "uVar1 = FUN_000c7fc0(4,0)" identifier = (call_expression "FUN_000c7fc0(4,0)" identifier (argument_list "(4,0)" ( number_literal , number_literal )))) ;) (expression_statement "uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);" (assignment_expression "uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1)" identifier = (call_expression "(*(code *)PTR_opendir_001121c4)(uVar1)" (parenthesized_expression "(*(code *)PTR_opendir_001121c4)" ( (pointer_expression "*(code *)PTR_opendir_001121c4" * (cast_expression "(code *)PTR_opendir_001121c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar1);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * enum_settings_start(void)\n\n{\n  char *pcVar1;\n  void *pvVar2;\n  \n  pcVar1 = make_filename(4,(char *)0x0);\n  pvVar2 = (void *)(*(code *)PTR_opendir_001121c4)(pcVar1);\n  (*(code *)PTR_safefree_001112f0)(pcVar1);\n  return pvVar2;\n}\n\n" comment (function_definition "void * enum_settings_start(void)\n\n{\n  char *pcVar1;\n  void *pvVar2;\n  \n  pcVar1 = make_filename(4,(char *)0x0);\n  pvVar2 = (void *)(*(code *)PTR_opendir_001121c4)(pcVar1);\n  (*(code *)PTR_safefree_001112f0)(pcVar1);\n  return pvVar2;\n}" primitive_type (pointer_declarator "* enum_settings_start(void)" * (function_declarator "enum_settings_start(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  void *pvVar2;\n  \n  pcVar1 = make_filename(4,(char *)0x0);\n  pvVar2 = (void *)(*(code *)PTR_opendir_001121c4)(pcVar1);\n  (*(code *)PTR_safefree_001112f0)(pcVar1);\n  return pvVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (expression_statement "pcVar1 = make_filename(4,(char *)0x0);" (assignment_expression "pcVar1 = make_filename(4,(char *)0x0)" identifier = (call_expression "make_filename(4,(char *)0x0)" identifier (argument_list "(4,(char *)0x0)" ( number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pvVar2 = (void *)(*(code *)PTR_opendir_001121c4)(pcVar1);" (assignment_expression "pvVar2 = (void *)(*(code *)PTR_opendir_001121c4)(pcVar1)" identifier = (cast_expression "(void *)(*(code *)PTR_opendir_001121c4)(pcVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_opendir_001121c4)(pcVar1)" (parenthesized_expression "(*(code *)PTR_opendir_001121c4)" ( (pointer_expression "*(code *)PTR_opendir_001121c4" * (cast_expression "(code *)PTR_opendir_001121c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_001112f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return pvVar2;" return identifier ;) })))
(translation_unit "undefined4 enum_settings_start(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 enum_settings_start(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}" type_identifier (function_declarator "enum_settings_start(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000c7fc0(4,0);" (assignment_expression "uVar1 = FUN_000c7fc0(4,0)" identifier = (call_expression "FUN_000c7fc0(4,0)" identifier (argument_list "(4,0)" ( number_literal , number_literal )))) ;) (expression_statement "uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);" (assignment_expression "uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1)" identifier = (call_expression "(*(code *)PTR_opendir_001121c4)(uVar1)" (parenthesized_expression "(*(code *)PTR_opendir_001121c4)" ( (pointer_expression "*(code *)PTR_opendir_001121c4" * (cast_expression "(code *)PTR_opendir_001121c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar1);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 enum_settings_start(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "enum_settings_start(void)" (identifier "enum_settings_start") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000c7fc0(4,0);\n  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);\n  (*(code *)PTR_safefree_001112f0)(uVar1);\n  return uVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = FUN_000c7fc0(4,0);" (assignment_expression "uVar1 = FUN_000c7fc0(4,0)" (identifier "uVar1") (= "=") (call_expression "FUN_000c7fc0(4,0)" (identifier "FUN_000c7fc0") (argument_list "(4,0)" (( "(") (number_literal "4") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);" (assignment_expression "uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_opendir_001121c4)(uVar1)" (parenthesized_expression "(*(code *)PTR_opendir_001121c4)" (( "(") (pointer_expression "*(code *)PTR_opendir_001121c4" (* "*") (cast_expression "(code *)PTR_opendir_001121c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_opendir_001121c4"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar1);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (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 (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 (identifier)))))

undefined4 MASKED(void)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_000c7fc0(4,0);
  uVar2 = (*(code *)PTR_opendir_001121c4)(uVar1);
  (*(code *)PTR_safefree_001112f0)(uVar1);
  return uVar2;
}

