
void symbol_set_obj(symbolS *s,elf_obj_sy *o)

{
  expressionS *peVar1;
  undefined4 uVar2;
  
  if (((uint)s->sy_flags & 1) != 0) {
    if ((segT)s->bsym == reg_section) {
      s = (s->sy_value).X_op_symbol;
    }
    else {
      s = local_symbol_convert((local_symbol *)s);
    }
  }
  uVar2 = *(undefined4 *)&o->field_0x4;
  peVar1 = o->size;
  (s->sy_obj).local = o->local;
  *(undefined4 *)&(s->sy_obj).field_0x4 = uVar2;
  (s->sy_obj).size = peVar1;
  (s->sy_obj).versioned_name = o->versioned_name;
  return;
}



void FUN_0012ba50(byte *param_1,undefined8 *param_2)

{
  undefined8 uVar1;
  
  if ((*param_1 & 1) != 0) {
    if (*(long *)(param_1 + 8) == DAT_00187618) {
      param_1 = *(byte **)(param_1 + 0x18);
    }
    else {
      param_1 = (byte *)FUN_00129010();
    }
  }
  uVar1 = param_2[1];
  *(undefined8 *)(param_1 + 0x48) = *param_2;
  *(undefined8 *)(param_1 + 0x50) = uVar1;
  *(undefined8 *)(param_1 + 0x58) = param_2[2];
  return;
}


PUSH RBX
MOV RBX,RSI
TEST byte ptr [RDI],0x1
JZ 0x0012ba6e
MOV RAX,qword ptr [0x00187618]
CMP qword ptr [RDI + 0x8],RAX
JZ 0x0012ba80
CALL 0x00129010
MOV RDI,RAX
MOVDQU XMM0,xmmword ptr [RBX]
MOVUPS xmmword ptr [RDI + 0x48],XMM0
MOV RAX,qword ptr [RBX + 0x10]
MOV qword ptr [RDI + 0x58],RAX
POP RBX
RET
MOV RDI,qword ptr [RDI + 0x18]
JMP 0x0012ba6e
(translation_unit "void FUN_0012ba50(byte *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}\n\n" (function_definition "void FUN_0012ba50(byte *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}" primitive_type (function_declarator "FUN_0012ba50(byte *param_1,undefined8 *param_2)" identifier (parameter_list "(byte *param_1,undefined8 *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\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    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }" { (if_statement "if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }" if (parenthesized_expression "(*(long *)(param_1 + 8) == DAT_00187618)" ( (binary_expression "*(long *)(param_1 + 8) == DAT_00187618" (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      param_1 = *(byte **)(param_1 + 0x18);\n    }" { (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (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) ))))) ;) }) (else_clause "else {\n      param_1 = (byte *)FUN_00129010();\n    }" else (compound_statement "{\n      param_1 = (byte *)FUN_00129010();\n    }" { (expression_statement "param_1 = (byte *)FUN_00129010();" (assignment_expression "param_1 = (byte *)FUN_00129010()" identifier = (cast_expression "(byte *)FUN_00129010()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00129010()" identifier (argument_list "()" ( ))))) ;) }))) })) (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x48) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x48) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x50) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x50) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x50)" * (cast_expression "(undefined8 *)(param_1 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x58) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x58) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x58)" * (cast_expression "(undefined8 *)(param_1 + 0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "void symbol_set_obj(symbolS *s,elf_obj_sy *o)\n\n{\n  expressionS *peVar1;\n  undefined4 uVar2;\n  \n  if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n    }\n  }\n  uVar2 = *(undefined4 *)&o->field_0x4;\n  peVar1 = o->size;\n  (s->sy_obj).local = o->local;\n  *(undefined4 *)&(s->sy_obj).field_0x4 = uVar2;\n  (s->sy_obj).size = peVar1;\n  (s->sy_obj).versioned_name = o->versioned_name;\n  return;\n}\n\n" (function_definition "void symbol_set_obj(symbolS *s,elf_obj_sy *o)\n\n{\n  expressionS *peVar1;\n  undefined4 uVar2;\n  \n  if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n    }\n  }\n  uVar2 = *(undefined4 *)&o->field_0x4;\n  peVar1 = o->size;\n  (s->sy_obj).local = o->local;\n  *(undefined4 *)&(s->sy_obj).field_0x4 = uVar2;\n  (s->sy_obj).size = peVar1;\n  (s->sy_obj).versioned_name = o->versioned_name;\n  return;\n}" primitive_type (function_declarator "symbol_set_obj(symbolS *s,elf_obj_sy *o)" identifier (parameter_list "(symbolS *s,elf_obj_sy *o)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "elf_obj_sy *o" type_identifier (pointer_declarator "*o" * identifier)) ))) (compound_statement "{\n  expressionS *peVar1;\n  undefined4 uVar2;\n  \n  if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n    }\n  }\n  uVar2 = *(undefined4 *)&o->field_0x4;\n  peVar1 = o->size;\n  (s->sy_obj).local = o->local;\n  *(undefined4 *)&(s->sy_obj).field_0x4 = uVar2;\n  (s->sy_obj).size = peVar1;\n  (s->sy_obj).versioned_name = o->versioned_name;\n  return;\n}" { (declaration "expressionS *peVar1;" type_identifier (pointer_declarator "*peVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n    }\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    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n    }\n  }" { (if_statement "if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\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      s = (s->sy_value).X_op_symbol;\n    }" { (expression_statement "s = (s->sy_value).X_op_symbol;" (assignment_expression "s = (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)) ;) }) (else_clause "else {\n      s = local_symbol_convert((local_symbol *)s);\n    }" else (compound_statement "{\n      s = local_symbol_convert((local_symbol *)s);\n    }" { (expression_statement "s = local_symbol_convert((local_symbol *)s);" (assignment_expression "s = 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 "uVar2 = *(undefined4 *)&o->field_0x4;" (assignment_expression "uVar2 = *(undefined4 *)&o->field_0x4" identifier = (pointer_expression "*(undefined4 *)&o->field_0x4" * (cast_expression "(undefined4 *)&o->field_0x4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&o->field_0x4" & (field_expression "o->field_0x4" identifier -> field_identifier))))) ;) (expression_statement "peVar1 = o->size;" (assignment_expression "peVar1 = o->size" identifier = (field_expression "o->size" identifier -> field_identifier)) ;) (expression_statement "(s->sy_obj).local = o->local;" (assignment_expression "(s->sy_obj).local = o->local" (field_expression "(s->sy_obj).local" (parenthesized_expression "(s->sy_obj)" ( (field_expression "s->sy_obj" identifier -> field_identifier) )) . field_identifier) = (field_expression "o->local" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)&(s->sy_obj).field_0x4 = uVar2;" (assignment_expression "*(undefined4 *)&(s->sy_obj).field_0x4 = uVar2" (pointer_expression "*(undefined4 *)&(s->sy_obj).field_0x4" * (cast_expression "(undefined4 *)&(s->sy_obj).field_0x4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(s->sy_obj).field_0x4" & (field_expression "(s->sy_obj).field_0x4" (parenthesized_expression "(s->sy_obj)" ( (field_expression "s->sy_obj" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "(s->sy_obj).size = peVar1;" (assignment_expression "(s->sy_obj).size = peVar1" (field_expression "(s->sy_obj).size" (parenthesized_expression "(s->sy_obj)" ( (field_expression "s->sy_obj" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(s->sy_obj).versioned_name = o->versioned_name;" (assignment_expression "(s->sy_obj).versioned_name = o->versioned_name" (field_expression "(s->sy_obj).versioned_name" (parenthesized_expression "(s->sy_obj)" ( (field_expression "s->sy_obj" identifier -> field_identifier) )) . field_identifier) = (field_expression "o->versioned_name" identifier -> field_identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0012ba50(byte *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}\n\n" (function_definition "void FUN_0012ba50(byte *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}" primitive_type (function_declarator "FUN_0012ba50(byte *param_1,undefined8 *param_2)" identifier (parameter_list "(byte *param_1,undefined8 *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\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    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }" { (if_statement "if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }" if (parenthesized_expression "(*(long *)(param_1 + 8) == DAT_00187618)" ( (binary_expression "*(long *)(param_1 + 8) == DAT_00187618" (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      param_1 = *(byte **)(param_1 + 0x18);\n    }" { (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (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) ))))) ;) }) (else_clause "else {\n      param_1 = (byte *)FUN_00129010();\n    }" else (compound_statement "{\n      param_1 = (byte *)FUN_00129010();\n    }" { (expression_statement "param_1 = (byte *)FUN_00129010();" (assignment_expression "param_1 = (byte *)FUN_00129010()" identifier = (cast_expression "(byte *)FUN_00129010()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00129010()" identifier (argument_list "()" ( ))))) ;) }))) })) (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x48) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x48) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x50) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x50) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x50)" * (cast_expression "(undefined8 *)(param_1 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x58) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x58) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x58)" * (cast_expression "(undefined8 *)(param_1 + 0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (subscript_expression "param_2[2]" identifier [ 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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) }))) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return ;) })))
(function_definition "void FUN_0012ba50(byte *param_1,undefined8 *param_2)\n\n{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012ba50(byte *param_1,undefined8 *param_2)" (identifier "FUN_0012ba50") (parameter_list "(byte *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }\n  uVar1 = param_2[1];\n  *(undefined8 *)(param_1 + 0x48) = *param_2;\n  *(undefined8 *)(param_1 + 0x50) = uVar1;\n  *(undefined8 *)(param_1 + 0x58) = param_2[2];\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\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    if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }\n  }" ({ "{") (if_statement "if (*(long *)(param_1 + 8) == DAT_00187618) {\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n    else {\n      param_1 = (byte *)FUN_00129010();\n    }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) == DAT_00187618)" (( "(") (binary_expression "*(long *)(param_1 + 8) == DAT_00187618" (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_00187618")) () ")")) (compound_statement "{\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" ({ "{") (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" (identifier "param_1") (= "=") (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")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      param_1 = (byte *)FUN_00129010();\n    }" (else "else") (compound_statement "{\n      param_1 = (byte *)FUN_00129010();\n    }" ({ "{") (expression_statement "param_1 = (byte *)FUN_00129010();" (assignment_expression "param_1 = (byte *)FUN_00129010()" (identifier "param_1") (= "=") (cast_expression "(byte *)FUN_00129010()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00129010()" (identifier "FUN_00129010") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" (identifier "uVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x48) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x48) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x50) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x50) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x50)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x50)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x58) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x58) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x58)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x58)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *s,type_2 *o)

{
  type_3 *peVar1;
  type_4 uVar2;
  
  if (((type_5)s->sy_flags & 1) != 0) {
    if ((type_6)s->bsym == var_1) {
      s = (s->sy_value).X_op_symbol;
    }
    else {
      s = var_2((type_7 *)s);
    }
  }
  uVar2 = *(type_4 *)&o->field_0x4;
  peVar1 = o->size;
  (s->sy_obj).local = o->local;
  *(type_4 *)&(s->sy_obj).field_0x4 = uVar2;
  (s->sy_obj).size = peVar1;
  (s->sy_obj).versioned_name = o->versioned_name;
  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))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) 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 (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: (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)))))))) alternative: (else_clause (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: (identifier) right: (subscript_expression argument: (identifier) index: (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: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (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: (identifier) right: (number_literal))))) right: (identifier))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (return_statement))))

void MASKED(byte *param_1,undefined8 *param_2)

{
  undefined8 uVar1;
  
  if ((*param_1 & 1) != 0) {
    if (*(long *)(param_1 + 8) == DAT_00187618) {
      param_1 = *(byte **)(param_1 + 0x18);
    }
    else {
      param_1 = (byte *)FUN_00129010();
    }
  }
  uVar1 = param_2[1];
  *(undefined8 *)(param_1 + 0x48) = *param_2;
  *(undefined8 *)(param_1 + 0x50) = uVar1;
  *(undefined8 *)(param_1 + 0x58) = param_2[2];
  return;
}

