
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void emit_relocs_scan(Sized_relobj_file<32,_true> * this, Symbol_table
   * symtab, Layout * layout, uchar * plocal_syms, iterator * p) */

void __thiscall
gold::Sized_relobj_file<32,_true>::emit_relocs_scan
          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,
          iterator *p)

{
  uint uVar1;
  Target *pTVar2;
  Relocatable_relocs *this_00;
  Section_relocs *pSVar3;
  
  pTVar2 = parameters->target_;
  if (pTVar2 == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");
  }
  uVar1 = p->_M_current->reloc_shndx;
  if (uVar1 < (this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_) {
    this_00 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->
              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>
              )._M_impl._M_start[uVar1];
    if (this_00 != (Relocatable_relocs *)0x0) {
      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve
                (&this_00->reloc_strategies_,p->_M_current->reloc_count);
      pSVar3 = p->_M_current;
      (**(code **)(*(long *)pTVar2 + 0x180))
                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,
                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,
                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00
                );
      return;
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/reloc.cc",0x206,"emit_relocs_scan");
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x549,"relocatable_relocs");
}



void FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
                 long *param_5)

{
  uint uVar1;
  long *plVar2;
  long lVar3;
  long lVar4;
  
  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);
  if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");
  }
  uVar1 = *(uint *)*param_5;
  if (uVar1 < *(uint *)(param_1 + 0x38)) {
    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);
    if (lVar3 != 0) {
      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));
      lVar4 = *param_5;
      (**(code **)(*plVar2 + 0x180))
                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),
                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),
                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),
                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [0x0043e6b0]
MOV RBP,qword ptr [RAX + 0x18]
TEST RBP,RBP
JZ 0x002463d3
MOV R13,RDX
MOV RDX,qword ptr [R8]
MOV RBX,RDI
MOV R15,R8
MOV EAX,dword ptr [RDX]
CMP EAX,dword ptr [RDI + 0x38]
JNC 0x00246403
MOV R12,RSI
MOV RSI,qword ptr [RDI + 0x68]
MOV RSI,qword ptr [RSI]
MOV R14,qword ptr [RSI + RAX*0x8]
TEST R14,R14
JZ 0x002463eb
MOV RSI,qword ptr [RDX + 0x18]
MOV RDI,R14
MOV qword ptr [RSP + 0x8],RCX
CALL 0x00245b40
MOV RAX,qword ptr [R15]
SUB RSP,0x8
MOV R10,qword ptr [RBP]
MOV RSI,R12
MOV RDI,RBP
MOV R9D,dword ptr [RAX + 0x10]
MOV R8D,dword ptr [RAX + 0x4]
PUSH R14
MOV RCX,qword ptr [RSP + 0x18]
PUSH RCX
MOV EDX,dword ptr [RBX + 0x120]
MOV RCX,RBX
PUSH RDX
MOVZX EDX,byte ptr [RAX + 0x28]
PUSH RDX
MOV RDX,R13
PUSH qword ptr [RAX + 0x20]
PUSH qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RAX + 0x8]
PUSH qword ptr [RAX + 0x10]
CALL qword ptr [R10 + 0x180]
ADD RSP,0x58
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
LEA RDX,[0x383fe8]
MOV ESI,0x73
LEA RDI,[0x3726d0]
CALL 0x0017c650
LEA RDX,[0x383f10]
MOV ESI,0x206
LEA RDI,[0x38329c]
CALL 0x0017c650
LEA RDX,[0x383f40]
MOV ESI,0x549
LEA RDI,[0x36b016]
CALL 0x0017c650
(translation_unit "void FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)\n\n{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}\n\n" (function_definition "void FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)\n\n{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}" primitive_type (function_declarator "FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "long *param_5" (sized_type_specifier "long" long) (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);" (assignment_expression "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18)" identifier = (pointer_expression "*(long **)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long **)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }" if (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x73,"sized_target")" identifier (argument_list "("../../gold/parameters.h",0x73,"sized_target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""sized_target"" " string_content ") ))) ;) })) (expression_statement "uVar1 = *(uint *)*param_5;" (assignment_expression "uVar1 = *(uint *)*param_5" identifier = (pointer_expression "*(uint *)*param_5" * (cast_expression "(uint *)*param_5" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_5" * identifier)))) ;) (if_statement "if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" if (parenthesized_expression "(uVar1 < *(uint *)(param_1 + 0x38))" ( (binary_expression "uVar1 < *(uint *)(param_1 + 0x38)" identifier < (pointer_expression "*(uint *)(param_1 + 0x38)" * (cast_expression "(uint *)(param_1 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" { (expression_statement "lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);" (assignment_expression "lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" identifier = (pointer_expression "*(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" * (cast_expression "(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" ( (binary_expression "**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8" (pointer_expression "**(long **)(param_1 + 0x68)" * (pointer_expression "*(long **)(param_1 + 0x68)" * (cast_expression "(long **)(param_1 + 0x68)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) + (binary_expression "(ulong)uVar1 * 8" (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }" { (expression_statement "FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));" (call_expression "FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6))" identifier (argument_list "(lVar3,*(undefined8 *)((uint *)*param_5 + 6))" ( identifier , (pointer_expression "*(undefined8 *)((uint *)*param_5 + 6)" * (cast_expression "(undefined8 *)((uint *)*param_5 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint *)*param_5 + 6)" ( (binary_expression "(uint *)*param_5 + 6" (cast_expression "(uint *)*param_5" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_5" * identifier)) + number_literal) )))) ))) ;) (expression_statement "lVar4 = *param_5;" (assignment_expression "lVar4 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "(**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);" (call_expression "(**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3)" (parenthesized_expression "(**(code **)(*plVar2 + 0x180))" ( (pointer_expression "**(code **)(*plVar2 + 0x180)" * (pointer_expression "*(code **)(*plVar2 + 0x180)" * (cast_expression "(code **)(*plVar2 + 0x180)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x180)" ( (binary_expression "*plVar2 + 0x180" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3)" ( identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(lVar4 + 4)" * (cast_expression "(undefined4 *)(lVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 4)" ( (binary_expression "lVar4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(lVar4 + 0x10)" * (cast_expression "(undefined4 *)(lVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x10)" ( (binary_expression "lVar4 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10)" * (cast_expression "(undefined8 *)(*(long *)(lVar4 + 8) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar4 + 8) + 0x10)" ( (binary_expression "*(long *)(lVar4 + 8) + 0x10" (pointer_expression "*(long *)(lVar4 + 8)" * (cast_expression "(long *)(lVar4 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 8)" ( (binary_expression "lVar4 + 8" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "*(undefined8 *)(lVar4 + 0x18)" * (cast_expression "(undefined8 *)(lVar4 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(lVar4 + 0x20)" * (cast_expression "(undefined8 *)(lVar4 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)(lVar4 + 0x28)" * (cast_expression "(undefined1 *)(lVar4 + 0x28)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x120)" * (cast_expression "(undefined4 *)(param_1 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");" (call_expression "FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan")" identifier (argument_list "("../../gold/reloc.cc",0x206,"emit_relocs_scan")" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""emit_relocs_scan"" " string_content ") ))) ;) })) comment (expression_statement "FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");" (call_expression "FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs")" identifier (argument_list "("../../gold/object.h",0x549,"relocatable_relocs")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""relocatable_relocs"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void emit_relocs_scan(Sized_relobj_file<32,_true> * this, Symbol_table\n   * symtab, Layout * layout, uchar * plocal_syms, iterator * p) */\n\nvoid __thiscall\ngold::Sized_relobj_file<32,_true>::emit_relocs_scan\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,\n          iterator *p)\n\n{\n  uint uVar1;\n  Target *pTVar2;\n  Relocatable_relocs *this_00;\n  Section_relocs *pSVar3;\n  \n  pTVar2 = parameters->target_;\n  if (pTVar2 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = p->_M_current->reloc_shndx;\n  if (uVar1 < (this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_) {\n    this_00 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start[uVar1];\n    if (this_00 != (Relocatable_relocs *)0x0) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);\n      pSVar3 = p->_M_current;\n      (**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                );\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x549,"relocatable_relocs");\n}\n\n" comment comment (declaration "void __thiscall\ngold::Sized_relobj_file<32,_true>::emit_relocs_scan\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,\n          iterator *p)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::emit_relocs_scan\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,\n          iterator *p)\n\n{\n  uint" identifier > : : (function_declarator "emit_relocs_scan\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,\n          iterator *p)" identifier (parameter_list "(Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,\n          iterator *p)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "uchar *plocal_syms" type_identifier (pointer_declarator "*plocal_syms" * identifier)) , (parameter_declaration "iterator *p" type_identifier (pointer_declarator "*p" * identifier)) ))) { identifier) identifier ;) (declaration "Target *pTVar2;" type_identifier (pointer_declarator "*pTVar2" * identifier) ;) (declaration "Relocatable_relocs *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Section_relocs *pSVar3;" type_identifier (pointer_declarator "*pSVar3" * identifier) ;) (expression_statement "pTVar2 = parameters->target_;" (assignment_expression "pTVar2 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) ;) (if_statement "if (pTVar2 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");\n  }" if (parenthesized_expression "(pTVar2 == (Target *)0x0)" ( (binary_expression "pTVar2 == (Target *)0x0" identifier == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target")" identifier (argument_list "("../../gold/parameters.h",0x73,"sized_target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""sized_target"" " string_content ") ))) ;) })) (expression_statement "uVar1 = p->_M_current->reloc_shndx;" (assignment_expression "uVar1 = p->_M_current->reloc_shndx" identifier = (field_expression "p->_M_current->reloc_shndx" (field_expression "p->_M_current" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (uVar1 < (this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_) {\n    this_00 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start[uVar1];\n    if (this_00 != (Relocatable_relocs *)0x0) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);\n      pSVar3 = p->_M_current;\n      (**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                );\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" if (parenthesized_expression "(uVar1 < (this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_)" ( (binary_expression "uVar1 < (this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_" identifier < (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_true>)" ( (comma_expression "this->super_Sized_relobj<32,_true" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier)) )) (compound_statement "{\n    this_00 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start[uVar1];\n    if (this_00 != (Relocatable_relocs *)0x0) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);\n      pSVar3 = p->_M_current;\n      (**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                );\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" { (expression_statement "this_00 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start[uVar1];" (assignment_expression "this_00 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start[uVar1]" identifier = (subscript_expression "(((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start[uVar1]" (field_expression "(((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl._M_start" (field_expression "(((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )._M_impl" (parenthesized_expression "(((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n              )" ( (binary_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>" (binary_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_" (binary_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold" (binary_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base<gold" (field_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->\n              super__Vector_base" (parenthesized_expression "((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)" ( (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_true>)" ( (comma_expression "this->super_Sized_relobj<32,_true" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) )) -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) [ identifier ])) ;) (if_statement "if (this_00 != (Relocatable_relocs *)0x0) {\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);\n      pSVar3 = p->_M_current;\n      (**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                );\n      return;\n    }" if (parenthesized_expression "(this_00 != (Relocatable_relocs *)0x0)" ( (binary_expression "this_00 != (Relocatable_relocs *)0x0" identifier != (cast_expression "(Relocatable_relocs *)0x0" ( (type_descriptor "Relocatable_relocs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);\n      pSVar3 = p->_M_current;\n      (**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                );\n      return;\n    }" { (labeled_statement "std::vector<unsigned_char,_std::allocator<unsigned_char>_>::reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);" statement_identifier (ERROR "::vector<unsigned_char,_std::allocator<unsigned_char>_>:" : : (comma_expression "vector<unsigned_char,_std" (binary_expression "vector<unsigned_char" identifier < identifier) , identifier) : : (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > :) : (expression_statement "reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count);" (call_expression "reserve\n                (&this_00->reloc_strategies_,p->_M_current->reloc_count)" identifier (argument_list "(&this_00->reloc_strategies_,p->_M_current->reloc_count)" ( (pointer_expression "&this_00->reloc_strategies_" & (field_expression "this_00->reloc_strategies_" identifier -> field_identifier)) , (field_expression "p->_M_current->reloc_count" (field_expression "p->_M_current" identifier -> field_identifier) -> field_identifier) ))) ;)) (expression_statement "pSVar3 = p->_M_current;" (assignment_expression "pSVar3 = p->_M_current" identifier = (field_expression "p->_M_current" identifier -> field_identifier)) ;) (expression_statement "(**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                );" (call_expression "(**(code **)(*(long *)pTVar2 + 0x180))\n                (pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                )" (parenthesized_expression "(**(code **)(*(long *)pTVar2 + 0x180))" ( (pointer_expression "**(code **)(*(long *)pTVar2 + 0x180)" * (pointer_expression "*(code **)(*(long *)pTVar2 + 0x180)" * (cast_expression "(code **)(*(long *)pTVar2 + 0x180)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)pTVar2 + 0x180)" ( (binary_expression "*(long *)pTVar2 + 0x180" (pointer_expression "*(long *)pTVar2" * (cast_expression "(long *)pTVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pTVar2,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,\n                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,\n                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,this_00\n                )" ( identifier , identifier , identifier , identifier , (field_expression "pSVar3->data_shndx" identifier -> field_identifier) , (field_expression "pSVar3->sh_type" identifier -> field_identifier) , (field_expression "pSVar3->contents->data_" (field_expression "pSVar3->contents" identifier -> field_identifier) -> field_identifier) , (field_expression "pSVar3->reloc_count" identifier -> field_identifier) , (field_expression "pSVar3->output_section" identifier -> field_identifier) , (field_expression "pSVar3->needs_special_offset_handling" identifier -> field_identifier) , (field_expression "this->local_symbol_count_" identifier -> field_identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/reloc.cc",0x206,"emit_relocs_scan");" (call_expression "do_gold_unreachable("../../gold/reloc.cc",0x206,"emit_relocs_scan")" identifier (argument_list "("../../gold/reloc.cc",0x206,"emit_relocs_scan")" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""emit_relocs_scan"" " string_content ") ))) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x549,"relocatable_relocs");" (call_expression "do_gold_unreachable("../../gold/object.h",0x549,"relocatable_relocs")" identifier (argument_list "("../../gold/object.h",0x549,"relocatable_relocs")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""relocatable_relocs"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)\n\n{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}\n\n" (function_definition "void FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)\n\n{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}" primitive_type (function_declarator "FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "long *param_5" (sized_type_specifier "long" long) (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);" (assignment_expression "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18)" identifier = (pointer_expression "*(long **)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long **)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }" if (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }" { (expression_statement "FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x73,"sized_target")" identifier (argument_list "("../../gold/parameters.h",0x73,"sized_target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""sized_target"" " string_content ") ))) ;) })) (expression_statement "uVar1 = *(uint *)*param_5;" (assignment_expression "uVar1 = *(uint *)*param_5" identifier = (pointer_expression "*(uint *)*param_5" * (cast_expression "(uint *)*param_5" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_5" * identifier)))) ;) (if_statement "if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" if (parenthesized_expression "(uVar1 < *(uint *)(param_1 + 0x38))" ( (binary_expression "uVar1 < *(uint *)(param_1 + 0x38)" identifier < (pointer_expression "*(uint *)(param_1 + 0x38)" * (cast_expression "(uint *)(param_1 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" { (expression_statement "lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);" (assignment_expression "lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" identifier = (pointer_expression "*(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" * (cast_expression "(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" ( (binary_expression "**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8" (pointer_expression "**(long **)(param_1 + 0x68)" * (pointer_expression "*(long **)(param_1 + 0x68)" * (cast_expression "(long **)(param_1 + 0x68)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) + (binary_expression "(ulong)uVar1 * 8" (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }" { (expression_statement "FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));" (call_expression "FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6))" identifier (argument_list "(lVar3,*(undefined8 *)((uint *)*param_5 + 6))" ( identifier , (pointer_expression "*(undefined8 *)((uint *)*param_5 + 6)" * (cast_expression "(undefined8 *)((uint *)*param_5 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint *)*param_5 + 6)" ( (binary_expression "(uint *)*param_5 + 6" (cast_expression "(uint *)*param_5" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_5" * identifier)) + number_literal) )))) ))) ;) (expression_statement "lVar4 = *param_5;" (assignment_expression "lVar4 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "(**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);" (call_expression "(**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3)" (parenthesized_expression "(**(code **)(*plVar2 + 0x180))" ( (pointer_expression "**(code **)(*plVar2 + 0x180)" * (pointer_expression "*(code **)(*plVar2 + 0x180)" * (cast_expression "(code **)(*plVar2 + 0x180)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x180)" ( (binary_expression "*plVar2 + 0x180" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3)" ( identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(lVar4 + 4)" * (cast_expression "(undefined4 *)(lVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 4)" ( (binary_expression "lVar4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(lVar4 + 0x10)" * (cast_expression "(undefined4 *)(lVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x10)" ( (binary_expression "lVar4 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10)" * (cast_expression "(undefined8 *)(*(long *)(lVar4 + 8) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar4 + 8) + 0x10)" ( (binary_expression "*(long *)(lVar4 + 8) + 0x10" (pointer_expression "*(long *)(lVar4 + 8)" * (cast_expression "(long *)(lVar4 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 8)" ( (binary_expression "lVar4 + 8" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "*(undefined8 *)(lVar4 + 0x18)" * (cast_expression "(undefined8 *)(lVar4 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(lVar4 + 0x20)" * (cast_expression "(undefined8 *)(lVar4 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)(lVar4 + 0x28)" * (cast_expression "(undefined1 *)(lVar4 + 0x28)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x120)" * (cast_expression "(undefined4 *)(param_1 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");" (call_expression "FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan")" identifier (argument_list "("../../gold/reloc.cc",0x206,"emit_relocs_scan")" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""emit_relocs_scan"" " string_content ") ))) ;) })) (expression_statement "FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");" (call_expression "FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs")" identifier (argument_list "("../../gold/object.h",0x549,"relocatable_relocs")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""relocatable_relocs"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)\n\n{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}" (primitive_type "void") (function_declarator "FUN_00246320(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)" (identifier "FUN_00246320") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 long *param_5)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (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 "long *param_5" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  long lVar3;\n  long lVar4;\n  \n  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n  if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }\n  uVar1 = *(uint *)*param_5;\n  if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (expression_statement "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);" (assignment_expression "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(PTR_DAT_0043e6b0 + 0x18)" (* "*") (cast_expression "(long **)(PTR_DAT_0043e6b0 + 0x18)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x18" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (plVar2 == (long *)0x0) {\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }" (if "if") (parenthesized_expression "(plVar2 == (long *)0x0)" (( "(") (binary_expression "plVar2 == (long *)0x0" (identifier "plVar2") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x73,"sized_target")" (identifier "FUN_0017c650") (argument_list "("../../gold/parameters.h",0x73,"sized_target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x73") (, ",") (string_literal ""sized_target"" (" """) (string_content "sized_target") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)*param_5;" (assignment_expression "uVar1 = *(uint *)*param_5" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)*param_5" (* "*") (cast_expression "(uint *)*param_5" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_5" (* "*") (identifier "param_5"))))) (; ";")) (if_statement "if (uVar1 < *(uint *)(param_1 + 0x38)) {\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" (if "if") (parenthesized_expression "(uVar1 < *(uint *)(param_1 + 0x38))" (( "(") (binary_expression "uVar1 < *(uint *)(param_1 + 0x38)" (identifier "uVar1") (< "<") (pointer_expression "*(uint *)(param_1 + 0x38)" (* "*") (cast_expression "(uint *)(param_1 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (compound_statement "{\n    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);\n    if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");\n  }" ({ "{") (expression_statement "lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);" (assignment_expression "lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" (* "*") (cast_expression "(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8)" (( "(") (binary_expression "**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8" (pointer_expression "**(long **)(param_1 + 0x68)" (* "*") (pointer_expression "*(long **)(param_1 + 0x68)" (* "*") (cast_expression "(long **)(param_1 + 0x68)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) (+ "+") (binary_expression "(ulong)uVar1 * 8" (cast_expression "(ulong)uVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar1")) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (lVar3 != 0) {\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));\n      lVar4 = *param_5;\n      (**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);\n      return;\n    }" ({ "{") (expression_statement "FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));" (call_expression "FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6))" (identifier "FUN_00245b40") (argument_list "(lVar3,*(undefined8 *)((uint *)*param_5 + 6))" (( "(") (identifier "lVar3") (, ",") (pointer_expression "*(undefined8 *)((uint *)*param_5 + 6)" (* "*") (cast_expression "(undefined8 *)((uint *)*param_5 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint *)*param_5 + 6)" (( "(") (binary_expression "(uint *)*param_5 + 6" (cast_expression "(uint *)*param_5" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (+ "+") (number_literal "6")) () ")")))) () ")"))) (; ";")) (expression_statement "lVar4 = *param_5;" (assignment_expression "lVar4 = *param_5" (identifier "lVar4") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "(**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);" (call_expression "(**(code **)(*plVar2 + 0x180))\n                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3)" (parenthesized_expression "(**(code **)(*plVar2 + 0x180))" (( "(") (pointer_expression "**(code **)(*plVar2 + 0x180)" (* "*") (pointer_expression "*(code **)(*plVar2 + 0x180)" (* "*") (cast_expression "(code **)(*plVar2 + 0x180)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 0x180)" (( "(") (binary_expression "*plVar2 + 0x180" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x180")) () ")"))))) () ")")) (argument_list "(plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),\n                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),\n                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),\n                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3)" (( "(") (identifier "plVar2") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(lVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(lVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 4)" (( "(") (binary_expression "lVar4 + 4" (identifier "lVar4") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(lVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(lVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x10)" (( "(") (binary_expression "lVar4 + 0x10" (identifier "lVar4") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10)" (* "*") (cast_expression "(undefined8 *)(*(long *)(lVar4 + 8) + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar4 + 8) + 0x10)" (( "(") (binary_expression "*(long *)(lVar4 + 8) + 0x10" (pointer_expression "*(long *)(lVar4 + 8)" (* "*") (cast_expression "(long *)(lVar4 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 8)" (( "(") (binary_expression "lVar4 + 8" (identifier "lVar4") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(lVar4 + 0x18)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x18)" (( "(") (binary_expression "lVar4 + 0x18" (identifier "lVar4") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(lVar4 + 0x20)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(lVar4 + 0x28)" (* "*") (cast_expression "(undefined1 *)(lVar4 + 0x28)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x28)" (( "(") (binary_expression "lVar4 + 0x28" (identifier "lVar4") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x120)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x120)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")")))) (, ",") (identifier "param_4") (, ",") (identifier "lVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");" (call_expression "FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan")" (identifier "FUN_0017c650") (argument_list "("../../gold/reloc.cc",0x206,"emit_relocs_scan")" (( "(") (string_literal ""../../gold/reloc.cc"" (" """) (string_content "../../gold/reloc.cc") (" """)) (, ",") (number_literal "0x206") (, ",") (string_literal ""emit_relocs_scan"" (" """) (string_content "emit_relocs_scan") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");" (call_expression "FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x549,"relocatable_relocs")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x549") (, ",") (string_literal ""relocatable_relocs"" (" """) (string_content "relocatable_relocs") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void emit_relocs_scan(Sized_relobj_file<32,_true> * this, Symbol_table
   * symtab, Layout * layout, uchar * plocal_syms, iterator * p) */

void __thiscall
var_4::Sized_relobj_file<32,_true>::emit_relocs_scan
          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,uchar *plocal_syms,
          iterator *p)

{
  uint var_3;
  type_1 *var_1;
  type_2 *var_8;
  type_3 *pSVar3;
  
  var_1 = parameters->target_;
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/parameters.h",0x73,"sized_target");
  }
  var_3 = p->_M_current->reloc_shndx;
  if (var_3 < (this->super_Sized_relobj<32,_true>).super_Relobj.super_Object.shnum_) {
    var_8 = (((this->super_Sized_relobj<32,_true>).super_Relobj.map_to_relocatable_relocs_)->
              super__Vector_base<var_4::type_2*,var_5::allocator<var_4::type_2*>var_6>var_7
              )._M_impl._M_start[var_3];
    if (var_8 != (type_2 *)0x0) {
      std::vector<unsigned_char,var_5::allocator<unsigned_char>var_6>::var_9
                (&var_8->reloc_strategies_,p->_M_current->reloc_count);
      pSVar3 = p->_M_current;
      (**(type_4 **)(*(long *)var_1 + 0x180))
                (var_1,symtab,layout,this,pSVar3->data_shndx,pSVar3->sh_type,
                 pSVar3->contents->data_,pSVar3->reloc_count,pSVar3->output_section,
                 pSVar3->needs_special_offset_handling,this->local_symbol_count_,plocal_syms,var_8
                );
      return;
    }
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/reloc.cc",0x206,"emit_relocs_scan");
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/object.h",0x549,"relocatable_relocs");
}


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

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

{
  uint uVar1;
  long *plVar2;
  long lVar3;
  long lVar4;
  
  plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);
  if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/parameters.h",0x73,"sized_target");
  }
  uVar1 = *(uint *)*param_5;
  if (uVar1 < *(uint *)(param_1 + 0x38)) {
    lVar3 = *(long *)(**(long **)(param_1 + 0x68) + (ulong)uVar1 * 8);
    if (lVar3 != 0) {
      FUN_00245b40(lVar3,*(undefined8 *)((uint *)*param_5 + 6));
      lVar4 = *param_5;
      (**(code **)(*plVar2 + 0x180))
                (plVar2,param_2,param_3,param_1,*(undefined4 *)(lVar4 + 4),
                 *(undefined4 *)(lVar4 + 0x10),*(undefined8 *)(*(long *)(lVar4 + 8) + 0x10),
                 *(undefined8 *)(lVar4 + 0x18),*(undefined8 *)(lVar4 + 0x20),
                 *(undefined1 *)(lVar4 + 0x28),*(undefined4 *)(param_1 + 0x120),param_4,lVar3);
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/reloc.cc",0x206,"emit_relocs_scan");
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.h",0x549,"relocatable_relocs");
}

