
void S_SET_VOLATILE(symbolS *s)

{
  symbolS *psVar1;
  
  if (((uint)s->sy_flags & 1) == 0) {
    *(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;
    return;
  }
  if ((segT)s->bsym != reg_section) {
    psVar1 = local_symbol_convert((local_symbol *)s);
    *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;
    return;
  }
  psVar1 = (s->sy_value).X_op_symbol;
  *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;
  return;
}



void FUN_0012ba30(byte *param_1)

{
  byte *pbVar1;
  
  if ((*param_1 & 1) == 0) {
    *param_1 = *param_1 | 0x40;
    return;
  }
  if (*(long *)(param_1 + 8) != DAT_001e4578) {
    pbVar1 = (byte *)FUN_00129910();
    *pbVar1 = *pbVar1 | 0x40;
    return;
  }
  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;
  return;
}


TEST byte ptr [RDI],0x1
JNZ 0x0012ba40
OR byte ptr [RDI],0x40
RET
MOV RAX,qword ptr [0x001e4578]
CMP qword ptr [RDI + 0x8],RAX
JZ 0x0012ba60
SUB RSP,0x8
CALL 0x00129910
OR byte ptr [RAX],0x40
ADD RSP,0x8
RET
MOV RDI,qword ptr [RDI + 0x18]
OR byte ptr [RDI],0x40
RET
(translation_unit "void FUN_0012ba30(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}\n\n" (function_definition "void FUN_0012ba30(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}" primitive_type (function_declarator "FUN_0012ba30(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (if_statement "if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }" if (parenthesized_expression "((*param_1 & 1) == 0)" ( (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    *param_1 = *param_1 | 0x40;\n    return;\n  }" { (expression_statement "*param_1 = *param_1 | 0x40;" (assignment_expression "*param_1 = *param_1 | 0x40" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 | 0x40" (pointer_expression "*param_1" * identifier) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_001e4578)" ( (binary_expression "*(long *)(param_1 + 8) != DAT_001e4578" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }" { (expression_statement "pbVar1 = (byte *)FUN_00129910();" (assignment_expression "pbVar1 = (byte *)FUN_00129910()" identifier = (cast_expression "(byte *)FUN_00129910()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00129910()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*pbVar1 = *pbVar1 | 0x40;" (assignment_expression "*pbVar1 = *pbVar1 | 0x40" (pointer_expression "*pbVar1" * identifier) = (binary_expression "*pbVar1 | 0x40" (pointer_expression "*pbVar1" * identifier) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "**(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;" (assignment_expression "**(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40" (pointer_expression "**(byte **)(param_1 + 0x18)" * (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) = (binary_expression "**(byte **)(param_1 + 0x18) | 0x40" (pointer_expression "**(byte **)(param_1 + 0x18)" * (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) | number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void S_SET_VOLATILE(symbolS *s)\n\n{\n  symbolS *psVar1;\n  \n  if (((uint)s->sy_flags & 1) == 0) {\n    *(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;\n    return;\n  }\n  if ((segT)s->bsym != reg_section) {\n    psVar1 = local_symbol_convert((local_symbol *)s);\n    *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n    return;\n  }\n  psVar1 = (s->sy_value).X_op_symbol;\n  *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n  return;\n}\n\n" (function_definition "void S_SET_VOLATILE(symbolS *s)\n\n{\n  symbolS *psVar1;\n  \n  if (((uint)s->sy_flags & 1) == 0) {\n    *(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;\n    return;\n  }\n  if ((segT)s->bsym != reg_section) {\n    psVar1 = local_symbol_convert((local_symbol *)s);\n    *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n    return;\n  }\n  psVar1 = (s->sy_value).X_op_symbol;\n  *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n  return;\n}" primitive_type (function_declarator "S_SET_VOLATILE(symbolS *s)" identifier (parameter_list "(symbolS *s)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  symbolS *psVar1;\n  \n  if (((uint)s->sy_flags & 1) == 0) {\n    *(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;\n    return;\n  }\n  if ((segT)s->bsym != reg_section) {\n    psVar1 = local_symbol_convert((local_symbol *)s);\n    *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n    return;\n  }\n  psVar1 = (s->sy_value).X_op_symbol;\n  *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n  return;\n}" { (declaration "symbolS *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (if_statement "if (((uint)s->sy_flags & 1) == 0) {\n    *(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;\n    return;\n  }" if (parenthesized_expression "(((uint)s->sy_flags & 1) == 0)" ( (binary_expression "((uint)s->sy_flags & 1) == 0" (parenthesized_expression "((uint)s->sy_flags & 1)" ( (binary_expression "(uint)s->sy_flags & 1" (cast_expression "(uint)s->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s->sy_flags" identifier -> field_identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;\n    return;\n  }" { (expression_statement "*(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40;" (assignment_expression "*(byte *)&s->sy_flags = *(byte *)&s->sy_flags | 0x40" (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier)))) = (binary_expression "*(byte *)&s->sy_flags | 0x40" (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier)))) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if ((segT)s->bsym != reg_section) {\n    psVar1 = local_symbol_convert((local_symbol *)s);\n    *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n    return;\n  }" if (parenthesized_expression "((segT)s->bsym != reg_section)" ( (binary_expression "(segT)s->bsym != reg_section" (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n    psVar1 = local_symbol_convert((local_symbol *)s);\n    *(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;\n    return;\n  }" { (expression_statement "psVar1 = local_symbol_convert((local_symbol *)s);" (assignment_expression "psVar1 = local_symbol_convert((local_symbol *)s)" identifier = (call_expression "local_symbol_convert((local_symbol *)s)" identifier (argument_list "((local_symbol *)s)" ( (cast_expression "(local_symbol *)s" ( (type_descriptor "local_symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "*(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;" (assignment_expression "*(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40" (pointer_expression "*(byte *)&psVar1->sy_flags" * (cast_expression "(byte *)&psVar1->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar1->sy_flags" & (field_expression "psVar1->sy_flags" identifier -> field_identifier)))) = (binary_expression "*(byte *)&psVar1->sy_flags | 0x40" (pointer_expression "*(byte *)&psVar1->sy_flags" * (cast_expression "(byte *)&psVar1->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar1->sy_flags" & (field_expression "psVar1->sy_flags" identifier -> field_identifier)))) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "psVar1 = (s->sy_value).X_op_symbol;" (assignment_expression "psVar1 = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "*(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40;" (assignment_expression "*(byte *)&psVar1->sy_flags = *(byte *)&psVar1->sy_flags | 0x40" (pointer_expression "*(byte *)&psVar1->sy_flags" * (cast_expression "(byte *)&psVar1->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar1->sy_flags" & (field_expression "psVar1->sy_flags" identifier -> field_identifier)))) = (binary_expression "*(byte *)&psVar1->sy_flags | 0x40" (pointer_expression "*(byte *)&psVar1->sy_flags" * (cast_expression "(byte *)&psVar1->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar1->sy_flags" & (field_expression "psVar1->sy_flags" identifier -> field_identifier)))) | number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0012ba30(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}\n\n" (function_definition "void FUN_0012ba30(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}" primitive_type (function_declarator "FUN_0012ba30(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (if_statement "if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }" if (parenthesized_expression "((*param_1 & 1) == 0)" ( (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    *param_1 = *param_1 | 0x40;\n    return;\n  }" { (expression_statement "*param_1 = *param_1 | 0x40;" (assignment_expression "*param_1 = *param_1 | 0x40" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 | 0x40" (pointer_expression "*param_1" * identifier) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_001e4578)" ( (binary_expression "*(long *)(param_1 + 8) != DAT_001e4578" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }" { (expression_statement "pbVar1 = (byte *)FUN_00129910();" (assignment_expression "pbVar1 = (byte *)FUN_00129910()" identifier = (cast_expression "(byte *)FUN_00129910()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00129910()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*pbVar1 = *pbVar1 | 0x40;" (assignment_expression "*pbVar1 = *pbVar1 | 0x40" (pointer_expression "*pbVar1" * identifier) = (binary_expression "*pbVar1 | 0x40" (pointer_expression "*pbVar1" * identifier) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "**(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;" (assignment_expression "**(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40" (pointer_expression "**(byte **)(param_1 + 0x18)" * (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) = (binary_expression "**(byte **)(param_1 + 0x18) | 0x40" (pointer_expression "**(byte **)(param_1 + 0x18)" * (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) | number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) | LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0012ba30(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012ba30(byte *param_1)" (identifier "FUN_0012ba30") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  \n  if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }\n  if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }\n  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (if_statement "if ((*param_1 & 1) == 0) {\n    *param_1 = *param_1 | 0x40;\n    return;\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) == 0)" (( "(") (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = *param_1 | 0x40;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *param_1 | 0x40;" (assignment_expression "*param_1 = *param_1 | 0x40" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 | 0x40" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (| "|") (number_literal "0x40"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 8) != DAT_001e4578) {\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_001e4578)" (( "(") (binary_expression "*(long *)(param_1 + 8) != DAT_001e4578" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (identifier "DAT_001e4578")) () ")")) (compound_statement "{\n    pbVar1 = (byte *)FUN_00129910();\n    *pbVar1 = *pbVar1 | 0x40;\n    return;\n  }" ({ "{") (expression_statement "pbVar1 = (byte *)FUN_00129910();" (assignment_expression "pbVar1 = (byte *)FUN_00129910()" (identifier "pbVar1") (= "=") (cast_expression "(byte *)FUN_00129910()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00129910()" (identifier "FUN_00129910") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*pbVar1 = *pbVar1 | 0x40;" (assignment_expression "*pbVar1 = *pbVar1 | 0x40" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (= "=") (binary_expression "*pbVar1 | 0x40" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (| "|") (number_literal "0x40"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "**(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;" (assignment_expression "**(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40" (pointer_expression "**(byte **)(param_1 + 0x18)" (* "*") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (= "=") (binary_expression "**(byte **)(param_1 + 0x18) | 0x40" (pointer_expression "**(byte **)(param_1 + 0x18)" (* "*") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (| "|") (number_literal "0x40"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *s)

{
  type_1 *psVar1;
  
  if (((type_2)s->sy_flags & 1) == 0) {
    *(type_3 *)&s->sy_flags = *(type_3 *)&s->sy_flags | 0x40;
    return;
  }
  if ((type_4)s->bsym != var_1) {
    psVar1 = var_2((type_5 *)s);
    *(type_3 *)&psVar1->sy_flags = *(type_3 *)&psVar1->sy_flags | 0x40;
    return;
  }
  psVar1 = (s->sy_value).X_op_symbol;
  *(type_3 *)&psVar1->sy_flags = *(type_3 *)&psVar1->sy_flags | 0x40;
  return;
}


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

void MASKED(byte *param_1)

{
  byte *pbVar1;
  
  if ((*param_1 & 1) == 0) {
    *param_1 = *param_1 | 0x40;
    return;
  }
  if (*(long *)(param_1 + 8) != DAT_001e4578) {
    pbVar1 = (byte *)FUN_00129910();
    *pbVar1 = *pbVar1 | 0x40;
    return;
  }
  **(byte **)(param_1 + 0x18) = **(byte **)(param_1 + 0x18) | 0x40;
  return;
}

