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

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

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



void FUN_002e44b4(int *param_1,int param_2)

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


or v0,a0,zero
lw a0,0x0(a0)
li v1,0x8
lw a2,-0xc(a0)
beq a1,v1,0x002e4514
_addu a2,v0,a2
li a0,0xa
beq a1,a0,0x002e44f8
_xori a1,a1,0x10
movn v1,zero,a1
li a0,-0x4b
or a1,v1,zero
lw v1,0xc(a2)
and v1,v1,a0
or v1,v1,a1
jr ra
_sw v1,0xc(a2)
lw v1,0xc(a2)
li a0,-0x4b
li a1,0x2
and v1,v1,a0
or v1,v1,a1
jr ra
_sw v1,0xc(a2)
lw v1,0xc(a2)
li a0,-0x4b
li a1,0x40
and v1,v1,a0
or v1,v1,a1
jr ra
_sw v1,0xc(a2)
(translation_unit "void FUN_002e44b4(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}\n\n" (function_definition "void FUN_002e44b4(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}" primitive_type (function_declarator "FUN_002e44b4(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  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = 8;" (assignment_expression "uVar1 = 8" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc);" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc)" 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) ))))) ;) (if_statement "if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }" if (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) )) (compound_statement "{\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }" { (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }" if (parenthesized_expression "(param_2 != 10)" ( (binary_expression "param_2 != 10" identifier != number_literal) )) (compound_statement "{\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }" { (if_statement "if (param_2 != 0x10) {\n      uVar1 = 0;\n    }" if (parenthesized_expression "(param_2 != 0x10)" ( (binary_expression "param_2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, std::_Setbase) */\n\nistream * std::operator>>(istream *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*(int *)param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return param_1;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return param_1;\n  }\n  *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return param_1;\n}\n\n" comment comment (ERROR "istream * std::operator>>(istream *param_1,int param_2)" (binary_expression "istream * std::operator>>(istream *param_1,int param_2)" (binary_expression "istream * std" identifier * identifier) (ERROR "::operator" : : identifier) >> (parenthesized_expression "(istream *param_1,int param_2)" ( (comma_expression "istream *param_1,int param_2" (binary_expression "istream *param_1" identifier * identifier) , (ERROR "int" identifier) identifier) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*(int *)param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return param_1;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return param_1;\n  }\n  *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = 8;" (assignment_expression "uVar1 = 8" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "iVar2 = *(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) ))))) ;) (if_statement "if (param_2 == 8) {\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return param_1;\n  }" { (expression_statement "*(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;" (assignment_expression "*(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (pointer_expression "*(uint *)(param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)(param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0xc)" ( (binary_expression "param_1 + iVar2 + 0xc" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) = (binary_expression "*(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (binary_expression "*(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)(param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)(param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0xc)" ( (binary_expression "param_1 + iVar2 + 0xc" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return param_1;" return identifier ;) })) (if_statement "if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return param_1;\n  }" if (parenthesized_expression "(param_2 != 10)" ( (binary_expression "param_2 != 10" identifier != number_literal) )) (compound_statement "{\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return param_1;\n  }" { (if_statement "if (param_2 != 0x10) {\n      uVar1 = 0;\n    }" if (parenthesized_expression "(param_2 != 0x10)" ( (binary_expression "param_2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (expression_statement "*(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)(param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0xc)" ( (binary_expression "param_1 + iVar2 + 0xc" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) = (binary_expression "*(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)(param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)(param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0xc)" ( (binary_expression "param_1 + iVar2 + 0xc" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "*(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;" (assignment_expression "*(uint *)(param_1 + iVar2 + 0xc) = *(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (pointer_expression "*(uint *)(param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)(param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0xc)" ( (binary_expression "param_1 + iVar2 + 0xc" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) = (binary_expression "*(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (binary_expression "*(uint *)(param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)(param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)(param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0xc)" ( (binary_expression "param_1 + iVar2 + 0xc" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "void FUN_002e44b4(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}\n\n" (function_definition "void FUN_002e44b4(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}" primitive_type (function_declarator "FUN_002e44b4(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  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = 8;" (assignment_expression "uVar1 = 8" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc);" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc)" 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) ))))) ;) (if_statement "if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }" if (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) )) (compound_statement "{\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }" { (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }" if (parenthesized_expression "(param_2 != 10)" ( (binary_expression "param_2 != 10" identifier != number_literal) )) (compound_statement "{\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }" { (if_statement "if (param_2 != 0x10) {\n      uVar1 = 0;\n    }" if (parenthesized_expression "(param_2 != 0x10)" ( (binary_expression "param_2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" * (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" ( (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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) + IDENT) + 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) + IDENT) + LIT) )))) & LIT) | LIT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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) + IDENT) + 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) + IDENT) + LIT) )))) & LIT) | IDENT)) ;) (return_statement return ;) })) (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) + IDENT) + 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) + IDENT) + LIT) )))) & LIT) | LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_002e44b4(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002e44b4(int *param_1,int param_2)" (identifier "FUN_002e44b4") (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  int iVar2;\n  \n  uVar1 = 8;\n  iVar2 = *(int *)(*param_1 + -0xc);\n  if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }\n  if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }\n  *(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = 8;" (assignment_expression "uVar1 = 8" (identifier "uVar1") (= "=") (number_literal "8")) (; ";")) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc);" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc)" (identifier "iVar2") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (param_2 == 8) {\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == 8)" (( "(") (binary_expression "param_2 == 8" (identifier "param_2") (== "==") (number_literal "8")) () ")")) (compound_statement "{\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;\n    return;\n  }" ({ "{") (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" (( "(") (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 0x40" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" (( "(") (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0xffffffb5")) (| "|") (number_literal "0x40"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_2 != 10) {\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 10)" (( "(") (binary_expression "param_2 != 10" (identifier "param_2") (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n    if (param_2 != 0x10) {\n      uVar1 = 0;\n    }\n    *(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;\n    return;\n  }" ({ "{") (if_statement "if (param_2 != 0x10) {\n      uVar1 = 0;\n    }" (if "if") (parenthesized_expression "(param_2 != 0x10)" (( "(") (binary_expression "param_2 != 0x10" (identifier "param_2") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n      uVar1 = 0;\n    }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) =\n         *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" (( "(") (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | uVar1" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" (( "(") (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0xffffffb5")) (| "|") (identifier "uVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2;" (assignment_expression "*(uint *)((int)param_1 + iVar2 + 0xc) = *(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" (( "(") (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5 | 2" (binary_expression "*(uint *)((int)param_1 + iVar2 + 0xc) & 0xffffffb5" (pointer_expression "*(uint *)((int)param_1 + iVar2 + 0xc)" (* "*") (cast_expression "(uint *)((int)param_1 + iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar2 + 0xc)" (( "(") (binary_expression "(int)param_1 + iVar2 + 0xc" (binary_expression "(int)param_1 + iVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0xffffffb5")) (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier)) 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: (identifier)) right: (number_literal))))) right: (number_literal)) right: (number_literal)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) 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: (identifier)) 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: (identifier)) right: (number_literal))))) right: (number_literal)) right: (identifier)))) (return_statement))) (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: (identifier)) 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: (identifier)) right: (number_literal))))) right: (number_literal)) right: (number_literal)))) (return_statement))))

void MASKED(int *param_1,int param_2)

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

