
/* std::locale::_S_normalize_category(int) */

int std::locale::_S_normalize_category(int param_1)

{
  int iVar1;
  int *piVar2;
  int in_t9;
  code *pcVar3;
  
  if ((param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))) {
    if (6 < (uint)param_1) {
      pcVar3 = *(code **)(in_t9 + 0x19129c);
      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);
      if (*(int *)(pcVar3 + 0x191b2c) == 0) {
        piVar2 = *(int **)(pcVar3 + 0x191214);
        iVar1 = *piVar2;
        if (iVar1 == 0) {
          facet::_S_initialize_once();
          iVar1 = *piVar2;
        }
      }
      else {
        (**(code **)(pcVar3 + 0x191da4))
                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));
        iVar1 = **(int **)(pcVar3 + 0x191214);
      }
      return iVar1;
    }
    return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);
  }
  return param_1;
}



uint FUN_00333ef8(uint param_1)

{
  uint uVar1;
  uint *puVar2;
  int in_t9;
  code *pcVar3;
  
  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {
    if (6 < param_1) {
      pcVar3 = *(code **)(in_t9 + 0x19129c);
      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);
      if (*(int *)(pcVar3 + 0x191b2c) == 0) {
        puVar2 = *(uint **)(pcVar3 + 0x191214);
        uVar1 = *puVar2;
        if (uVar1 == 0) {
          std::locale::facet::_S_initialize_once();
          uVar1 = *puVar2;
        }
      }
      else {
        (**(code **)(pcVar3 + 0x191da4))
                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));
        uVar1 = **(uint **)(pcVar3 + 0x191214);
      }
      return uVar1;
    }
    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);
  }
  return param_1;
}


lui gp,0x19
addiu gp,gp,0x5348
addu gp,gp,t9
beq a0,zero,0x00333f5c
_nop
andi v0,a0,0x3f
bne v0,zero,0x00333f50
_li v0,-0x40
addiu sp,sp,-0x20
sltiu v0,a0,0x7
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq v0,zero,0x00333f64
_lw v0,-0x7f64(gp)
sll a0,a0,0x2
lw ra,0x1c(sp)
addiu sp,sp,0x20
addiu v0,v0,-0x3bd4
addu a0,a0,v0
lw a0,0x0(a0)
jr ra
_or v0,a0,zero
and v0,a0,v0
bne v0,zero,0x00333f18
_nop
jr ra
_or v0,a0,zero
lw a0,-0x7f64(gp)
lw t9,-0x40ac(gp)
jalr t9
_addiu a0,a0,-0x3c28
(translation_unit "uint FUN_00333ef8(uint param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}\n\n" (function_definition "uint FUN_00333ef8(uint param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_00333ef8(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" if (parenthesized_expression "((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0))))" ( (binary_expression "(param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))" ( (parenthesized_expression "((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0))" ( (binary_expression "(param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)" (binary_expression "(param_1 & 0x3f) == 0" (parenthesized_expression "(param_1 & 0x3f)" ( (binary_expression "param_1 & 0x3f" identifier & number_literal) )) == number_literal) || (parenthesized_expression "((param_1 & 0xffffffc0) != 0)" ( (binary_expression "(param_1 & 0xffffffc0) != 0" (parenthesized_expression "(param_1 & 0xffffffc0)" ( (binary_expression "param_1 & 0xffffffc0" identifier & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" { (if_statement "if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }" if (parenthesized_expression "(6 < param_1)" ( (binary_expression "6 < param_1" number_literal < identifier) )) (compound_statement "{\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }" { (expression_statement "pcVar3 = *(code **)(in_t9 + 0x19129c);" (assignment_expression "pcVar3 = *(code **)(in_t9 + 0x19129c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x19129c)" * (cast_expression "(code **)(in_t9 + 0x19129c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x19129c)" ( (binary_expression "in_t9 + 0x19129c" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);" (call_expression "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" ( (binary_expression "*(int *)(in_t9 + 0x18d3e4) + -0x3c28" (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" * (cast_expression "(int *)(in_t9 + 0x18d3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x18d3e4)" ( (binary_expression "in_t9 + 0x18d3e4" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" if (parenthesized_expression "(*(int *)(pcVar3 + 0x191b2c) == 0)" ( (binary_expression "*(int *)(pcVar3 + 0x191b2c) == 0" (pointer_expression "*(int *)(pcVar3 + 0x191b2c)" * (cast_expression "(int *)(pcVar3 + 0x191b2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191b2c)" ( (binary_expression "pcVar3 + 0x191b2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }" { (expression_statement "puVar2 = *(uint **)(pcVar3 + 0x191214);" (assignment_expression "puVar2 = *(uint **)(pcVar3 + 0x191214)" identifier = (pointer_expression "*(uint **)(pcVar3 + 0x191214)" * (cast_expression "(uint **)(pcVar3 + 0x191214)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191214)" ( (binary_expression "pcVar3 + 0x191214" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }" { (labeled_statement "std::locale::facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (labeled_statement "locale::facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (expression_statement "_S_initialize_once();" (call_expression "_S_initialize_once()" identifier (argument_list "()" ( ))) ;)))) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) }) (else_clause "else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" else (compound_statement "{\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" { (expression_statement "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));" (call_expression "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" (parenthesized_expression "(**(code **)(pcVar3 + 0x191da4))" ( (pointer_expression "**(code **)(pcVar3 + 0x191da4)" * (pointer_expression "*(code **)(pcVar3 + 0x191da4)" * (cast_expression "(code **)(pcVar3 + 0x191da4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191da4)" ( (binary_expression "pcVar3 + 0x191da4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" ( (pointer_expression "*(undefined4 *)(pcVar3 + 0x191228)" * (cast_expression "(undefined4 *)(pcVar3 + 0x191228)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191228)" ( (binary_expression "pcVar3 + 0x191228" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pcVar3 + 0x191224)" * (cast_expression "(undefined4 *)(pcVar3 + 0x191224)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191224)" ( (binary_expression "pcVar3 + 0x191224" identifier + number_literal) )))) ))) ;) (expression_statement "uVar1 = **(uint **)(pcVar3 + 0x191214);" (assignment_expression "uVar1 = **(uint **)(pcVar3 + 0x191214)" identifier = (pointer_expression "**(uint **)(pcVar3 + 0x191214)" * (pointer_expression "*(uint **)(pcVar3 + 0x191214)" * (cast_expression "(uint **)(pcVar3 + 0x191214)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191214)" ( (binary_expression "pcVar3 + 0x191214" identifier + number_literal) )))))) ;) }))) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);" return (pointer_expression "*(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" * (cast_expression "(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" ( (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4" (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4)" (binary_expression "param_1 * 4" identifier * number_literal) + (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" * (cast_expression "(int *)(in_t9 + 0x18d3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x18d3e4)" ( (binary_expression "in_t9 + 0x18d3e4" identifier + number_literal) ))))) + number_literal) )))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::locale::_S_normalize_category(int) */\n\nint std::locale::_S_normalize_category(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))) {\n    if (6 < (uint)param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }\n    return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}\n\n" comment (function_definition "int std::locale::_S_normalize_category(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))) {\n    if (6 < (uint)param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }\n    return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" primitive_type (ERROR "std::locale::" identifier : : identifier : :) (function_declarator "_S_normalize_category(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))) {\n    if (6 < (uint)param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }\n    return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if ((param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))) {\n    if (6 < (uint)param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }\n    return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" if (parenthesized_expression "((param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0))))" ( (binary_expression "(param_1 != 0) && (((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)))" ( (parenthesized_expression "((param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0))" ( (binary_expression "(param_1 & 0x3fU) == 0 || ((param_1 & 0xffffffc0U) != 0)" (binary_expression "(param_1 & 0x3fU) == 0" (parenthesized_expression "(param_1 & 0x3fU)" ( (binary_expression "param_1 & 0x3fU" identifier & number_literal) )) == number_literal) || (parenthesized_expression "((param_1 & 0xffffffc0U) != 0)" ( (binary_expression "(param_1 & 0xffffffc0U) != 0" (parenthesized_expression "(param_1 & 0xffffffc0U)" ( (binary_expression "param_1 & 0xffffffc0U" identifier & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n    if (6 < (uint)param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }\n    return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" { (if_statement "if (6 < (uint)param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }" if (parenthesized_expression "(6 < (uint)param_1)" ( (binary_expression "6 < (uint)param_1" number_literal < (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }\n      return iVar1;\n    }" { (expression_statement "pcVar3 = *(code **)(in_t9 + 0x19129c);" (assignment_expression "pcVar3 = *(code **)(in_t9 + 0x19129c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x19129c)" * (cast_expression "(code **)(in_t9 + 0x19129c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x19129c)" ( (binary_expression "in_t9 + 0x19129c" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);" (call_expression "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" ( (binary_expression "*(int *)(in_t9 + 0x18d3e4) + -0x3c28" (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" * (cast_expression "(int *)(in_t9 + 0x18d3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x18d3e4)" ( (binary_expression "in_t9 + 0x18d3e4" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }" if (parenthesized_expression "(*(int *)(pcVar3 + 0x191b2c) == 0)" ( (binary_expression "*(int *)(pcVar3 + 0x191b2c) == 0" (pointer_expression "*(int *)(pcVar3 + 0x191b2c)" * (cast_expression "(int *)(pcVar3 + 0x191b2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191b2c)" ( (binary_expression "pcVar3 + 0x191b2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        piVar2 = *(int **)(pcVar3 + 0x191214);\n        iVar1 = *piVar2;\n        if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }\n      }" { (expression_statement "piVar2 = *(int **)(pcVar3 + 0x191214);" (assignment_expression "piVar2 = *(int **)(pcVar3 + 0x191214)" identifier = (pointer_expression "*(int **)(pcVar3 + 0x191214)" * (cast_expression "(int **)(pcVar3 + 0x191214)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191214)" ( (binary_expression "pcVar3 + 0x191214" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar1 == 0) {\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          facet::_S_initialize_once();\n          iVar1 = *piVar2;\n        }" { (labeled_statement "facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (expression_statement "_S_initialize_once();" (call_expression "_S_initialize_once()" identifier (argument_list "()" ( ))) ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) }) (else_clause "else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }" else (compound_statement "{\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        iVar1 = **(int **)(pcVar3 + 0x191214);\n      }" { (expression_statement "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));" (call_expression "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" (parenthesized_expression "(**(code **)(pcVar3 + 0x191da4))" ( (pointer_expression "**(code **)(pcVar3 + 0x191da4)" * (pointer_expression "*(code **)(pcVar3 + 0x191da4)" * (cast_expression "(code **)(pcVar3 + 0x191da4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191da4)" ( (binary_expression "pcVar3 + 0x191da4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" ( (pointer_expression "*(undefined4 *)(pcVar3 + 0x191228)" * (cast_expression "(undefined4 *)(pcVar3 + 0x191228)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191228)" ( (binary_expression "pcVar3 + 0x191228" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pcVar3 + 0x191224)" * (cast_expression "(undefined4 *)(pcVar3 + 0x191224)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191224)" ( (binary_expression "pcVar3 + 0x191224" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = **(int **)(pcVar3 + 0x191214);" (assignment_expression "iVar1 = **(int **)(pcVar3 + 0x191214)" identifier = (pointer_expression "**(int **)(pcVar3 + 0x191214)" * (pointer_expression "*(int **)(pcVar3 + 0x191214)" * (cast_expression "(int **)(pcVar3 + 0x191214)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191214)" ( (binary_expression "pcVar3 + 0x191214" identifier + number_literal) )))))) ;) }))) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return *(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);" return (pointer_expression "*(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" * (cast_expression "(int *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" ( (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4" (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4)" (binary_expression "param_1 * 4" identifier * number_literal) + (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" * (cast_expression "(int *)(in_t9 + 0x18d3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x18d3e4)" ( (binary_expression "in_t9 + 0x18d3e4" identifier + number_literal) ))))) + number_literal) )))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "uint FUN_00333ef8(uint param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}\n\n" (function_definition "uint FUN_00333ef8(uint param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_00333ef8(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" if (parenthesized_expression "((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0))))" ( (binary_expression "(param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))" ( (parenthesized_expression "((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0))" ( (binary_expression "(param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)" (binary_expression "(param_1 & 0x3f) == 0" (parenthesized_expression "(param_1 & 0x3f)" ( (binary_expression "param_1 & 0x3f" identifier & number_literal) )) == number_literal) || (parenthesized_expression "((param_1 & 0xffffffc0) != 0)" ( (binary_expression "(param_1 & 0xffffffc0) != 0" (parenthesized_expression "(param_1 & 0xffffffc0)" ( (binary_expression "param_1 & 0xffffffc0" identifier & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" { (if_statement "if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }" if (parenthesized_expression "(6 < param_1)" ( (binary_expression "6 < param_1" number_literal < identifier) )) (compound_statement "{\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }" { (expression_statement "pcVar3 = *(code **)(in_t9 + 0x19129c);" (assignment_expression "pcVar3 = *(code **)(in_t9 + 0x19129c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x19129c)" * (cast_expression "(code **)(in_t9 + 0x19129c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x19129c)" ( (binary_expression "in_t9 + 0x19129c" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);" (call_expression "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" ( (binary_expression "*(int *)(in_t9 + 0x18d3e4) + -0x3c28" (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" * (cast_expression "(int *)(in_t9 + 0x18d3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x18d3e4)" ( (binary_expression "in_t9 + 0x18d3e4" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" if (parenthesized_expression "(*(int *)(pcVar3 + 0x191b2c) == 0)" ( (binary_expression "*(int *)(pcVar3 + 0x191b2c) == 0" (pointer_expression "*(int *)(pcVar3 + 0x191b2c)" * (cast_expression "(int *)(pcVar3 + 0x191b2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191b2c)" ( (binary_expression "pcVar3 + 0x191b2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }" { (expression_statement "puVar2 = *(uint **)(pcVar3 + 0x191214);" (assignment_expression "puVar2 = *(uint **)(pcVar3 + 0x191214)" identifier = (pointer_expression "*(uint **)(pcVar3 + 0x191214)" * (cast_expression "(uint **)(pcVar3 + 0x191214)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191214)" ( (binary_expression "pcVar3 + 0x191214" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }" { (labeled_statement "std::locale::facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (labeled_statement "locale::facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_initialize_once();" statement_identifier : (ERROR ":" :) (expression_statement "_S_initialize_once();" (call_expression "_S_initialize_once()" identifier (argument_list "()" ( ))) ;)))) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) }) (else_clause "else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" else (compound_statement "{\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" { (expression_statement "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));" (call_expression "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" (parenthesized_expression "(**(code **)(pcVar3 + 0x191da4))" ( (pointer_expression "**(code **)(pcVar3 + 0x191da4)" * (pointer_expression "*(code **)(pcVar3 + 0x191da4)" * (cast_expression "(code **)(pcVar3 + 0x191da4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191da4)" ( (binary_expression "pcVar3 + 0x191da4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" ( (pointer_expression "*(undefined4 *)(pcVar3 + 0x191228)" * (cast_expression "(undefined4 *)(pcVar3 + 0x191228)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191228)" ( (binary_expression "pcVar3 + 0x191228" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pcVar3 + 0x191224)" * (cast_expression "(undefined4 *)(pcVar3 + 0x191224)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x191224)" ( (binary_expression "pcVar3 + 0x191224" identifier + number_literal) )))) ))) ;) (expression_statement "uVar1 = **(uint **)(pcVar3 + 0x191214);" (assignment_expression "uVar1 = **(uint **)(pcVar3 + 0x191214)" identifier = (pointer_expression "**(uint **)(pcVar3 + 0x191214)" * (pointer_expression "*(uint **)(pcVar3 + 0x191214)" * (cast_expression "(uint **)(pcVar3 + 0x191214)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x191214)" ( (binary_expression "pcVar3 + 0x191214" identifier + number_literal) )))))) ;) }))) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);" return (pointer_expression "*(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" * (cast_expression "(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" ( (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4" (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4)" (binary_expression "param_1 * 4" identifier * number_literal) + (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" * (cast_expression "(int *)(in_t9 + 0x18d3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x18d3e4)" ( (binary_expression "in_t9 + 0x18d3e4" identifier + number_literal) ))))) + number_literal) )))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( ))) ;)))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }))) (return_statement return IDENT ;) })) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00333ef8(uint param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" (type_identifier "uint") (function_declarator "FUN_00333ef8(uint param_1)" (identifier "FUN_00333ef8") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int in_t9;\n  code *pcVar3;\n  \n  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (if_statement "if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" (if "if") (parenthesized_expression "((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0))))" (( "(") (binary_expression "(param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))" (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))" (( "(") (parenthesized_expression "((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0))" (( "(") (binary_expression "(param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)" (binary_expression "(param_1 & 0x3f) == 0" (parenthesized_expression "(param_1 & 0x3f)" (( "(") (binary_expression "param_1 & 0x3f" (identifier "param_1") (& "&") (number_literal "0x3f")) () ")")) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((param_1 & 0xffffffc0) != 0)" (( "(") (binary_expression "(param_1 & 0xffffffc0) != 0" (parenthesized_expression "(param_1 & 0xffffffc0)" (( "(") (binary_expression "param_1 & 0xffffffc0" (identifier "param_1") (& "&") (number_literal "0xffffffc0")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }\n    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);\n  }" ({ "{") (if_statement "if (6 < param_1) {\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }" (if "if") (parenthesized_expression "(6 < param_1)" (( "(") (binary_expression "6 < param_1" (number_literal "6") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n      pcVar3 = *(code **)(in_t9 + 0x19129c);\n      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);\n      if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }\n      return uVar1;\n    }" ({ "{") (expression_statement "pcVar3 = *(code **)(in_t9 + 0x19129c);" (assignment_expression "pcVar3 = *(code **)(in_t9 + 0x19129c)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(in_t9 + 0x19129c)" (* "*") (cast_expression "(code **)(in_t9 + 0x19129c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x19129c)" (( "(") (binary_expression "in_t9 + 0x19129c" (identifier "in_t9") (+ "+") (number_literal "0x19129c")) () ")"))))) (; ";")) (expression_statement "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);" (call_expression "(*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(*(int *)(in_t9 + 0x18d3e4) + -0x3c28)" (( "(") (binary_expression "*(int *)(in_t9 + 0x18d3e4) + -0x3c28" (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" (* "*") (cast_expression "(int *)(in_t9 + 0x18d3e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x18d3e4)" (( "(") (binary_expression "in_t9 + 0x18d3e4" (identifier "in_t9") (+ "+") (number_literal "0x18d3e4")) () ")")))) (+ "+") (number_literal "-0x3c28")) () ")"))) (; ";")) (if_statement "if (*(int *)(pcVar3 + 0x191b2c) == 0) {\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }\n      else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" (if "if") (parenthesized_expression "(*(int *)(pcVar3 + 0x191b2c) == 0)" (( "(") (binary_expression "*(int *)(pcVar3 + 0x191b2c) == 0" (pointer_expression "*(int *)(pcVar3 + 0x191b2c)" (* "*") (cast_expression "(int *)(pcVar3 + 0x191b2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 0x191b2c)" (( "(") (binary_expression "pcVar3 + 0x191b2c" (identifier "pcVar3") (+ "+") (number_literal "0x191b2c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar2 = *(uint **)(pcVar3 + 0x191214);\n        uVar1 = *puVar2;\n        if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }\n      }" ({ "{") (expression_statement "puVar2 = *(uint **)(pcVar3 + 0x191214);" (assignment_expression "puVar2 = *(uint **)(pcVar3 + 0x191214)" (identifier "puVar2") (= "=") (pointer_expression "*(uint **)(pcVar3 + 0x191214)" (* "*") (cast_expression "(uint **)(pcVar3 + 0x191214)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar3 + 0x191214)" (( "(") (binary_expression "pcVar3 + 0x191214" (identifier "pcVar3") (+ "+") (number_literal "0x191214")) () ")"))))) (; ";")) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" (identifier "uVar1") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (if_statement "if (uVar1 == 0) {\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          std::locale::facet::_S_initialize_once();\n          uVar1 = *puVar2;\n        }" ({ "{") (labeled_statement "std::locale::facet::_S_initialize_once();" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "locale::facet::_S_initialize_once();" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::_S_initialize_once();" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_initialize_once();" (call_expression "_S_initialize_once()" (identifier "_S_initialize_once") (argument_list "()" (( "(") () ")"))) (; ";"))))) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" (identifier "uVar1") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" (else "else") (compound_statement "{\n        (**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));\n        uVar1 = **(uint **)(pcVar3 + 0x191214);\n      }" ({ "{") (expression_statement "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));" (call_expression "(**(code **)(pcVar3 + 0x191da4))\n                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" (parenthesized_expression "(**(code **)(pcVar3 + 0x191da4))" (( "(") (pointer_expression "**(code **)(pcVar3 + 0x191da4)" (* "*") (pointer_expression "*(code **)(pcVar3 + 0x191da4)" (* "*") (cast_expression "(code **)(pcVar3 + 0x191da4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar3 + 0x191da4)" (( "(") (binary_expression "pcVar3 + 0x191da4" (identifier "pcVar3") (+ "+") (number_literal "0x191da4")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224))" (( "(") (pointer_expression "*(undefined4 *)(pcVar3 + 0x191228)" (* "*") (cast_expression "(undefined4 *)(pcVar3 + 0x191228)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 0x191228)" (( "(") (binary_expression "pcVar3 + 0x191228" (identifier "pcVar3") (+ "+") (number_literal "0x191228")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(pcVar3 + 0x191224)" (* "*") (cast_expression "(undefined4 *)(pcVar3 + 0x191224)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 0x191224)" (( "(") (binary_expression "pcVar3 + 0x191224" (identifier "pcVar3") (+ "+") (number_literal "0x191224")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar1 = **(uint **)(pcVar3 + 0x191214);" (assignment_expression "uVar1 = **(uint **)(pcVar3 + 0x191214)" (identifier "uVar1") (= "=") (pointer_expression "**(uint **)(pcVar3 + 0x191214)" (* "*") (pointer_expression "*(uint **)(pcVar3 + 0x191214)" (* "*") (cast_expression "(uint **)(pcVar3 + 0x191214)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar3 + 0x191214)" (( "(") (binary_expression "pcVar3 + 0x191214" (identifier "pcVar3") (+ "+") (number_literal "0x191214")) () ")")))))) (; ";")) (} "}")))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);" (return "return") (pointer_expression "*(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" (* "*") (cast_expression "(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4)" (( "(") (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4" (binary_expression "param_1 * 4 + *(int *)(in_t9 + 0x18d3e4)" (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4")) (+ "+") (pointer_expression "*(int *)(in_t9 + 0x18d3e4)" (* "*") (cast_expression "(int *)(in_t9 + 0x18d3e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x18d3e4)" (( "(") (binary_expression "in_t9 + 0x18d3e4" (identifier "in_t9") (+ "+") (number_literal "0x18d3e4")) () ")"))))) (+ "+") (number_literal "-0x3bd4")) () ")")))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::locale::_S_normalize_category(int) */

int std::locale::function_1(int var_1)

{
  int var_4;
  int *piVar2;
  int var_2;
  type_1 *var_3;
  
  if ((var_1 != 0) && (((var_1 & 0x3fU) == 0 || ((var_1 & 0xffffffc0U) != 0)))) {
    if (6 < (type_2)var_1) {
      var_3 = *(type_1 **)(var_2 + 0x19129c);
      (*var_3)(*(int *)(var_2 + 0x18d3e4) + -0x3c28);
      if (*(int *)(var_3 + 0x191b2c) == 0) {
        piVar2 = *(int **)(var_3 + 0x191214);
        var_4 = *piVar2;
        if (var_4 == 0) {
          facet::var_5();
          var_4 = *piVar2;
        }
      }
      else {
        (**(type_1 **)(var_3 + 0x191da4))
                  (*(type_3 *)(var_3 + 0x191228),*(type_3 *)(var_3 + 0x191224));
        var_4 = **(int **)(var_3 + 0x191214);
      }
      return var_4;
    }
    return *(int *)(var_1 * 4 + *(int *)(var_2 + 0x18d3e4) + -0x3bd4);
  }
  return var_1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (return_statement (identifier)))) (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))))) (return_statement (identifier)))))

uint MASKED(uint param_1)

{
  uint uVar1;
  uint *puVar2;
  int in_t9;
  code *pcVar3;
  
  if ((param_1 != 0) && (((param_1 & 0x3f) == 0 || ((param_1 & 0xffffffc0) != 0)))) {
    if (6 < param_1) {
      pcVar3 = *(code **)(in_t9 + 0x19129c);
      (*pcVar3)(*(int *)(in_t9 + 0x18d3e4) + -0x3c28);
      if (*(int *)(pcVar3 + 0x191b2c) == 0) {
        puVar2 = *(uint **)(pcVar3 + 0x191214);
        uVar1 = *puVar2;
        if (uVar1 == 0) {
          std::locale::facet::_S_initialize_once();
          uVar1 = *puVar2;
        }
      }
      else {
        (**(code **)(pcVar3 + 0x191da4))
                  (*(undefined4 *)(pcVar3 + 0x191228),*(undefined4 *)(pcVar3 + 0x191224));
        uVar1 = **(uint **)(pcVar3 + 0x191214);
      }
      return uVar1;
    }
    return *(uint *)(param_1 * 4 + *(int *)(in_t9 + 0x18d3e4) + -0x3bd4);
  }
  return param_1;
}

