
/* WARNING: Unknown calling convention */

char * locale_charset(void)

{
  char *pcVar1;
  
  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);
  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {
    return pcVar1;
  }
  return PTR_DAT_00029118 + -0x7120;
}



char * locale_charset(void)

{
  char *pcVar1;
  
  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);
  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {
    return pcVar1;
  }
  return PTR_DAT_00029118 + -0x7120;
}


lui gp,0x2
addiu gp,gp,-0x5d50
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7ea8(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_li a0,0xe
beq v0,zero,0x00016e60
_lw gp,0x10(sp)
lb v1,0x0(v0)
beq v1,zero,0x00016e60
_lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
addiu sp,sp,0x20
lw v0,-0x7fb8(gp)
jr ra
_addiu v0,v0,-0x7120
(translation_unit "char * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}\n\n" (function_definition "char * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" primitive_type (pointer_declarator "* locale_charset(void)" * (function_declarator "locale_charset(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" identifier = (cast_expression "(char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nl_langinfo_00029228)(0xe)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_00029228)" ( (pointer_expression "*(code *)PTR_nl_langinfo_00029228" * (cast_expression "(code *)PTR_nl_langinfo_00029228" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xe)" ( number_literal ))))) ;) (if_statement "if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }" if (parenthesized_expression "((pcVar1 != (char *)0x0) && (*pcVar1 != '\0'))" ( (binary_expression "(pcVar1 != (char *)0x0) && (*pcVar1 != '\0')" (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (return_statement "return PTR_DAT_00029118 + -0x7120;" return (binary_expression "PTR_DAT_00029118 + -0x7120" identifier + number_literal) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nchar * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}\n\n" comment (function_definition "char * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" primitive_type (pointer_declarator "* locale_charset(void)" * (function_declarator "locale_charset(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" identifier = (cast_expression "(char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nl_langinfo_00029228)(0xe)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_00029228)" ( (pointer_expression "*(code *)PTR_nl_langinfo_00029228" * (cast_expression "(code *)PTR_nl_langinfo_00029228" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xe)" ( number_literal ))))) ;) (if_statement "if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }" if (parenthesized_expression "((pcVar1 != (char *)0x0) && (*pcVar1 != '\0'))" ( (binary_expression "(pcVar1 != (char *)0x0) && (*pcVar1 != '\0')" (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (return_statement "return PTR_DAT_00029118 + -0x7120;" return (binary_expression "PTR_DAT_00029118 + -0x7120" identifier + number_literal) ;) })))
(translation_unit "char * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}\n\n" (function_definition "char * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" primitive_type (pointer_declarator "* locale_charset(void)" * (function_declarator "locale_charset(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" identifier = (cast_expression "(char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nl_langinfo_00029228)(0xe)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_00029228)" ( (pointer_expression "*(code *)PTR_nl_langinfo_00029228" * (cast_expression "(code *)PTR_nl_langinfo_00029228" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xe)" ( number_literal ))))) ;) (if_statement "if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }" if (parenthesized_expression "((pcVar1 != (char *)0x0) && (*pcVar1 != '\0'))" ( (binary_expression "(pcVar1 != (char *)0x0) && (*pcVar1 != '\0')" (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (return_statement "return PTR_DAT_00029118 + -0x7120;" return (binary_expression "PTR_DAT_00029118 + -0x7120" identifier + number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (return_statement return IDENT ;) })) (return_statement return (binary_expression IDENT + LIT) ;) })))
(function_definition "char * locale_charset(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" (primitive_type "char") (pointer_declarator "* locale_charset(void)" (* "*") (function_declarator "locale_charset(void)" (identifier "locale_charset") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);\n  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }\n  return PTR_DAT_00029118 + -0x7120;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" (identifier "pcVar1") (= "=") (cast_expression "(char *)(*(code *)PTR_nl_langinfo_00029228)(0xe)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_nl_langinfo_00029228)(0xe)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_00029228)" (( "(") (pointer_expression "*(code *)PTR_nl_langinfo_00029228" (* "*") (cast_expression "(code *)PTR_nl_langinfo_00029228" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nl_langinfo_00029228"))) () ")")) (argument_list "(0xe)" (( "(") (number_literal "0xe") () ")"))))) (; ";")) (if_statement "if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {\n    return pcVar1;\n  }" (if "if") (parenthesized_expression "((pcVar1 != (char *)0x0) && (*pcVar1 != '\0'))" (( "(") (binary_expression "(pcVar1 != (char *)0x0) && (*pcVar1 != '\0')" (parenthesized_expression "(pcVar1 != (char *)0x0)" (( "(") (binary_expression "pcVar1 != (char *)0x0" (identifier "pcVar1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar1 != '\0')" (( "(") (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    return pcVar1;\n  }" ({ "{") (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}"))) (return_statement "return PTR_DAT_00029118 + -0x7120;" (return "return") (binary_expression "PTR_DAT_00029118 + -0x7120" (identifier "PTR_DAT_00029118") (+ "+") (number_literal "-0x7120")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

char * function_1(void)

{
  char *var_1;
  
  var_1 = (char *)(*(type_1 *)PTR_nl_langinfo_00029228)(0xe);
  if ((var_1 != (char *)0x0) && (*var_1 != '\0')) {
    return var_1;
  }
  return var_2 + -0x7120;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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 (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (return_statement (identifier)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

char * MASKED(void)

{
  char *pcVar1;
  
  pcVar1 = (char *)(*(code *)PTR_nl_langinfo_00029228)(0xe);
  if ((pcVar1 != (char *)0x0) && (*pcVar1 != '\0')) {
    return pcVar1;
  }
  return PTR_DAT_00029118 + -0x7120;
}

