
/* DWARF original prototype: void Output_reloc(Output_reloc<9,_true,_32,_true> * this, uint type,
   void * arg, Output_data * od, Address address) */

void __thiscall
gold::Output_reloc<9,_true,_32,_true>::Output_reloc
          (Output_reloc<9,_true,_32,_true> *this,uint type,void *arg,Output_data *od,Address address
          )

{
  this->address_ = address;
  this->local_sym_index_ = 0xfffffffd;
  *(uint *)&this->field_0x18 = *(uint *)&this->field_0x18 & 0xf0000000 | type & 0xfffffff;
  *(ulong *)&this->field_0x18 =
       (ulong)((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff) | 0xfffffffc00000000;
  if (type == (type & 0xfffffff)) {
    (this->u1_).arg = arg;
    (this->u2_).od = od;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0x392,"Output_reloc");
}



void FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,
                 undefined4 param_5)

{
  *(undefined4 *)(param_1 + 2) = param_5;
  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;
  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;
  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;
  if (param_2 == (param_2 & 0xfffffff)) {
    *param_1 = param_3;
    param_1[1] = param_4;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");
}


MOV EAX,dword ptr [RDI + 0x18]
MOV dword ptr [RDI + 0x10],R8D
MOV R8D,ESI
MOV R9,-0x400000000
AND R8D,0xfffffff
MOV dword ptr [RDI + 0x14],0xfffffffd
AND EAX,0xf0000000
OR EAX,R8D
MOV dword ptr [RDI + 0x18],EAX
MOV RAX,qword ptr [RDI + 0x18]
AND EAX,0xfffffff
OR RAX,R9
MOV qword ptr [RDI + 0x18],RAX
CMP ESI,R8D
JNZ 0x0020405a
MOV qword ptr [RDI],RDX
MOV qword ptr [RDI + 0x8],RCX
RET
PUSH RAX
LEA RDX,[0x37f908]
MOV ESI,0x392
LEA RDI,[0x37e8cf]
CALL 0x0017c650
(translation_unit "void FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}\n\n" (function_definition "void FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}" primitive_type (function_declarator "FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}" { (expression_statement "*(undefined4 *)(param_1 + 2) = param_5;" (assignment_expression "*(undefined4 *)(param_1 + 2) = param_5" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd" (pointer_expression "*(undefined4 *)((long)param_1 + 0x14)" * (cast_expression "(undefined4 *)((long)param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;" (assignment_expression "*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff" (binary_expression "*(uint *)(param_1 + 3) & 0xf0000000" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) & number_literal) | (binary_expression "param_2 & 0xfffffff" identifier & number_literal))) ;) (expression_statement "param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;" (assignment_expression "param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "(ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000" (call_expression "(ulong)((uint)param_1[3] & 0xfffffff)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)param_1[3] & 0xfffffff)" ( (binary_expression "(uint)param_1[3] & 0xfffffff" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) & number_literal) ))) | number_literal)) ;) (if_statement "if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" if (parenthesized_expression "(param_2 == (param_2 & 0xfffffff))" ( (binary_expression "param_2 == (param_2 & 0xfffffff)" identifier == (parenthesized_expression "(param_2 & 0xfffffff)" ( (binary_expression "param_2 & 0xfffffff" identifier & number_literal) ))) )) (compound_statement "{\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" { (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x392,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void Output_reloc(Output_reloc<9,_true,_32,_true> * this, uint type,\n   void * arg, Output_data * od, Address address) */\n\nvoid __thiscall\ngold::Output_reloc<9,_true,_32,_true>::Output_reloc\n          (Output_reloc<9,_true,_32,_true> *this,uint type,void *arg,Output_data *od,Address address\n          )\n\n{\n  this->address_ = address;\n  this->local_sym_index_ = 0xfffffffd;\n  *(uint *)&this->field_0x18 = *(uint *)&this->field_0x18 & 0xf0000000 | type & 0xfffffff;\n  *(ulong *)&this->field_0x18 =\n       (ulong)((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff) | 0xfffffffc00000000;\n  if (type == (type & 0xfffffff)) {\n    (this->u1_).arg = arg;\n    (this->u2_).od = od;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x392,"Output_reloc");\n}\n\n" comment (declaration "void __thiscall\ngold::Output_reloc<9,_true,_32,_true>::Output_reloc\n          (Output_reloc<9,_true,_32,_true> *this,uint type,void *arg,Output_data *od,Address address\n          )\n\n{\n  this->address_ = address;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , (ERROR "_true>::Output_reloc\n          (Output_reloc<9,_true,_32,_true> *this,uint type,void *arg,Output_data *od,Address address\n          )\n\n{\n  this->" identifier > : : (function_declarator "Output_reloc\n          (Output_reloc<9,_true,_32,_true> *this,uint type,void *arg,Output_data *od,Address address\n          )" identifier (parameter_list "(Output_reloc<9,_true,_32,_true> *this,uint type,void *arg,Output_data *od,Address address\n          )" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint type" type_identifier identifier) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "Output_data *od" type_identifier (pointer_declarator "*od" * identifier)) , (parameter_declaration "Address address" type_identifier identifier) ))) { identifier ->) (init_declarator "address_ = address" identifier = identifier) ;) (expression_statement "this->local_sym_index_ = 0xfffffffd;" (assignment_expression "this->local_sym_index_ = 0xfffffffd" (field_expression "this->local_sym_index_" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(uint *)&this->field_0x18 = *(uint *)&this->field_0x18 & 0xf0000000 | type & 0xfffffff;" (assignment_expression "*(uint *)&this->field_0x18 = *(uint *)&this->field_0x18 & 0xf0000000 | type & 0xfffffff" (pointer_expression "*(uint *)&this->field_0x18" * (cast_expression "(uint *)&this->field_0x18" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x18" & (field_expression "this->field_0x18" identifier -> field_identifier)))) = (binary_expression "*(uint *)&this->field_0x18 & 0xf0000000 | type & 0xfffffff" (binary_expression "*(uint *)&this->field_0x18 & 0xf0000000" (pointer_expression "*(uint *)&this->field_0x18" * (cast_expression "(uint *)&this->field_0x18" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x18" & (field_expression "this->field_0x18" identifier -> field_identifier)))) & number_literal) | (binary_expression "type & 0xfffffff" identifier & number_literal))) ;) (expression_statement "*(ulong *)&this->field_0x18 =\n       (ulong)((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff) | 0xfffffffc00000000;" (assignment_expression "*(ulong *)&this->field_0x18 =\n       (ulong)((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff) | 0xfffffffc00000000" (pointer_expression "*(ulong *)&this->field_0x18" * (cast_expression "(ulong *)&this->field_0x18" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x18" & (field_expression "this->field_0x18" identifier -> field_identifier)))) = (binary_expression "(ulong)((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff) | 0xfffffffc00000000" (call_expression "(ulong)((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)*(undefined8 *)&this->field_0x18 & 0xfffffff)" ( (binary_expression "(uint)*(undefined8 *)&this->field_0x18 & 0xfffffff" (binary_expression "(uint)*(undefined8 *)&this->field_0x18" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(undefined8 *)&this->field_0x18" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x18" & (field_expression "this->field_0x18" identifier -> field_identifier)))) & number_literal) ))) | number_literal)) ;) (if_statement "if (type == (type & 0xfffffff)) {\n    (this->u1_).arg = arg;\n    (this->u2_).od = od;\n    return;\n  }" if (parenthesized_expression "(type == (type & 0xfffffff))" ( (binary_expression "type == (type & 0xfffffff)" identifier == (parenthesized_expression "(type & 0xfffffff)" ( (binary_expression "type & 0xfffffff" identifier & number_literal) ))) )) (compound_statement "{\n    (this->u1_).arg = arg;\n    (this->u2_).od = od;\n    return;\n  }" { (expression_statement "(this->u1_).arg = arg;" (assignment_expression "(this->u1_).arg = arg" (field_expression "(this->u1_).arg" (parenthesized_expression "(this->u1_)" ( (field_expression "this->u1_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(this->u2_).od = od;" (assignment_expression "(this->u2_).od = od" (field_expression "(this->u2_).od" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x392,"Output_reloc");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x392,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x392,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}\n\n" (function_definition "void FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}" primitive_type (function_declarator "FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}" { (expression_statement "*(undefined4 *)(param_1 + 2) = param_5;" (assignment_expression "*(undefined4 *)(param_1 + 2) = param_5" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd" (pointer_expression "*(undefined4 *)((long)param_1 + 0x14)" * (cast_expression "(undefined4 *)((long)param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;" (assignment_expression "*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff" (binary_expression "*(uint *)(param_1 + 3) & 0xf0000000" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) & number_literal) | (binary_expression "param_2 & 0xfffffff" identifier & number_literal))) ;) (expression_statement "param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;" (assignment_expression "param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "(ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000" (call_expression "(ulong)((uint)param_1[3] & 0xfffffff)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)param_1[3] & 0xfffffff)" ( (binary_expression "(uint)param_1[3] & 0xfffffff" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) & number_literal) ))) | number_literal)) ;) (if_statement "if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" if (parenthesized_expression "(param_2 == (param_2 & 0xfffffff))" ( (binary_expression "param_2 == (param_2 & 0xfffffff)" identifier == (parenthesized_expression "(param_2 & 0xfffffff)" ( (binary_expression "param_2 & 0xfffffff" identifier & number_literal) ))) )) (compound_statement "{\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" { (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x392,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) & LIT) ))) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}" (primitive_type "void") (function_declarator "FUN_00204010(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)" (identifier "FUN_00204010") (parameter_list "(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n                 undefined4 param_5)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 2) = param_5;\n  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;\n  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 2) = param_5;" (assignment_expression "*(undefined4 *)(param_1 + 2) = param_5" (pointer_expression "*(undefined4 *)(param_1 + 2)" (* "*") (cast_expression "(undefined4 *)(param_1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd" (pointer_expression "*(undefined4 *)((long)param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x14)" (( "(") (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0xfffffffd")) (; ";")) (expression_statement "*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;" (assignment_expression "*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff" (pointer_expression "*(uint *)(param_1 + 3)" (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff" (binary_expression "*(uint *)(param_1 + 3) & 0xf0000000" (pointer_expression "*(uint *)(param_1 + 3)" (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (& "&") (number_literal "0xf0000000")) (| "|") (binary_expression "param_2 & 0xfffffff" (identifier "param_2") (& "&") (number_literal "0xfffffff")))) (; ";")) (expression_statement "param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;" (assignment_expression "param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "(ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000" (call_expression "(ulong)((uint)param_1[3] & 0xfffffff)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((uint)param_1[3] & 0xfffffff)" (( "(") (binary_expression "(uint)param_1[3] & 0xfffffff" (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (& "&") (number_literal "0xfffffff")) () ")"))) (| "|") (number_literal "0xfffffffc00000000"))) (; ";")) (if_statement "if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == (param_2 & 0xfffffff))" (( "(") (binary_expression "param_2 == (param_2 & 0xfffffff)" (identifier "param_2") (== "==") (parenthesized_expression "(param_2 & 0xfffffff)" (( "(") (binary_expression "param_2 & 0xfffffff" (identifier "param_2") (& "&") (number_literal "0xfffffff")) () ")"))) () ")")) (compound_statement "{\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc")" (identifier "FUN_0017c650") (argument_list "("../../gold/output.cc",0x392,"Output_reloc")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x392") (, ",") (string_literal ""Output_reloc"" (" """) (string_content "Output_reloc") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void Output_reloc(Output_reloc<9,_true,_32,_true> * this, uint type,
   void * arg, Output_data * od, Address address) */

void __thiscall
gold::Output_reloc<9,_true,_32,_true>::Output_reloc
          (Output_reloc<9,_true,_32,_true> *this,type_1 var_1,void *arg,Output_data *od,Address address
          )

{
  this->address_ = address;
  this->local_sym_index_ = 0xfffffffd;
  *(type_1 *)&this->field_0x18 = *(type_1 *)&this->field_0x18 & 0xf0000000 | var_1 & 0xfffffff;
  *(type_2 *)&this->field_0x18 =
       (type_2)((type_1)*(type_3 *)&this->field_0x18 & 0xfffffff) | 0xfffffffc00000000;
  if (var_1 == (var_1 & 0xfffffff)) {
    (this->u1_).arg = arg;
    (this->u2_).od = od;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/output.cc",0x392,"Output_reloc");
}


(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: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (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: (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

void MASKED(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,
                 undefined4 param_5)

{
  *(undefined4 *)(param_1 + 2) = param_5;
  *(undefined4 *)((long)param_1 + 0x14) = 0xfffffffd;
  *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) & 0xf0000000 | param_2 & 0xfffffff;
  param_1[3] = (ulong)((uint)param_1[3] & 0xfffffff) | 0xfffffffc00000000;
  if (param_2 == (param_2 & 0xfffffff)) {
    *param_1 = param_3;
    param_1[1] = param_4;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/output.cc",0x392,"Output_reloc");
}

