
_Bool hard_locale(int category)

{
  int iVar1;
  int iVar2;
  
  iVar1 = (*(code *)PTR_setlocale_0002d190)(category,0);
  if (iVar1 == 0) {
    return true;
  }
  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);
  if (iVar2 != 0) {
    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);
    return iVar1 != 0;
  }
  return false;
}



bool hard_locale(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);
  if (iVar1 == 0) {
    return true;
  }
  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);
  if (iVar2 != 0) {
    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);
    return iVar1 != 0;
  }
  return false;
}


lui gp,0x2
addiu gp,gp,-0x2c20
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7ec0(gp)
or a1,zero,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_sw s0,0x18(sp)
beq v0,zero,0x00017cfc
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
or a0,v0,zero
lw t9,-0x7ddc(gp)
or s0,v0,zero
jalr t9
_addiu a1,a1,-0x4110
beq v0,zero,0x00017ce8
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
or a0,s0,zero
lw t9,-0x7ddc(gp)
jalr t9
_addiu a1,a1,-0x410c
lw ra,0x1c(sp)
sltu v0,zero,v0
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or v0,zero,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
li v0,0x1
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}\n\n" (function_definition "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" primitive_type (function_declarator "hard_locale(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0)" identifier = (call_expression "(*(code *)PTR_setlocale_0002d190)(param_1,0)" (parenthesized_expression "(*(code *)PTR_setlocale_0002d190)" ( (pointer_expression "*(code *)PTR_setlocale_0002d190" * (cast_expression "(code *)PTR_setlocale_0002d190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return true;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" identifier = (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" ( (pointer_expression "*(code *)PTR_strcmp_0002d274" * (cast_expression "(code *)PTR_strcmp_0002d274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x4110)" ( identifier , (binary_expression "PTR_DAT_0002d088 + -0x4110" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" identifier = (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" ( (pointer_expression "*(code *)PTR_strcmp_0002d274" * (cast_expression "(code *)PTR_strcmp_0002d274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x410c)" ( identifier , (binary_expression "PTR_DAT_0002d088 + -0x410c" identifier + number_literal) )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "_Bool hard_locale(int category)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(category,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}\n\n" (function_definition "_Bool hard_locale(int category)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(category,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" type_identifier (function_declarator "hard_locale(int category)" identifier (parameter_list "(int category)" ( (parameter_declaration "int category" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(category,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_setlocale_0002d190)(category,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_0002d190)(category,0)" identifier = (call_expression "(*(code *)PTR_setlocale_0002d190)(category,0)" (parenthesized_expression "(*(code *)PTR_setlocale_0002d190)" ( (pointer_expression "*(code *)PTR_setlocale_0002d190" * (cast_expression "(code *)PTR_setlocale_0002d190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(category,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return true;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" identifier = (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" ( (pointer_expression "*(code *)PTR_strcmp_0002d274" * (cast_expression "(code *)PTR_strcmp_0002d274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x4110)" ( identifier , (binary_expression "PTR_DAT_0002d088 + -0x4110" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" identifier = (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" ( (pointer_expression "*(code *)PTR_strcmp_0002d274" * (cast_expression "(code *)PTR_strcmp_0002d274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x410c)" ( identifier , (binary_expression "PTR_DAT_0002d088 + -0x410c" identifier + number_literal) )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}\n\n" (function_definition "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" primitive_type (function_declarator "hard_locale(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0)" identifier = (call_expression "(*(code *)PTR_setlocale_0002d190)(param_1,0)" (parenthesized_expression "(*(code *)PTR_setlocale_0002d190)" ( (pointer_expression "*(code *)PTR_setlocale_0002d190" * (cast_expression "(code *)PTR_setlocale_0002d190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return true;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" identifier = (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" ( (pointer_expression "*(code *)PTR_strcmp_0002d274" * (cast_expression "(code *)PTR_strcmp_0002d274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x4110)" ( identifier , (binary_expression "PTR_DAT_0002d088 + -0x4110" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" identifier = (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" ( (pointer_expression "*(code *)PTR_strcmp_0002d274" * (cast_expression "(code *)PTR_strcmp_0002d274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x410c)" ( identifier , (binary_expression "PTR_DAT_0002d088 + -0x410c" identifier + number_literal) )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (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 (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) )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "hard_locale(undefined4 param_1)" (identifier "hard_locale") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);\n  if (iVar1 == 0) {\n    return true;\n  }\n  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);\n  if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }\n  return false;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_setlocale_0002d190)(param_1,0)" (parenthesized_expression "(*(code *)PTR_setlocale_0002d190)" (( "(") (pointer_expression "*(code *)PTR_setlocale_0002d190" (* "*") (cast_expression "(code *)PTR_setlocale_0002d190" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_setlocale_0002d190"))) () ")")) (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return true;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0002d274" (* "*") (cast_expression "(code *)PTR_strcmp_0002d274" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0002d274"))) () ")")) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x4110)" (( "(") (identifier "iVar1") (, ",") (binary_expression "PTR_DAT_0002d088 + -0x4110" (identifier "PTR_DAT_0002d088") (+ "+") (number_literal "-0x4110")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);\n    return iVar1 != 0;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c)" (parenthesized_expression "(*(code *)PTR_strcmp_0002d274)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0002d274" (* "*") (cast_expression "(code *)PTR_strcmp_0002d274" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0002d274"))) () ")")) (argument_list "(iVar1,PTR_DAT_0002d088 + -0x410c)" (( "(") (identifier "iVar1") (, ",") (binary_expression "PTR_DAT_0002d088 + -0x410c" (identifier "PTR_DAT_0002d088") (+ "+") (number_literal "-0x410c")) () ")")))) (; ";")) (return_statement "return iVar1 != 0;" (return "return") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

type_1 function_1(int category)

{
  int var_1;
  int var_3;
  
  var_1 = (*(type_2 *)PTR_setlocale_0002d190)(category,0);
  if (var_1 == 0) {
    return true;
  }
  var_3 = (*(type_2 *)PTR_strcmp_0002d274)(var_1,var_2 + -0x4110);
  if (var_3 != 0) {
    var_1 = (*(type_2 *)PTR_strcmp_0002d274)(var_1,var_2 + -0x410c);
    return var_1 != 0;
  }
  return false;
}


(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)) (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) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (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 (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)))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (false)))))

bool MASKED(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = (*(code *)PTR_setlocale_0002d190)(param_1,0);
  if (iVar1 == 0) {
    return true;
  }
  iVar2 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x4110);
  if (iVar2 != 0) {
    iVar1 = (*(code *)PTR_strcmp_0002d274)(iVar1,PTR_DAT_0002d088 + -0x410c);
    return iVar1 != 0;
  }
  return false;
}

