
/* DWARF original prototype: void add_local_with_rel(Output_data_got<64,_false> * this, Relobj *
   object, uint symndx, uint got_type, Output_data_reloc_generic * rel_dyn, uint r_type, uint64_t
   addend) */

void __thiscall
gold::Output_data_got<64,_false>::add_local_with_rel
          (Output_data_got<64,_false> *this,Relobj *object,uint symndx,uint got_type,
          Output_data_reloc_generic *rel_dyn,uint r_type,uint64_t addend)

{
  Got_entry got_entry;
  int iVar1;
  uint uVar2;
  
  iVar1 = (*(object->super_Object)._vptr_Object[0x2b])
                    (object,symndx,got_type,(undefined4)addend,addend._4_4_);
  if ((char)iVar1 == '\0') {
    got_entry.addend_ = 0;
    got_entry._0_12_ = ZEXT412(0x7ffffffd) << 0x40;
    uVar2 = add_got_entry(this,got_entry);
    (*(object->super_Object)._vptr_Object[0x2d])
              (object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_);
    (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.
      _vptr_Output_data[0x1b])
              (rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_);
  }
  return;
}



void FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5
                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)

{
  char cVar1;
  undefined4 uVar2;
  
  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);
  if (cVar1 == '\0') {
    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);
    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);
    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x48
MOV EBP,dword ptr [ESP + 0x60]
MOV EBX,dword ptr [ESP + 0x64]
MOV ESI,dword ptr [ESP + 0x74]
MOV EDI,dword ptr [ESP + 0x78]
MOV EAX,dword ptr [EBP]
PUSH EDI
PUSH ESI
PUSH dword ptr [ESP + 0x70]
PUSH EBX
PUSH EBP
CALL dword ptr [EAX + 0xac]
ADD ESP,0x20
TEST AL,AL
JNZ 0x002e5ec5
MOV dword ptr [ESP + 0x1c],0x0
SUB ESP,0x8
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x2c],0x7ffffffd
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x34],0x0
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x34]
PUSH 0x7ffffffd
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x6c]
CALL 0x002e5460
ADD ESP,0x18
MOV ECX,dword ptr [EBP]
PUSH EDI
PUSH ESI
PUSH EAX
MOV dword ptr [ESP + 0x20],EAX
PUSH dword ptr [ESP + 0x70]
PUSH EBX
PUSH EBP
CALL dword ptr [ECX + 0xb4]
MOV EAX,dword ptr [ESP + 0x80]
XOR EDX,EDX
ADD ESP,0x14
MOV ECX,dword ptr [EAX]
PUSH EDI
PUSH ESI
MOV EAX,dword ptr [ESP + 0x20]
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x84]
PUSH EBX
PUSH EBP
PUSH dword ptr [ESP + 0x8c]
CALL dword ptr [ECX + 0x6c]
ADD ESP,0x30
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);" (assignment_expression "cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8)" identifier = (call_expression "(**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_2 + 0xac))" ( (pointer_expression "**(code **)(*param_2 + 0xac)" * (pointer_expression "*(code **)(*param_2 + 0xac)" * (cast_expression "(code **)(*param_2 + 0xac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xac)" ( (binary_expression "*param_2 + 0xac" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_3,param_4,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }" { (expression_statement "uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);" (assignment_expression "uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0)" identifier = (call_expression "FUN_002e5460(param_1,0,0,0x7ffffffd,0,0)" identifier (argument_list "(param_1,0,0,0x7ffffffd,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);" (call_expression "(**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_2 + 0xb4))" ( (pointer_expression "**(code **)(*param_2 + 0xb4)" * (pointer_expression "*(code **)(*param_2 + 0xb4)" * (cast_expression "(code **)(*param_2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xb4)" ( (binary_expression "*param_2 + 0xb4" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_3,param_4,uVar2,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);" (call_expression "(**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_5 + 0x6c))" ( (pointer_expression "**(code **)(*param_5 + 0x6c)" * (pointer_expression "*(code **)(*param_5 + 0x6c)" * (cast_expression "(code **)(*param_5 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x6c)" ( (binary_expression "*param_5 + 0x6c" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void add_local_with_rel(Output_data_got<64,_false> * this, Relobj *\n   object, uint symndx, uint got_type, Output_data_reloc_generic * rel_dyn, uint r_type, uint64_t\n   addend) */\n\nvoid __thiscall\ngold::Output_data_got<64,_false>::add_local_with_rel\n          (Output_data_got<64,_false> *this,Relobj *object,uint symndx,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type,uint64_t addend)\n\n{\n  Got_entry got_entry;\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = (*(object->super_Object)._vptr_Object[0x2b])\n                    (object,symndx,got_type,(undefined4)addend,addend._4_4_);\n  if ((char)iVar1 == '\0') {\n    got_entry.addend_ = 0;\n    got_entry._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry(this,got_entry);\n    (*(object->super_Object)._vptr_Object[0x2d])\n              (object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_);\n    (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b])\n              (rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_);\n  }\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Output_data_got<64,_false>::add_local_with_rel\n          (Output_data_got<64,_false> *this,Relobj *object,uint symndx,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type,uint64_t addend)\n\n{\n  Got_entry got_entry;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::add_local_with_rel\n          (Output_data_got<64,_false> *this,Relobj *object,uint symndx,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type,uint64_t addend)\n\n{\n  Got_entry" identifier > : : (function_declarator "add_local_with_rel\n          (Output_data_got<64,_false> *this,Relobj *object,uint symndx,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type,uint64_t addend)" identifier (parameter_list "(Output_data_got<64,_false> *this,Relobj *object,uint symndx,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type,uint64_t addend)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *object" type_identifier (pointer_declarator "*object" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) , (parameter_declaration "uint got_type" type_identifier identifier) , (parameter_declaration "Output_data_reloc_generic *rel_dyn" type_identifier (pointer_declarator "*rel_dyn" * identifier)) , (parameter_declaration "uint r_type" type_identifier identifier) , (parameter_declaration "uint64_t addend" primitive_type identifier) ))) { identifier) identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(object->super_Object)._vptr_Object[0x2b])\n                    (object,symndx,got_type,(undefined4)addend,addend._4_4_);" (assignment_expression "iVar1 = (*(object->super_Object)._vptr_Object[0x2b])\n                    (object,symndx,got_type,(undefined4)addend,addend._4_4_)" identifier = (call_expression "(*(object->super_Object)._vptr_Object[0x2b])\n                    (object,symndx,got_type,(undefined4)addend,addend._4_4_)" (parenthesized_expression "(*(object->super_Object)._vptr_Object[0x2b])" ( (pointer_expression "*(object->super_Object)._vptr_Object[0x2b]" * (subscript_expression "(object->super_Object)._vptr_Object[0x2b]" (field_expression "(object->super_Object)._vptr_Object" (parenthesized_expression "(object->super_Object)" ( (field_expression "object->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(object,symndx,got_type,(undefined4)addend,addend._4_4_)" ( identifier , identifier , identifier , (cast_expression "(undefined4)addend" ( (type_descriptor "undefined4" type_identifier) ) identifier) , (field_expression "addend._4_4_" identifier . field_identifier) )))) ;) (if_statement "if ((char)iVar1 == '\0') {\n    got_entry.addend_ = 0;\n    got_entry._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry(this,got_entry);\n    (*(object->super_Object)._vptr_Object[0x2d])\n              (object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_);\n    (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b])\n              (rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_);\n  }" if (parenthesized_expression "((char)iVar1 == '\0')" ( (binary_expression "(char)iVar1 == '\0'" (cast_expression "(char)iVar1" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    got_entry.addend_ = 0;\n    got_entry._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry(this,got_entry);\n    (*(object->super_Object)._vptr_Object[0x2d])\n              (object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_);\n    (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b])\n              (rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_);\n  }" { (expression_statement "got_entry.addend_ = 0;" (assignment_expression "got_entry.addend_ = 0" (field_expression "got_entry.addend_" identifier . field_identifier) = number_literal) ;) (expression_statement "got_entry._0_12_ = ZEXT412(0x7ffffffd) << 0x40;" (assignment_expression "got_entry._0_12_ = ZEXT412(0x7ffffffd) << 0x40" (field_expression "got_entry._0_12_" identifier . field_identifier) = (binary_expression "ZEXT412(0x7ffffffd) << 0x40" (call_expression "ZEXT412(0x7ffffffd)" identifier (argument_list "(0x7ffffffd)" ( number_literal ))) << number_literal)) ;) (expression_statement "uVar2 = add_got_entry(this,got_entry);" (assignment_expression "uVar2 = add_got_entry(this,got_entry)" identifier = (call_expression "add_got_entry(this,got_entry)" identifier (argument_list "(this,got_entry)" ( identifier , identifier )))) ;) (expression_statement "(*(object->super_Object)._vptr_Object[0x2d])\n              (object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_);" (call_expression "(*(object->super_Object)._vptr_Object[0x2d])\n              (object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_)" (parenthesized_expression "(*(object->super_Object)._vptr_Object[0x2d])" ( (pointer_expression "*(object->super_Object)._vptr_Object[0x2d]" * (subscript_expression "(object->super_Object)._vptr_Object[0x2d]" (field_expression "(object->super_Object)._vptr_Object" (parenthesized_expression "(object->super_Object)" ( (field_expression "object->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(object,symndx,got_type,uVar2,(undefined4)addend,addend._4_4_)" ( identifier , identifier , identifier , identifier , (cast_expression "(undefined4)addend" ( (type_descriptor "undefined4" type_identifier) ) identifier) , (field_expression "addend._4_4_" identifier . field_identifier) ))) ;) (expression_statement "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b])\n              (rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_);" (call_expression "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b])\n              (rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_)" (parenthesized_expression "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b])" ( (pointer_expression "*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b]" * (subscript_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data[0x1b]" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n      _vptr_Output_data" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data" (parenthesized_expression "(rel_dyn->super_Output_section_data_build)" ( (field_expression "rel_dyn->super_Output_section_data_build" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) )) (argument_list "(rel_dyn,object,symndx,r_type,this,uVar2,0,(undefined4)addend,addend._4_4_)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal , (cast_expression "(undefined4)addend" ( (type_descriptor "undefined4" type_identifier) ) identifier) , (field_expression "addend._4_4_" identifier . field_identifier) ))) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);" (assignment_expression "cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8)" identifier = (call_expression "(**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_2 + 0xac))" ( (pointer_expression "**(code **)(*param_2 + 0xac)" * (pointer_expression "*(code **)(*param_2 + 0xac)" * (cast_expression "(code **)(*param_2 + 0xac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xac)" ( (binary_expression "*param_2 + 0xac" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_3,param_4,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }" { (expression_statement "uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);" (assignment_expression "uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0)" identifier = (call_expression "FUN_002e5460(param_1,0,0,0x7ffffffd,0,0)" identifier (argument_list "(param_1,0,0,0x7ffffffd,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);" (call_expression "(**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_2 + 0xb4))" ( (pointer_expression "**(code **)(*param_2 + 0xb4)" * (pointer_expression "*(code **)(*param_2 + 0xb4)" * (cast_expression "(code **)(*param_2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xb4)" ( (binary_expression "*param_2 + 0xb4" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_3,param_4,uVar2,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);" (call_expression "(**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_5 + 0x6c))" ( (pointer_expression "**(code **)(*param_5 + 0x6c)" * (pointer_expression "*(code **)(*param_5 + 0x6c)" * (cast_expression "(code **)(*param_5 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x6c)" ( (binary_expression "*param_5 + 0x6c" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , LIT , IDENT , IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002e5e00(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)" (identifier "FUN_002e5e00") (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5\n                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  \n  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);\n  if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);" (assignment_expression "cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8)" (identifier "cVar1") (= "=") (call_expression "(**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_2 + 0xac))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xac)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xac)" (* "*") (cast_expression "(code **)(*param_2 + 0xac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xac)" (( "(") (binary_expression "*param_2 + 0xac" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xac")) () ")"))))) () ")")) (argument_list "(param_2,param_3,param_4,param_7,param_8)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_7") (, ",") (identifier "param_8") () ")")))) (; ";")) (if_statement "if (cVar1 == '\0') {\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);\n    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);\n    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);\n  }" ({ "{") (expression_statement "uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);" (assignment_expression "uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0)" (identifier "uVar2") (= "=") (call_expression "FUN_002e5460(param_1,0,0,0x7ffffffd,0,0)" (identifier "FUN_002e5460") (argument_list "(param_1,0,0,0x7ffffffd,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x7ffffffd") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);" (call_expression "(**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_2 + 0xb4))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xb4)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xb4)" (* "*") (cast_expression "(code **)(*param_2 + 0xb4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xb4)" (( "(") (binary_expression "*param_2 + 0xb4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xb4")) () ")"))))) () ")")) (argument_list "(param_2,param_3,param_4,uVar2,param_7,param_8)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "uVar2") (, ",") (identifier "param_7") (, ",") (identifier "param_8") () ")"))) (; ";")) (expression_statement "(**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);" (call_expression "(**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8)" (parenthesized_expression "(**(code **)(*param_5 + 0x6c))" (( "(") (pointer_expression "**(code **)(*param_5 + 0x6c)" (* "*") (pointer_expression "*(code **)(*param_5 + 0x6c)" (* "*") (cast_expression "(code **)(*param_5 + 0x6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_5 + 0x6c)" (( "(") (binary_expression "*param_5 + 0x6c" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (+ "+") (number_literal "0x6c")) () ")"))))) () ")")) (argument_list "(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8)" (( "(") (identifier "param_5") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_6") (, ",") (identifier "param_1") (, ",") (identifier "uVar2") (, ",") (number_literal "0") (, ",") (identifier "param_7") (, ",") (identifier "param_8") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void add_local_with_rel(Output_data_got<64,_false> * this, Relobj *
   object, uint symndx, uint got_type, Output_data_reloc_generic * rel_dyn, uint r_type, uint64_t
   addend) */

void __thiscall
gold::Output_data_got<64,_false>::add_local_with_rel
          (Output_data_got<64,_false> *this,Relobj *object,type_1 symndx,type_1 got_type,
          Output_data_reloc_generic *rel_dyn,type_1 r_type,uint64_t addend)

{
  Got_entry got_entry;
  int iVar1;
  type_1 uVar2;
  
  iVar1 = (*(object->super_Object)._vptr_Object[0x2b])
                    (object,symndx,got_type,(type_2)addend,addend._4_4_);
  if ((char)iVar1 == '\0') {
    got_entry.addend_ = 0;
    got_entry._0_12_ = var_1(0x7ffffffd) << 0x40;
    uVar2 = var_2(this,got_entry);
    (*(object->super_Object)._vptr_Object[0x2d])
              (object,symndx,got_type,uVar2,(type_2)addend,addend._4_4_);
    (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.
      _vptr_Output_data[0x1b])
              (rel_dyn,object,symndx,r_type,this,uVar2,0,(type_2)addend,addend._4_4_);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) 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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal) (number_literal) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (number_literal) (identifier) (identifier)))))) (return_statement))))

void MASKED(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,int *param_5
                 ,undefined4 param_6,undefined4 param_7,undefined4 param_8)

{
  char cVar1;
  undefined4 uVar2;
  
  cVar1 = (**(code **)(*param_2 + 0xac))(param_2,param_3,param_4,param_7,param_8);
  if (cVar1 == '\0') {
    uVar2 = FUN_002e5460(param_1,0,0,0x7ffffffd,0,0);
    (**(code **)(*param_2 + 0xb4))(param_2,param_3,param_4,uVar2,param_7,param_8);
    (**(code **)(*param_5 + 0x6c))(param_5,param_2,param_3,param_6,param_1,uVar2,0,param_7,param_8);
  }
  return;
}

