
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::locale::_S_normalize_category(int) */

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

{
  if (param_1 != 0) {
    if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {
      return param_1;
    }
    if (6 < (uint)param_1) {
                    /* WARNING: Subroutine does not return */
      __throw_runtime_error("locale::_S_normalize_category category not found");
    }
    param_1 = *(int *)(CSWTCH_40 + param_1 * 4);
  }
  return param_1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint FUN_001ff4b0(uint param_1)

{
  if (param_1 != 0) {
    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {
      return param_1;
    }
    if (6 < param_1) {
                    /* WARNING: Subroutine does not return */
      FUN_00242b40("locale::_S_normalize_category category not found");
    }
    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);
  }
  return param_1;
}


PUSH EBX
CALL 0x00036db0
ADD EBX,0x1aab4a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x001ff4d7
TEST AL,0x3f
JNZ 0x001ff4e0
CMP EAX,0x6
JA 0x001ff4ec
MOV EAX,dword ptr [EBX + EAX*0x4 + 0xfff12074]
ADD ESP,0x8
POP EBX
RET
TEST EAX,0xffffffc0
JNZ 0x001ff4cb
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfff12020]
PUSH EAX
CALL 0x00242b40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_001ff4b0(uint param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}\n\n" comment (function_definition "uint FUN_001ff4b0(uint param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_001ff4b0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}" { (if_statement "if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }" { (if_statement "if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }" if (parenthesized_expression "(((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0))" ( (binary_expression "((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)" (parenthesized_expression "((param_1 & 0x3f) != 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      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (6 < param_1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }" if (parenthesized_expression "(6 < param_1)" ( (binary_expression "6 < param_1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }" { comment (expression_statement "FUN_00242b40("locale::_S_normalize_category category not found");" (call_expression "FUN_00242b40("locale::_S_normalize_category category not found")" identifier (argument_list "("locale::_S_normalize_category category not found")" ( (string_literal ""locale::_S_normalize_category category not found"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);" (assignment_expression "param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4)" identifier = (pointer_expression "*(uint *)(&DAT_002bc074 + param_1 * 4)" * (cast_expression "(uint *)(&DAT_002bc074 + param_1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_002bc074 + param_1 * 4)" ( (binary_expression "&DAT_002bc074 + param_1 * 4" (pointer_expression "&DAT_002bc074" & identifier) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::locale::_S_normalize_category(int) */\n\nint std::locale::_S_normalize_category(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {\n      return param_1;\n    }\n    if (6 < (uint)param_1) {\n                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(int *)(CSWTCH_40 + param_1 * 4);\n  }\n  return param_1;\n}\n\n" comment comment (function_definition "int std::locale::_S_normalize_category(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {\n      return param_1;\n    }\n    if (6 < (uint)param_1) {\n                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(int *)(CSWTCH_40 + param_1 * 4);\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  if (param_1 != 0) {\n    if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {\n      return param_1;\n    }\n    if (6 < (uint)param_1) {\n                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(int *)(CSWTCH_40 + param_1 * 4);\n  }\n  return param_1;\n}" { (if_statement "if (param_1 != 0) {\n    if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {\n      return param_1;\n    }\n    if (6 < (uint)param_1) {\n                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(int *)(CSWTCH_40 + param_1 * 4);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {\n      return param_1;\n    }\n    if (6 < (uint)param_1) {\n                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(int *)(CSWTCH_40 + param_1 * 4);\n  }" { (if_statement "if (((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)) {\n      return param_1;\n    }" if (parenthesized_expression "(((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0))" ( (binary_expression "((param_1 & 0x3fU) != 0) && ((param_1 & 0xffffffc0U) == 0)" (parenthesized_expression "((param_1 & 0x3fU) != 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      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (6 < (uint)param_1) {\n                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\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                    /* WARNING: Subroutine does not return */\n      __throw_runtime_error("locale::_S_normalize_category category not found");\n    }" { comment (expression_statement "__throw_runtime_error("locale::_S_normalize_category category not found");" (call_expression "__throw_runtime_error("locale::_S_normalize_category category not found")" identifier (argument_list "("locale::_S_normalize_category category not found")" ( (string_literal ""locale::_S_normalize_category category not found"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(int *)(CSWTCH_40 + param_1 * 4);" (assignment_expression "param_1 = *(int *)(CSWTCH_40 + param_1 * 4)" identifier = (pointer_expression "*(int *)(CSWTCH_40 + param_1 * 4)" * (cast_expression "(int *)(CSWTCH_40 + param_1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(CSWTCH_40 + param_1 * 4)" ( (binary_expression "CSWTCH_40 + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "uint FUN_001ff4b0(uint param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}\n\n" (function_definition "uint FUN_001ff4b0(uint param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_001ff4b0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}" { (if_statement "if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }" { (if_statement "if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }" if (parenthesized_expression "(((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0))" ( (binary_expression "((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)" (parenthesized_expression "((param_1 & 0x3f) != 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      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }" if (parenthesized_expression "(6 < param_1)" ( (binary_expression "6 < param_1" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }" { (expression_statement "FUN_00242b40("locale::_S_normalize_category category not found");" (call_expression "FUN_00242b40("locale::_S_normalize_category category not found")" identifier (argument_list "("locale::_S_normalize_category category not found")" ( (string_literal ""locale::_S_normalize_category category not found"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);" (assignment_expression "param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4)" identifier = (pointer_expression "*(uint *)(&DAT_002bc074 + param_1 * 4)" * (cast_expression "(uint *)(&DAT_002bc074 + param_1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_002bc074 + param_1 * 4)" ( (binary_expression "&DAT_002bc074 + param_1 * 4" (pointer_expression "&DAT_002bc074" & identifier) + (binary_expression "param_1 * 4" identifier * 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_001ff4b0(uint param_1)\n\n{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}" (type_identifier "uint") (function_declarator "FUN_001ff4b0(uint param_1)" (identifier "FUN_001ff4b0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }\n  return param_1;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }\n    if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }\n    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);\n  }" ({ "{") (if_statement "if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0))" (( "(") (binary_expression "((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)" (parenthesized_expression "((param_1 & 0x3f) != 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      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if (6 < param_1) {\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }" (if "if") (parenthesized_expression "(6 < param_1)" (( "(") (binary_expression "6 < param_1" (number_literal "6") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n                    \n      FUN_00242b40("locale::_S_normalize_category category not found");\n    }" ({ "{") (expression_statement "FUN_00242b40("locale::_S_normalize_category category not found");" (call_expression "FUN_00242b40("locale::_S_normalize_category category not found")" (identifier "FUN_00242b40") (argument_list "("locale::_S_normalize_category category not found")" (( "(") (string_literal ""locale::_S_normalize_category category not found"" (" """) (string_content "locale::_S_normalize_category category not found") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);" (assignment_expression "param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4)" (identifier "param_1") (= "=") (pointer_expression "*(uint *)(&DAT_002bc074 + param_1 * 4)" (* "*") (cast_expression "(uint *)(&DAT_002bc074 + param_1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_002bc074 + param_1 * 4)" (( "(") (binary_expression "&DAT_002bc074 + param_1 * 4" (pointer_expression "&DAT_002bc074" (& "&") (identifier "DAT_002bc074")) (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::locale::_S_normalize_category(int) */

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

{
  if (var_1 != 0) {
    if (((var_1 & 0x3fU) != 0) && ((var_1 & 0xffffffc0U) == 0)) {
      return var_1;
    }
    if (6 < (type_1)var_1) {
                    /* WARNING: Subroutine does not return */
      var_2("locale::_S_normalize_category category not found");
    }
    var_1 = *(int *)(var_3 + var_1 * 4);
  }
  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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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 (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint MASKED(uint param_1)

{
  if (param_1 != 0) {
    if (((param_1 & 0x3f) != 0) && ((param_1 & 0xffffffc0) == 0)) {
      return param_1;
    }
    if (6 < param_1) {
                    /* WARNING: Subroutine does not return */
      FUN_00242b40("locale::_S_normalize_category category not found");
    }
    param_1 = *(uint *)(&DAT_002bc074 + param_1 * 4);
  }
  return param_1;
}

