
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wistream& std::TEMPNAMEPLACEHOLDERVALUE(std::wistream&, std::_Setbase) */

wistream * std::operator>>(wistream *param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = 0x40;
  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {
    uVar1 = (uint)(param_2 == 0x10) << 3;
  }
  *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) =
       *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;
  return param_1;
}



void FUN_0020faa0(int *param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = 0x40;
  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {
    uVar1 = (uint)(param_2 == 0x10) << 3;
  }
  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =
       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;
  return;
}


PUSH EBX
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EAX]
MOV EBX,dword ptr [ECX + -0xc]
MOV ECX,0x40
ADD EBX,EAX
CMP EDX,0x8
JZ 0x0020facf
MOV ECX,0x2
CMP EDX,0xa
JZ 0x0020facf
XOR ECX,ECX
CMP EDX,0x10
SETZ CL
SHL ECX,0x3
MOV EDX,dword ptr [EBX + 0xc]
AND EDX,0xffffffb5
OR EDX,ECX
MOV dword ptr [EBX + 0xc],EDX
POP EBX
RET
(translation_unit "void FUN_0020faa0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0020faa0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0020faa0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0x40;" (assignment_expression "uVar1 = 0x40" identifier = number_literal) ;) (if_statement "if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" if (parenthesized_expression "((param_2 != 8) && (uVar1 = 2, param_2 != 10))" ( (binary_expression "(param_2 != 8) && (uVar1 = 2, param_2 != 10)" (parenthesized_expression "(param_2 != 8)" ( (binary_expression "param_2 != 8" identifier != number_literal) )) && (parenthesized_expression "(uVar1 = 2, param_2 != 10)" ( (comma_expression "uVar1 = 2, param_2 != 10" (assignment_expression "uVar1 = 2" identifier = number_literal) , (binary_expression "param_2 != 10" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" { (expression_statement "uVar1 = (uint)(param_2 == 0x10) << 3;" (assignment_expression "uVar1 = (uint)(param_2 == 0x10) << 3" identifier = (binary_expression "(uint)(param_2 == 0x10) << 3" (call_expression "(uint)(param_2 == 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0x10)" ( (binary_expression "param_2 == 0x10" identifier == number_literal) ))) << number_literal)) ;) })) (expression_statement "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0xc" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0xc" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::wistream& std::TEMPNAMEPLACEHOLDERVALUE(std::wistream&, std::_Setbase) */\n\nwistream * std::operator>>(wistream *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) =\n       *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return param_1;\n}\n\n" comment comment (ERROR "wistream * std::operator>>(wistream *param_1,int param_2)" (binary_expression "wistream * std::operator>>(wistream *param_1,int param_2)" (binary_expression "wistream * std" identifier * identifier) (ERROR "::operator" : : identifier) >> (parenthesized_expression "(wistream *param_1,int param_2)" ( (comma_expression "wistream *param_1,int param_2" (binary_expression "wistream *param_1" identifier * identifier) , (ERROR "int" identifier) identifier) )))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) =\n       *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0x40;" (assignment_expression "uVar1 = 0x40" identifier = number_literal) ;) (if_statement "if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" if (parenthesized_expression "((param_2 != 8) && (uVar1 = 2, param_2 != 10))" ( (binary_expression "(param_2 != 8) && (uVar1 = 2, param_2 != 10)" (parenthesized_expression "(param_2 != 8)" ( (binary_expression "param_2 != 8" identifier != number_literal) )) && (parenthesized_expression "(uVar1 = 2, param_2 != 10)" ( (comma_expression "uVar1 = 2, param_2 != 10" (assignment_expression "uVar1 = 2" identifier = number_literal) , (binary_expression "param_2 != 10" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" { (expression_statement "uVar1 = (uint)(param_2 == 0x10) << 3;" (assignment_expression "uVar1 = (uint)(param_2 == 0x10) << 3" identifier = (binary_expression "(uint)(param_2 == 0x10) << 3" (call_expression "(uint)(param_2 == 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0x10)" ( (binary_expression "param_2 == 0x10" identifier == number_literal) ))) << number_literal)) ;) })) (expression_statement "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) =\n       *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) =\n       *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) = (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "void FUN_0020faa0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0020faa0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0020faa0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0x40;" (assignment_expression "uVar1 = 0x40" identifier = number_literal) ;) (if_statement "if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" if (parenthesized_expression "((param_2 != 8) && (uVar1 = 2, param_2 != 10))" ( (binary_expression "(param_2 != 8) && (uVar1 = 2, param_2 != 10)" (parenthesized_expression "(param_2 != 8)" ( (binary_expression "param_2 != 8" identifier != number_literal) )) && (parenthesized_expression "(uVar1 = 2, param_2 != 10)" ( (comma_expression "uVar1 = 2, param_2 != 10" (assignment_expression "uVar1 = 2" identifier = number_literal) , (binary_expression "param_2 != 10" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" { (expression_statement "uVar1 = (uint)(param_2 == 0x10) << 3;" (assignment_expression "uVar1 = (uint)(param_2 == 0x10) << 3" identifier = (binary_expression "(uint)(param_2 == 0x10) << 3" (call_expression "(uint)(param_2 == 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0x10)" ( (binary_expression "param_2 == 0x10" identifier == number_literal) ))) << number_literal)) ;) })) (expression_statement "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0xc" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0xc" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) << LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) & LIT) | IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0020faa0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0020faa0(int *param_1,int param_2)" (identifier "FUN_0020faa0") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0x40;\n  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }\n  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0x40;" (assignment_expression "uVar1 = 0x40" (identifier "uVar1") (= "=") (number_literal "0x40")) (; ";")) (if_statement "if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" (if "if") (parenthesized_expression "((param_2 != 8) && (uVar1 = 2, param_2 != 10))" (( "(") (binary_expression "(param_2 != 8) && (uVar1 = 2, param_2 != 10)" (parenthesized_expression "(param_2 != 8)" (( "(") (binary_expression "param_2 != 8" (identifier "param_2") (!= "!=") (number_literal "8")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 = 2, param_2 != 10)" (( "(") (comma_expression "uVar1 = 2, param_2 != 10" (assignment_expression "uVar1 = 2" (identifier "uVar1") (= "=") (number_literal "2")) (, ",") (binary_expression "param_2 != 10" (identifier "param_2") (!= "!=") (number_literal "10"))) () ")"))) () ")")) (compound_statement "{\n    uVar1 = (uint)(param_2 == 0x10) << 3;\n  }" ({ "{") (expression_statement "uVar1 = (uint)(param_2 == 0x10) << 3;" (assignment_expression "uVar1 = (uint)(param_2 == 0x10) << 3" (identifier "uVar1") (= "=") (binary_expression "(uint)(param_2 == 0x10) << 3" (call_expression "(uint)(param_2 == 0x10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 == 0x10)" (( "(") (binary_expression "param_2 == 0x10" (identifier "param_2") (== "==") (number_literal "0x10")) () ")"))) (<< "<<") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =\n       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0xc" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0xc" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0xffffffb5")) (| "|") (identifier "uVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wistream& std::TEMPNAMEPLACEHOLDERVALUE(std::wistream&, std::_Setbase) */

wistream * std::operator>>(wistream *var_2,int var_1)

{
  type_1 var_3;
  
  var_3 = 0x40;
  if ((var_1 != 8) && (var_3 = 2, var_1 != 10)) {
    var_3 = (type_1)(var_1 == 0x10) << 3;
  }
  *(type_1 *)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0xc) =
       *(type_1 *)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0xc) & 0xffffffb5 | var_3;
  return var_2;
}


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

void MASKED(int *param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = 0x40;
  if ((param_2 != 8) && (uVar1 = 2, param_2 != 10)) {
    uVar1 = (uint)(param_2 == 0x10) << 3;
  }
  *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) =
       *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0xc) & 0xffffffb5 | uVar1;
  return;
}

