
int _rl_to_lower(int c)

{
  int *piVar1;
  
  if (c == (c & 0xffU)) {
    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();
    if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {
      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();
      return *(int *)(*piVar1 + c * 4);
    }
  }
  return c;
}



uint _rl_to_lower(uint param_1)

{
  int *piVar1;
  
  if (param_1 == (param_1 & 0xff)) {
    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();
    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {
      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();
      return *(uint *)(*piVar1 + param_1 * 4);
    }
  }
  return param_1;
}


lui gp,0x5
addiu gp,gp,-0x3424
addu gp,gp,t9
addiu sp,sp,-0x20
andi v0,a0,0xff
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
beq a0,v0,0x000ff9a0
_sw ra,0x1c(sp)
lw ra,0x1c(sp)
or v0,s0,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x6344(gp)
jalr t9
_nop
sll v1,s0,0x1
lw v0,0x0(v0)
addu v0,v0,v1
lhu v0,0x0(v0)
andi v0,v0,0x1
beq v0,zero,0x000ff98c
_lw gp,0x10(sp)
lw t9,-0x6340(gp)
jalr t9
_sll s0,s0,0x2
lw a0,0x0(v0)
lw ra,0x1c(sp)
addu s0,a0,s0
lw s0,0x0(s0)
or v0,s0,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "uint _rl_to_lower(uint param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}\n\n" (function_definition "uint _rl_to_lower(uint param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}" type_identifier (function_declarator "_rl_to_lower(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }" if (parenthesized_expression "(param_1 == (param_1 & 0xff))" ( (binary_expression "param_1 == (param_1 & 0xff)" identifier == (parenthesized_expression "(param_1 & 0xff)" ( (binary_expression "param_1 & 0xff" identifier & number_literal) ))) )) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }" { (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001461fc)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_001461fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001461fc)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_001461fc" * (cast_expression "(code *)PTR___ctype_b_loc_001461fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }" if (parenthesized_expression "((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0)" ( (binary_expression "(*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + param_1 * 2) & 1)" ( (binary_expression "*(ushort *)(*piVar1 + param_1 * 2) & 1" (pointer_expression "*(ushort *)(*piVar1 + param_1 * 2)" * (cast_expression "(ushort *)(*piVar1 + param_1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + param_1 * 2)" ( (binary_expression "*piVar1 + param_1 * 2" (pointer_expression "*piVar1" * identifier) + (binary_expression "param_1 * 2" identifier * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }" { (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_tolower_loc_00146200)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00146200)" ( (pointer_expression "*(code *)PTR___ctype_tolower_loc_00146200" * (cast_expression "(code *)PTR___ctype_tolower_loc_00146200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return *(uint *)(*piVar1 + param_1 * 4);" return (pointer_expression "*(uint *)(*piVar1 + param_1 * 4)" * (cast_expression "(uint *)(*piVar1 + param_1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + param_1 * 4)" ( (binary_expression "*piVar1 + param_1 * 4" (pointer_expression "*piVar1" * identifier) + (binary_expression "param_1 * 4" identifier * number_literal)) )))) ;) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "int _rl_to_lower(int c)\n\n{\n  int *piVar1;\n  \n  if (c == (c & 0xffU)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }\n  }\n  return c;\n}\n\n" (function_definition "int _rl_to_lower(int c)\n\n{\n  int *piVar1;\n  \n  if (c == (c & 0xffU)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }\n  }\n  return c;\n}" primitive_type (function_declarator "_rl_to_lower(int c)" identifier (parameter_list "(int c)" ( (parameter_declaration "int c" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (c == (c & 0xffU)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }\n  }\n  return c;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (c == (c & 0xffU)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }\n  }" if (parenthesized_expression "(c == (c & 0xffU))" ( (binary_expression "c == (c & 0xffU)" identifier == (parenthesized_expression "(c & 0xffU)" ( (binary_expression "c & 0xffU" identifier & number_literal) ))) )) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }\n  }" { (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001461fc)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_001461fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001461fc)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_001461fc" * (cast_expression "(code *)PTR___ctype_b_loc_001461fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if ((*(ushort *)(*piVar1 + c * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }" if (parenthesized_expression "((*(ushort *)(*piVar1 + c * 2) & 1) != 0)" ( (binary_expression "(*(ushort *)(*piVar1 + c * 2) & 1) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + c * 2) & 1)" ( (binary_expression "*(ushort *)(*piVar1 + c * 2) & 1" (pointer_expression "*(ushort *)(*piVar1 + c * 2)" * (cast_expression "(ushort *)(*piVar1 + c * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + c * 2)" ( (binary_expression "*piVar1 + c * 2" (pointer_expression "*piVar1" * identifier) + (binary_expression "c * 2" identifier * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(int *)(*piVar1 + c * 4);\n    }" { (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_tolower_loc_00146200)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00146200)" ( (pointer_expression "*(code *)PTR___ctype_tolower_loc_00146200" * (cast_expression "(code *)PTR___ctype_tolower_loc_00146200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return *(int *)(*piVar1 + c * 4);" return (pointer_expression "*(int *)(*piVar1 + c * 4)" * (cast_expression "(int *)(*piVar1 + c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + c * 4)" ( (binary_expression "*piVar1 + c * 4" (pointer_expression "*piVar1" * identifier) + (binary_expression "c * 4" identifier * number_literal)) )))) ;) })) })) (return_statement "return c;" return identifier ;) })))
(translation_unit "uint _rl_to_lower(uint param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}\n\n" (function_definition "uint _rl_to_lower(uint param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}" type_identifier (function_declarator "_rl_to_lower(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }" if (parenthesized_expression "(param_1 == (param_1 & 0xff))" ( (binary_expression "param_1 == (param_1 & 0xff)" identifier == (parenthesized_expression "(param_1 & 0xff)" ( (binary_expression "param_1 & 0xff" identifier & number_literal) ))) )) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }" { (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001461fc)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_001461fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001461fc)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_001461fc" * (cast_expression "(code *)PTR___ctype_b_loc_001461fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }" if (parenthesized_expression "((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0)" ( (binary_expression "(*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + param_1 * 2) & 1)" ( (binary_expression "*(ushort *)(*piVar1 + param_1 * 2) & 1" (pointer_expression "*(ushort *)(*piVar1 + param_1 * 2)" * (cast_expression "(ushort *)(*piVar1 + param_1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + param_1 * 2)" ( (binary_expression "*piVar1 + param_1 * 2" (pointer_expression "*piVar1" * identifier) + (binary_expression "param_1 * 2" identifier * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }" { (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_tolower_loc_00146200)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00146200)" ( (pointer_expression "*(code *)PTR___ctype_tolower_loc_00146200" * (cast_expression "(code *)PTR___ctype_tolower_loc_00146200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return *(uint *)(*piVar1 + param_1 * 4);" return (pointer_expression "*(uint *)(*piVar1 + param_1 * 4)" * (cast_expression "(uint *)(*piVar1 + param_1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + param_1 * 4)" ( (binary_expression "*piVar1 + param_1 * 4" (pointer_expression "*piVar1" * 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 { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (return_statement return (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 _rl_to_lower(uint param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}" (type_identifier "uint") (function_declarator "_rl_to_lower(uint param_1)" (identifier "_rl_to_lower") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (if_statement "if (param_1 == (param_1 & 0xff)) {\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == (param_1 & 0xff))" (( "(") (binary_expression "param_1 == (param_1 & 0xff)" (identifier "param_1") (== "==") (parenthesized_expression "(param_1 & 0xff)" (( "(") (binary_expression "param_1 & 0xff" (identifier "param_1") (& "&") (number_literal "0xff")) () ")"))) () ")")) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();\n    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }\n  }" ({ "{") (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001461fc)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_001461fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001461fc)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_001461fc" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_001461fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_001461fc"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }" (if "if") (parenthesized_expression "((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0)" (( "(") (binary_expression "(*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + param_1 * 2) & 1)" (( "(") (binary_expression "*(ushort *)(*piVar1 + param_1 * 2) & 1" (pointer_expression "*(ushort *)(*piVar1 + param_1 * 2)" (* "*") (cast_expression "(ushort *)(*piVar1 + param_1 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + param_1 * 2)" (( "(") (binary_expression "*piVar1 + param_1 * 2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (binary_expression "param_1 * 2" (identifier "param_1") (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();\n      return *(uint *)(*piVar1 + param_1 * 4);\n    }" ({ "{") (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00146200)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_tolower_loc_00146200)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00146200)" (( "(") (pointer_expression "*(code *)PTR___ctype_tolower_loc_00146200" (* "*") (cast_expression "(code *)PTR___ctype_tolower_loc_00146200" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_tolower_loc_00146200"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return *(uint *)(*piVar1 + param_1 * 4);" (return "return") (pointer_expression "*(uint *)(*piVar1 + param_1 * 4)" (* "*") (cast_expression "(uint *)(*piVar1 + param_1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + param_1 * 4)" (( "(") (binary_expression "*piVar1 + param_1 * 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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)))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (return_statement (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)))))

uint MASKED(uint param_1)

{
  int *piVar1;
  
  if (param_1 == (param_1 & 0xff)) {
    piVar1 = (int *)(*(code *)PTR___ctype_b_loc_001461fc)();
    if ((*(ushort *)(*piVar1 + param_1 * 2) & 1) != 0) {
      piVar1 = (int *)(*(code *)PTR___ctype_tolower_loc_00146200)();
      return *(uint *)(*piVar1 + param_1 * 4);
    }
  }
  return param_1;
}

