
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int LocaleLowercase(int c)

{
  int iVar1;
  __int32_t **pp_Var2;
  
  if ((c != -1) && ((c & 0xffffff00U) == 0)) {
    if (c_locale != (locale_t)0x0) {
      iVar1 = __tolower_l(c,(__locale_t)c_locale);
      return iVar1;
    }
    pp_Var2 = __ctype_tolower_loc();
    c = (*pp_Var2)[c];
  }
  return c;
}



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

uint LocaleLowercase(uint param_1)

{
  uint uVar1;
  __int32_t **pp_Var2;
  
  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {
    if (DAT_003dd7b0 != (__locale_t)0x0) {
      uVar1 = __tolower_l(param_1,DAT_003dd7b0);
      return uVar1;
    }
    pp_Var2 = __ctype_tolower_loc();
    param_1 = (*pp_Var2)[param_1];
  }
  return param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x2e79d9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CMP ESI,-0x1
JZ 0x000f1641
TEST ESI,0xffffff00
JZ 0x000f1650
ADD ESP,0x4
MOV EAX,ESI
POP EBX
POP ESI
RET
MOV EAX,dword ptr [EBX + 0x47b0]
TEST EAX,EAX
JZ 0x000f1680
MOV EAX,dword ptr [EBX + 0x47b0]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00033570
ADD ESP,0x10
MOV ESI,EAX
ADD ESP,0x4
MOV EAX,ESI
POP EBX
POP ESI
RET
CALL 0x00032e90
MOV EAX,dword ptr [EAX]
MOV ESI,dword ptr [EAX + ESI*0x4]
JMP 0x000f1641
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint LocaleLowercase(uint param_1)\n\n{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}\n\n" comment (function_definition "uint LocaleLowercase(uint param_1)\n\n{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}" type_identifier (function_declarator "LocaleLowercase(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "__int32_t **pp_Var2;" type_identifier (pointer_declarator "**pp_Var2" * (pointer_declarator "*pp_Var2" * identifier)) ;) (if_statement "if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }" if (parenthesized_expression "((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0))" ( (binary_expression "(param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)" (parenthesized_expression "(param_1 != 0xffffffff)" ( (binary_expression "param_1 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "((param_1 & 0xffffff00) == 0)" ( (binary_expression "(param_1 & 0xffffff00) == 0" (parenthesized_expression "(param_1 & 0xffffff00)" ( (binary_expression "param_1 & 0xffffff00" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }" { (if_statement "if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }" if (parenthesized_expression "(DAT_003dd7b0 != (__locale_t)0x0)" ( (binary_expression "DAT_003dd7b0 != (__locale_t)0x0" identifier != (cast_expression "(__locale_t)0x0" ( (type_descriptor "__locale_t" type_identifier) ) number_literal)) )) (compound_statement "{\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }" { (expression_statement "uVar1 = __tolower_l(param_1,DAT_003dd7b0);" (assignment_expression "uVar1 = __tolower_l(param_1,DAT_003dd7b0)" identifier = (call_expression "__tolower_l(param_1,DAT_003dd7b0)" identifier (argument_list "(param_1,DAT_003dd7b0)" ( identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "pp_Var2 = __ctype_tolower_loc();" (assignment_expression "pp_Var2 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1 = (*pp_Var2)[param_1];" (assignment_expression "param_1 = (*pp_Var2)[param_1]" identifier = (subscript_expression "(*pp_Var2)[param_1]" (parenthesized_expression "(*pp_Var2)" ( (pointer_expression "*pp_Var2" * identifier) )) [ identifier ])) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint LocaleLowercase(int c)\n\n{\n  int iVar1;\n  __int32_t **pp_Var2;\n  \n  if ((c != -1) && ((c & 0xffffff00U) == 0)) {\n    if (c_locale != (locale_t)0x0) {\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    c = (*pp_Var2)[c];\n  }\n  return c;\n}\n\n" comment comment (function_definition "int LocaleLowercase(int c)\n\n{\n  int iVar1;\n  __int32_t **pp_Var2;\n  \n  if ((c != -1) && ((c & 0xffffff00U) == 0)) {\n    if (c_locale != (locale_t)0x0) {\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    c = (*pp_Var2)[c];\n  }\n  return c;\n}" primitive_type (function_declarator "LocaleLowercase(int c)" identifier (parameter_list "(int c)" ( (parameter_declaration "int c" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  __int32_t **pp_Var2;\n  \n  if ((c != -1) && ((c & 0xffffff00U) == 0)) {\n    if (c_locale != (locale_t)0x0) {\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    c = (*pp_Var2)[c];\n  }\n  return c;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "__int32_t **pp_Var2;" type_identifier (pointer_declarator "**pp_Var2" * (pointer_declarator "*pp_Var2" * identifier)) ;) (if_statement "if ((c != -1) && ((c & 0xffffff00U) == 0)) {\n    if (c_locale != (locale_t)0x0) {\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    c = (*pp_Var2)[c];\n  }" if (parenthesized_expression "((c != -1) && ((c & 0xffffff00U) == 0))" ( (binary_expression "(c != -1) && ((c & 0xffffff00U) == 0)" (parenthesized_expression "(c != -1)" ( (binary_expression "c != -1" identifier != number_literal) )) && (parenthesized_expression "((c & 0xffffff00U) == 0)" ( (binary_expression "(c & 0xffffff00U) == 0" (parenthesized_expression "(c & 0xffffff00U)" ( (binary_expression "c & 0xffffff00U" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    if (c_locale != (locale_t)0x0) {\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    c = (*pp_Var2)[c];\n  }" { (if_statement "if (c_locale != (locale_t)0x0) {\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }" if (parenthesized_expression "(c_locale != (locale_t)0x0)" ( (binary_expression "c_locale != (locale_t)0x0" identifier != (cast_expression "(locale_t)0x0" ( (type_descriptor "locale_t" type_identifier) ) number_literal)) )) (compound_statement "{\n      iVar1 = __tolower_l(c,(__locale_t)c_locale);\n      return iVar1;\n    }" { (expression_statement "iVar1 = __tolower_l(c,(__locale_t)c_locale);" (assignment_expression "iVar1 = __tolower_l(c,(__locale_t)c_locale)" identifier = (call_expression "__tolower_l(c,(__locale_t)c_locale)" identifier (argument_list "(c,(__locale_t)c_locale)" ( identifier , (cast_expression "(__locale_t)c_locale" ( (type_descriptor "__locale_t" type_identifier) ) identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "pp_Var2 = __ctype_tolower_loc();" (assignment_expression "pp_Var2 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "c = (*pp_Var2)[c];" (assignment_expression "c = (*pp_Var2)[c]" identifier = (subscript_expression "(*pp_Var2)[c]" (parenthesized_expression "(*pp_Var2)" ( (pointer_expression "*pp_Var2" * identifier) )) [ identifier ])) ;) })) (return_statement "return c;" return identifier ;) })))
(translation_unit "uint LocaleLowercase(uint param_1)\n\n{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}\n\n" (function_definition "uint LocaleLowercase(uint param_1)\n\n{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}" type_identifier (function_declarator "LocaleLowercase(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "__int32_t **pp_Var2;" type_identifier (pointer_declarator "**pp_Var2" * (pointer_declarator "*pp_Var2" * identifier)) ;) (if_statement "if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }" if (parenthesized_expression "((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0))" ( (binary_expression "(param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)" (parenthesized_expression "(param_1 != 0xffffffff)" ( (binary_expression "param_1 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "((param_1 & 0xffffff00) == 0)" ( (binary_expression "(param_1 & 0xffffff00) == 0" (parenthesized_expression "(param_1 & 0xffffff00)" ( (binary_expression "param_1 & 0xffffff00" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }" { (if_statement "if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }" if (parenthesized_expression "(DAT_003dd7b0 != (__locale_t)0x0)" ( (binary_expression "DAT_003dd7b0 != (__locale_t)0x0" identifier != (cast_expression "(__locale_t)0x0" ( (type_descriptor "__locale_t" type_identifier) ) number_literal)) )) (compound_statement "{\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }" { (expression_statement "uVar1 = __tolower_l(param_1,DAT_003dd7b0);" (assignment_expression "uVar1 = __tolower_l(param_1,DAT_003dd7b0)" identifier = (call_expression "__tolower_l(param_1,DAT_003dd7b0)" identifier (argument_list "(param_1,DAT_003dd7b0)" ( identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "pp_Var2 = __ctype_tolower_loc();" (assignment_expression "pp_Var2 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1 = (*pp_Var2)[param_1];" (assignment_expression "param_1 = (*pp_Var2)[param_1]" identifier = (subscript_expression "(*pp_Var2)[param_1]" (parenthesized_expression "(*pp_Var2)" ( (pointer_expression "*pp_Var2" * identifier) )) [ identifier ])) ;) })) (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 * (pointer_declarator * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint LocaleLowercase(uint param_1)\n\n{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}" (type_identifier "uint") (function_declarator "LocaleLowercase(uint param_1)" (identifier "LocaleLowercase") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  __int32_t **pp_Var2;\n  \n  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "__int32_t **pp_Var2;" (type_identifier "__int32_t") (pointer_declarator "**pp_Var2" (* "*") (pointer_declarator "*pp_Var2" (* "*") (identifier "pp_Var2"))) (; ";")) (if_statement "if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }" (if "if") (parenthesized_expression "((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0))" (( "(") (binary_expression "(param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)" (parenthesized_expression "(param_1 != 0xffffffff)" (( "(") (binary_expression "param_1 != 0xffffffff" (identifier "param_1") (!= "!=") (number_literal "0xffffffff")) () ")")) (&& "&&") (parenthesized_expression "((param_1 & 0xffffff00) == 0)" (( "(") (binary_expression "(param_1 & 0xffffff00) == 0" (parenthesized_expression "(param_1 & 0xffffff00)" (( "(") (binary_expression "param_1 & 0xffffff00" (identifier "param_1") (& "&") (number_literal "0xffffff00")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }\n    pp_Var2 = __ctype_tolower_loc();\n    param_1 = (*pp_Var2)[param_1];\n  }" ({ "{") (if_statement "if (DAT_003dd7b0 != (__locale_t)0x0) {\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }" (if "if") (parenthesized_expression "(DAT_003dd7b0 != (__locale_t)0x0)" (( "(") (binary_expression "DAT_003dd7b0 != (__locale_t)0x0" (identifier "DAT_003dd7b0") (!= "!=") (cast_expression "(__locale_t)0x0" (( "(") (type_descriptor "__locale_t" (type_identifier "__locale_t")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar1 = __tolower_l(param_1,DAT_003dd7b0);\n      return uVar1;\n    }" ({ "{") (expression_statement "uVar1 = __tolower_l(param_1,DAT_003dd7b0);" (assignment_expression "uVar1 = __tolower_l(param_1,DAT_003dd7b0)" (identifier "uVar1") (= "=") (call_expression "__tolower_l(param_1,DAT_003dd7b0)" (identifier "__tolower_l") (argument_list "(param_1,DAT_003dd7b0)" (( "(") (identifier "param_1") (, ",") (identifier "DAT_003dd7b0") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "pp_Var2 = __ctype_tolower_loc();" (assignment_expression "pp_Var2 = __ctype_tolower_loc()" (identifier "pp_Var2") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1 = (*pp_Var2)[param_1];" (assignment_expression "param_1 = (*pp_Var2)[param_1]" (identifier "param_1") (= "=") (subscript_expression "(*pp_Var2)[param_1]" (parenthesized_expression "(*pp_Var2)" (( "(") (pointer_expression "*pp_Var2" (* "*") (identifier "pp_Var2")) () ")")) ([ "[") (identifier "param_1") (] "]"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(int var_1)

{
  int iVar1;
  type_1 **pp_Var2;
  
  if ((var_1 != -1) && ((var_1 & 0xffffff00U) == 0)) {
    if (var_2 != (type_2)0x0) {
      iVar1 = var_3(var_1,(type_3)var_2);
      return iVar1;
    }
    pp_Var2 = var_4();
    var_1 = (*pp_Var2)[var_1];
  }
  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: (pointer_declarator declarator: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))))) (return_statement (identifier)))))

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

uint MASKED(uint param_1)

{
  uint uVar1;
  __int32_t **pp_Var2;
  
  if ((param_1 != 0xffffffff) && ((param_1 & 0xffffff00) == 0)) {
    if (DAT_003dd7b0 != (__locale_t)0x0) {
      uVar1 = __tolower_l(param_1,DAT_003dd7b0);
      return uVar1;
    }
    pp_Var2 = __ctype_tolower_loc();
    param_1 = (*pp_Var2)[param_1];
  }
  return param_1;
}

