
Filename * platform_default_filename(char *name)

{
  int iVar1;
  Filename *pFVar2;
  
  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14);
  if (iVar1 == 0) {
    pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);
    return pFVar2;
  }
  pFVar2 = filename_from_str(PTR_s_Present_000b0188 + 0x2d54);
  return pFVar2;
}



void platform_default_filename(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);
  if (iVar1 == 0) {
    filename_from_str(PTR_DAT_000b01d0 + -0x2018);
    return;
  }
  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);
  return;
}


lui gp,0x3
addiu gp,gp,0x2118
addu gp,gp,t9
lw a1,-0x7fc8(gp)
addiu sp,sp,-0x20
lw t9,-0x7478(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_addiu a1,a1,0x14
lw gp,0x10(sp)
bne v0,zero,0x00086080
_lw t9,-0x7f78(gp)
lw a0,-0x7f80(gp)
lw ra,0x1c(sp)
addiu sp,sp,0x20
b 0x00080450
_addiu a0,a0,-0x2018
lw a0,-0x7fc8(gp)
lw ra,0x1c(sp)
addiu sp,sp,0x20
b 0x00080450
_addiu a0,a0,0x2d54
(translation_unit "void platform_default_filename(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}\n\n" (function_definition "void platform_default_filename(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}" primitive_type (function_declarator "platform_default_filename(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14)" identifier = (call_expression "(*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14)" (parenthesized_expression "(*(code *)PTR_strcmp_000b0cd8)" ( (pointer_expression "*(code *)PTR_strcmp_000b0cd8" * (cast_expression "(code *)PTR_strcmp_000b0cd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_Present_000b0188 + 0x14)" ( identifier , (binary_expression "PTR_s_Present_000b0188 + 0x14" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }" { (expression_statement "filename_from_str(PTR_DAT_000b01d0 + -0x2018);" (call_expression "filename_from_str(PTR_DAT_000b01d0 + -0x2018)" identifier (argument_list "(PTR_DAT_000b01d0 + -0x2018)" ( (binary_expression "PTR_DAT_000b01d0 + -0x2018" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "filename_from_str(PTR_s_Present_000b0188 + 0x2d54);" (call_expression "filename_from_str(PTR_s_Present_000b0188 + 0x2d54)" identifier (argument_list "(PTR_s_Present_000b0188 + 0x2d54)" ( (binary_expression "PTR_s_Present_000b0188 + 0x2d54" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "Filename * platform_default_filename(char *name)\n\n{\n  int iVar1;\n  Filename *pFVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return pFVar2;\n  }\n  pFVar2 = filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return pFVar2;\n}\n\n" (function_definition "Filename * platform_default_filename(char *name)\n\n{\n  int iVar1;\n  Filename *pFVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return pFVar2;\n  }\n  pFVar2 = filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return pFVar2;\n}" type_identifier (pointer_declarator "* platform_default_filename(char *name)" * (function_declarator "platform_default_filename(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  Filename *pFVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return pFVar2;\n  }\n  pFVar2 = filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return pFVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Filename *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14)" identifier = (call_expression "(*(code *)PTR_strcmp_000b0cd8)(name,PTR_s_Present_000b0188 + 0x14)" (parenthesized_expression "(*(code *)PTR_strcmp_000b0cd8)" ( (pointer_expression "*(code *)PTR_strcmp_000b0cd8" * (cast_expression "(code *)PTR_strcmp_000b0cd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name,PTR_s_Present_000b0188 + 0x14)" ( identifier , (binary_expression "PTR_s_Present_000b0188 + 0x14" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return pFVar2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return pFVar2;\n  }" { (expression_statement "pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018);" (assignment_expression "pFVar2 = filename_from_str(PTR_DAT_000b01d0 + -0x2018)" identifier = (call_expression "filename_from_str(PTR_DAT_000b01d0 + -0x2018)" identifier (argument_list "(PTR_DAT_000b01d0 + -0x2018)" ( (binary_expression "PTR_DAT_000b01d0 + -0x2018" identifier + number_literal) )))) ;) (return_statement "return pFVar2;" return identifier ;) })) (expression_statement "pFVar2 = filename_from_str(PTR_s_Present_000b0188 + 0x2d54);" (assignment_expression "pFVar2 = filename_from_str(PTR_s_Present_000b0188 + 0x2d54)" identifier = (call_expression "filename_from_str(PTR_s_Present_000b0188 + 0x2d54)" identifier (argument_list "(PTR_s_Present_000b0188 + 0x2d54)" ( (binary_expression "PTR_s_Present_000b0188 + 0x2d54" identifier + number_literal) )))) ;) (return_statement "return pFVar2;" return identifier ;) })))
(translation_unit "void platform_default_filename(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}\n\n" (function_definition "void platform_default_filename(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}" primitive_type (function_declarator "platform_default_filename(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14)" identifier = (call_expression "(*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14)" (parenthesized_expression "(*(code *)PTR_strcmp_000b0cd8)" ( (pointer_expression "*(code *)PTR_strcmp_000b0cd8" * (cast_expression "(code *)PTR_strcmp_000b0cd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_Present_000b0188 + 0x14)" ( identifier , (binary_expression "PTR_s_Present_000b0188 + 0x14" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }" { (expression_statement "filename_from_str(PTR_DAT_000b01d0 + -0x2018);" (call_expression "filename_from_str(PTR_DAT_000b01d0 + -0x2018)" identifier (argument_list "(PTR_DAT_000b01d0 + -0x2018)" ( (binary_expression "PTR_DAT_000b01d0 + -0x2018" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "filename_from_str(PTR_s_Present_000b0188 + 0x2d54);" (call_expression "filename_from_str(PTR_s_Present_000b0188 + 0x2d54)" identifier (argument_list "(PTR_s_Present_000b0188 + 0x2d54)" ( (binary_expression "PTR_s_Present_000b0188 + 0x2d54" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void platform_default_filename(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}" (primitive_type "void") (function_declarator "platform_default_filename(undefined4 param_1)" (identifier "platform_default_filename") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);\n  if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }\n  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14)" (parenthesized_expression "(*(code *)PTR_strcmp_000b0cd8)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000b0cd8" (* "*") (cast_expression "(code *)PTR_strcmp_000b0cd8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000b0cd8"))) () ")")) (argument_list "(param_1,PTR_s_Present_000b0188 + 0x14)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Present_000b0188 + 0x14" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    filename_from_str(PTR_DAT_000b01d0 + -0x2018);\n    return;\n  }" ({ "{") (expression_statement "filename_from_str(PTR_DAT_000b01d0 + -0x2018);" (call_expression "filename_from_str(PTR_DAT_000b01d0 + -0x2018)" (identifier "filename_from_str") (argument_list "(PTR_DAT_000b01d0 + -0x2018)" (( "(") (binary_expression "PTR_DAT_000b01d0 + -0x2018" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x2018")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "filename_from_str(PTR_s_Present_000b0188 + 0x2d54);" (call_expression "filename_from_str(PTR_s_Present_000b0188 + 0x2d54)" (identifier "filename_from_str") (argument_list "(PTR_s_Present_000b0188 + 0x2d54)" (( "(") (binary_expression "PTR_s_Present_000b0188 + 0x2d54" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "0x2d54")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 * function_1(char *name)

{
  int var_2;
  type_1 *pFVar2;
  
  var_2 = (*(type_2 *)PTR_strcmp_000b0cd8)(name,var_1 + 0x14);
  if (var_2 == 0) {
    pFVar2 = var_3(var_4 + -0x2018);
    return pFVar2;
  }
  pFVar2 = var_3(var_1 + 0x2d54);
  return pFVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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 (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (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))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strcmp_000b0cd8)(param_1,PTR_s_Present_000b0188 + 0x14);
  if (iVar1 == 0) {
    filename_from_str(PTR_DAT_000b01d0 + -0x2018);
    return;
  }
  filename_from_str(PTR_s_Present_000b0188 + 0x2d54);
  return;
}

