
_Bool hard_locale(int category)

{
  int iVar1;
  int iVar2;
  bool bVar3;
  
  iVar1 = (*(code *)PTR_setlocale_00033300)(category,0);
  if (iVar1 == 0) {
    bVar3 = true;
  }
  else {
    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);
    if (iVar2 == 0) {
      bVar3 = false;
    }
    else {
      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);
      bVar3 = iVar1 != 0;
    }
  }
  return bVar3;
}



bool hard_locale(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  bool bVar3;
  
  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);
  if (iVar1 == 0) {
    bVar3 = true;
  }
  else {
    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);
    if (iVar2 == 0) {
      bVar3 = false;
    }
    else {
      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);
      bVar3 = iVar1 != 0;
    }
  }
  return bVar3;
}


lui gp,0x2
addiu gp,gp,-0x1d90
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or a1,zero,zero
lw t9,-0x7dd0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0001cedc
_or s0,v0,zero
lw a1,-0x7fc8(gp)
addiu a1,a1,0x2550
or a0,v0,zero
lw t9,-0x7cd8(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0001cee4
_lw a1,-0x7fc8(gp)
addiu a1,a1,0x2554
or a0,s0,zero
lw t9,-0x7cd8(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0001cee8
_sltu v0,zero,v0
b 0x0001cee8
_li v0,0x1
or v0,zero,zero
lw ra,0x1c(sp)
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  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}\n\n" (function_definition "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\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  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0)" identifier = (call_expression "(*(code *)PTR_setlocale_00033300)(param_1,0)" (parenthesized_expression "(*(code *)PTR_setlocale_00033300)" ( (pointer_expression "*(code *)PTR_setlocale_00033300" * (cast_expression "(code *)PTR_setlocale_00033300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar3 = true;\n  }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" identifier = (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" ( (pointer_expression "*(code *)PTR_strcmp_000333f8" * (cast_expression "(code *)PTR_strcmp_000333f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2550)" ( identifier , (binary_expression "PTR_LAB_00033108 + 0x2550" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar3 = false;\n    }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" identifier = (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" ( (pointer_expression "*(code *)PTR_strcmp_000333f8" * (cast_expression "(code *)PTR_strcmp_000333f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2554)" ( identifier , (binary_expression "PTR_LAB_00033108 + 0x2554" identifier + number_literal) )))) ;) (expression_statement "bVar3 = iVar1 != 0;" (assignment_expression "bVar3 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) }))) }))) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit "_Bool hard_locale(int category)\n\n{\n  int iVar1;\n  int iVar2;\n  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(category,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}\n\n" (function_definition "_Bool hard_locale(int category)\n\n{\n  int iVar1;\n  int iVar2;\n  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(category,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\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  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(category,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_setlocale_00033300)(category,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_00033300)(category,0)" identifier = (call_expression "(*(code *)PTR_setlocale_00033300)(category,0)" (parenthesized_expression "(*(code *)PTR_setlocale_00033300)" ( (pointer_expression "*(code *)PTR_setlocale_00033300" * (cast_expression "(code *)PTR_setlocale_00033300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(category,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar3 = true;\n  }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" identifier = (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" ( (pointer_expression "*(code *)PTR_strcmp_000333f8" * (cast_expression "(code *)PTR_strcmp_000333f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2550)" ( identifier , (binary_expression "PTR_LAB_00033108 + 0x2550" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar3 = false;\n    }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" identifier = (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" ( (pointer_expression "*(code *)PTR_strcmp_000333f8" * (cast_expression "(code *)PTR_strcmp_000333f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2554)" ( identifier , (binary_expression "PTR_LAB_00033108 + 0x2554" identifier + number_literal) )))) ;) (expression_statement "bVar3 = iVar1 != 0;" (assignment_expression "bVar3 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) }))) }))) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}\n\n" (function_definition "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\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  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0)" identifier = (call_expression "(*(code *)PTR_setlocale_00033300)(param_1,0)" (parenthesized_expression "(*(code *)PTR_setlocale_00033300)" ( (pointer_expression "*(code *)PTR_setlocale_00033300" * (cast_expression "(code *)PTR_setlocale_00033300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar3 = true;\n  }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" identifier = (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" ( (pointer_expression "*(code *)PTR_strcmp_000333f8" * (cast_expression "(code *)PTR_strcmp_000333f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2550)" ( identifier , (binary_expression "PTR_LAB_00033108 + 0x2550" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar3 = false;\n    }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" identifier = (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" ( (pointer_expression "*(code *)PTR_strcmp_000333f8" * (cast_expression "(code *)PTR_strcmp_000333f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2554)" ( identifier , (binary_expression "PTR_LAB_00033108 + 0x2554" identifier + number_literal) )))) ;) (expression_statement "bVar3 = iVar1 != 0;" (assignment_expression "bVar3 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) }))) }))) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (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) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (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) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) }))) }))) (return_statement return IDENT ;) })))
(function_definition "bool hard_locale(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\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  bool bVar3;\n  \n  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);\n  if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }\n  return bVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_setlocale_00033300)(param_1,0)" (parenthesized_expression "(*(code *)PTR_setlocale_00033300)" (( "(") (pointer_expression "*(code *)PTR_setlocale_00033300" (* "*") (cast_expression "(code *)PTR_setlocale_00033300" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_setlocale_00033300"))) () ")")) (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    bVar3 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar3 = true;\n  }" ({ "{") (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);\n    if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000333f8" (* "*") (cast_expression "(code *)PTR_strcmp_000333f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000333f8"))) () ")")) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2550)" (( "(") (identifier "iVar1") (, ",") (binary_expression "PTR_LAB_00033108 + 0x2550" (identifier "PTR_LAB_00033108") (+ "+") (number_literal "0x2550")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      bVar3 = false;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      bVar3 = false;\n    }" ({ "{") (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" (else "else") (compound_statement "{\n      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);\n      bVar3 = iVar1 != 0;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554)" (parenthesized_expression "(*(code *)PTR_strcmp_000333f8)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000333f8" (* "*") (cast_expression "(code *)PTR_strcmp_000333f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000333f8"))) () ")")) (argument_list "(iVar1,PTR_LAB_00033108 + 0x2554)" (( "(") (identifier "iVar1") (, ",") (binary_expression "PTR_LAB_00033108 + 0x2554" (identifier "PTR_LAB_00033108") (+ "+") (number_literal "0x2554")) () ")")))) (; ";")) (expression_statement "bVar3 = iVar1 != 0;" (assignment_expression "bVar3 = iVar1 != 0" (identifier "bVar3") (= "=") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) (; ";")) (} "}")))) (} "}")))) (return_statement "return bVar3;" (return "return") (identifier "bVar3") (; ";")) (} "}")))
(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)) (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 (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (else_clause (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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false)))) alternative: (else_clause (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)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (identifier)))))

bool MASKED(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  bool bVar3;
  
  iVar1 = (*(code *)PTR_setlocale_00033300)(param_1,0);
  if (iVar1 == 0) {
    bVar3 = true;
  }
  else {
    iVar2 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2550);
    if (iVar2 == 0) {
      bVar3 = false;
    }
    else {
      iVar1 = (*(code *)PTR_strcmp_000333f8)(iVar1,PTR_LAB_00033108 + 0x2554);
      bVar3 = iVar1 != 0;
    }
  }
  return bVar3;
}

