
/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<64,_false> * this, uint
   sym, Address * value, bool * is_ordinary) */

uint __thiscall
gold::Sized_relobj_file<64,_false>::symbol_section_and_value
          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)

{
  ushort uVar1;
  _func_int_varargs *p_Var2;
  Input_file *pIVar3;
  uint uVar4;
  int iVar5;
  undefined4 extraout_var;
  undefined4 extraout_var_00;
  uchar *puVar6;
  Location LVar7;
  section_size_type symbols_size;
  Xindex *this_00;
  
  p_Var2 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];
  if (p_Var2 == do_section_contents) {
    LVar7 = elfcpp::Elf_file<64,_false,_gold::Object>::section_contents
                      (&this->elf_file_,this->symtab_shndx_);
    symbols_size = LVar7.data_size;
    puVar6 = (uchar *)((long)&Sized_relobj_file<32,true>::
                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2);
    if (symbols_size != 0) {
      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;
      if (pIVar3 == (Input_file *)0x0) {
                    /* WARNING: Subroutine does not return */
        Object::input_file((Object *)0x0);
      }
      puVar6 = File_read::get_view(&pIVar3->file_,
                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.
                                   offset_,LVar7.file_offset,symbols_size,true,false);
    }
  }
  else {
    iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0);
    puVar6 = (uchar *)CONCAT44(extraout_var,iVar5);
  }
  if ((ulong)sym < symbols_size / 0x18) {
    uVar1 = *(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6);
    uVar4 = (uint)uVar1;
    *value = *(Address *)(puVar6 + (ulong)(sym * 0x18) + 8);
    if (0xfeff < uVar1) {
      if (uVar1 != 0xffff) {
        *is_ordinary = false;
        return (uint)uVar1;
      }
      this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;
      if (this_00 == (Xindex *)0x0) {
        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]
                )(this);
        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);
        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;
      }
      uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);
    }
    *is_ordinary = true;
    return uVar4;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");
}



void FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)

{
  ushort uVar1;
  long lVar2;
  undefined1 auVar3 [16];
  ulong local_30 [2];
  
  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {
    auVar3 = FUN_001c56b0(param_1 + 0x1f);
    local_30[0] = auVar3._8_8_;
    lVar2 = 0x3df50f;
    if (local_30[0] != 0) {
      if (param_1[5] == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00229d50();
      }
      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);
    }
  }
  else {
    lVar2 = (**(code **)(*param_1 + 0x70))
                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);
  }
  if ((ulong)param_2 < local_30[0] / 0x18) {
    lVar2 = (ulong)(param_2 * 0x18) + lVar2;
    uVar1 = *(ushort *)(lVar2 + 6);
    *param_3 = *(undefined8 *)(lVar2 + 8);
    if (0xfeff < uVar1) {
      if (uVar1 != 0xffff) {
        *param_4 = 0;
        return;
      }
      lVar2 = param_1[8];
      if (lVar2 == 0) {
        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);
        param_1[8] = lVar2;
      }
      FUN_0022a020(lVar2,param_1,param_2);
    }
    *param_4 = 1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");
}


PUSH R13
MOV R13D,ESI
PUSH R12
MOV R12,RDI
PUSH RBP
MOV RBP,RCX
PUSH RBX
MOV RBX,RDX
LEA RDX,[0x1c5750]
SUB RSP,0x18
MOV RAX,qword ptr [RDI]
MOV ESI,dword ptr [RDI + 0x11c]
MOV RAX,qword ptr [RAX + 0x70]
CMP RAX,RDX
JNZ 0x00235e80
LEA RDI,[RDI + 0xf8]
CALL 0x001c56b0
LEA RSI,[0x3df50f]
MOV qword ptr [RSP + 0x8],RDX
TEST RDX,RDX
JNZ 0x00235e40
MOV RCX,-0x5555555555555555
MOV RAX,RDX
MOV EDI,R13D
MUL RCX
SHR RDX,0x4
CMP RDI,RDX
JNC 0x00235ed7
LEA EAX,[R13 + R13*0x2]
SHL EAX,0x3
ADD RAX,RSI
MOV RDX,qword ptr [RAX + 0x8]
MOVZX EAX,word ptr [RAX + 0x6]
MOV qword ptr [RBX],RDX
CMP EAX,0xfeff
JA 0x00235e20
MOV byte ptr [RBP],0x1
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
CMP EAX,0xffff
JZ 0x00235ea0
MOV byte ptr [RBP],0x0
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RDI,qword ptr [R12 + 0x28]
TEST RDI,RDI
JZ 0x00235eef
MOV RSI,qword ptr [R12 + 0x30]
MOV RCX,RDX
ADD RDI,0x28
MOV RDX,RAX
XOR R9D,R9D
MOV R8D,0x1
CALL 0x001e43a0
MOV RDX,qword ptr [RSP + 0x8]
MOV RSI,RAX
JMP 0x00235dd0
LEA RDX,[RSP + 0x8]
XOR ECX,ECX
CALL RAX
MOV RDX,qword ptr [RSP + 0x8]
MOV RSI,RAX
JMP 0x00235dd0
MOV RDI,qword ptr [R12 + 0x40]
TEST RDI,RDI
JZ 0x00235ec0
MOV EDX,R13D
MOV RSI,R12
CALL 0x0022a020
JMP 0x00235e0d
MOV RAX,qword ptr [R12]
MOV RDI,R12
CALL qword ptr [RAX + 0xd8]
MOV RDI,RAX
MOV qword ptr [R12 + 0x40],RAX
JMP 0x00235eaa
LEA RDX,[0x3e7cc0]
MOV ESI,0x3af
LEA RDI,[0x3e6f18]
CALL 0x001e9890
CALL 0x00229d50
(translation_unit "void FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)\n\n{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}\n\n" (function_definition "void FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)\n\n{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}" primitive_type (function_declarator "FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)" identifier (parameter_list "(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auVar3 [16];" type_identifier (array_declarator "auVar3 [16]" identifier [ number_literal ]) ;) (declaration "ulong local_30 [2];" type_identifier (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (if_statement "if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x70) == FUN_001c5750)" ( (binary_expression "*(code **)(*param_1 + 0x70) == FUN_001c5750" (pointer_expression "*(code **)(*param_1 + 0x70)" * (cast_expression "(code **)(*param_1 + 0x70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x70)" ( (binary_expression "*param_1 + 0x70" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }" { (expression_statement "auVar3 = FUN_001c56b0(param_1 + 0x1f);" (assignment_expression "auVar3 = FUN_001c56b0(param_1 + 0x1f)" identifier = (call_expression "FUN_001c56b0(param_1 + 0x1f)" identifier (argument_list "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) ;) (expression_statement "local_30[0] = auVar3._8_8_;" (assignment_expression "local_30[0] = auVar3._8_8_" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (field_expression "auVar3._8_8_" identifier . field_identifier)) ;) (expression_statement "lVar2 = 0x3df50f;" (assignment_expression "lVar2 = 0x3df50f" identifier = number_literal) ;) (if_statement "if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }" if (parenthesized_expression "(local_30[0] != 0)" ( (binary_expression "local_30[0] != 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }" { (if_statement "if (param_1[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }" if (parenthesized_expression "(param_1[5] == 0)" ( (binary_expression "param_1[5] == 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00229d50();\n      }" { comment (expression_statement "FUN_00229d50();" (call_expression "FUN_00229d50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);" (assignment_expression "lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" identifier = (call_expression "FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" identifier (argument_list "(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" ( (binary_expression "param_1[5] + 0x28" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[6]" identifier [ number_literal ]) , (field_expression "auVar3._0_8_" identifier . field_identifier) , (subscript_expression "local_30[0]" identifier [ number_literal ]) , number_literal , number_literal )))) ;) })) }) (else_clause "else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" else (compound_statement "{\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" { (expression_statement "lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);" (assignment_expression "lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" identifier = (call_expression "(**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" (parenthesized_expression "(**(code **)(*param_1 + 0x70))" ( (pointer_expression "**(code **)(*param_1 + 0x70)" * (pointer_expression "*(code **)(*param_1 + 0x70)" * (cast_expression "(code **)(*param_1 + 0x70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x70)" ( (binary_expression "*param_1 + 0x70" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" ( identifier , (pointer_expression "*(undefined4 *)((long)param_1 + 0x11c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x11c)" ( (binary_expression "(long)param_1 + 0x11c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier , number_literal )))) ;) }))) (if_statement "if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }" if (parenthesized_expression "((ulong)param_2 < local_30[0] / 0x18)" ( (binary_expression "(ulong)param_2 < local_30[0] / 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) < (binary_expression "local_30[0] / 0x18" (subscript_expression "local_30[0]" identifier [ number_literal ]) / number_literal)) )) (compound_statement "{\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }" { (expression_statement "lVar2 = (ulong)(param_2 * 0x18) + lVar2;" (assignment_expression "lVar2 = (ulong)(param_2 * 0x18) + lVar2" identifier = (binary_expression "(ulong)(param_2 * 0x18) + lVar2" (call_expression "(ulong)(param_2 * 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_2 * 0x18)" ( (binary_expression "param_2 * 0x18" identifier * number_literal) ))) + identifier)) ;) (expression_statement "uVar1 = *(ushort *)(lVar2 + 6);" (assignment_expression "uVar1 = *(ushort *)(lVar2 + 6)" identifier = (pointer_expression "*(ushort *)(lVar2 + 6)" * (cast_expression "(ushort *)(lVar2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 6)" ( (binary_expression "lVar2 + 6" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = *(undefined8 *)(lVar2 + 8);" (assignment_expression "*param_3 = *(undefined8 *)(lVar2 + 8)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined8 *)(lVar2 + 8)" * (cast_expression "(undefined8 *)(lVar2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 8)" ( (binary_expression "lVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }" if (parenthesized_expression "(0xfeff < uVar1)" ( (binary_expression "0xfeff < uVar1" number_literal < identifier) )) (compound_statement "{\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }" { (if_statement "if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }" if (parenthesized_expression "(uVar1 != 0xffff)" ( (binary_expression "uVar1 != 0xffff" identifier != number_literal) )) (compound_statement "{\n        *param_4 = 0;\n        return;\n      }" { (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "lVar2 = param_1[8];" (assignment_expression "lVar2 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (if_statement "if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }" { (expression_statement "lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);" (assignment_expression "lVar2 = (**(code **)(*param_1 + 0xd8))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0xd8))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xd8))" ( (pointer_expression "**(code **)(*param_1 + 0xd8)" * (pointer_expression "*(code **)(*param_1 + 0xd8)" * (cast_expression "(code **)(*param_1 + 0xd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xd8)" ( (binary_expression "*param_1 + 0xd8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_1[8] = lVar2;" (assignment_expression "param_1[8] = lVar2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "FUN_0022a020(lVar2,param_1,param_2);" (call_expression "FUN_0022a020(lVar2,param_1,param_2)" identifier (argument_list "(lVar2,param_1,param_2)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "*param_4 = 1;" (assignment_expression "*param_4 = 1" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");" (call_expression "FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value")" identifier (argument_list "("../../gold/object.cc",0x3af,"symbol_section_and_value")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""symbol_section_and_value"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<64,_false> * this, uint\n   sym, Address * value, bool * is_ordinary) */\n\nuint __thiscall\ngold::Sized_relobj_file<64,_false>::symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  ushort uVar1;\n  _func_int_varargs *p_Var2;\n  Input_file *pIVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 extraout_var;\n  undefined4 extraout_var_00;\n  uchar *puVar6;\n  Location LVar7;\n  section_size_type symbols_size;\n  Xindex *this_00;\n  \n  p_Var2 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];\n  if (p_Var2 == do_section_contents) {\n    LVar7 = elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n                      (&this->elf_file_,this->symtab_shndx_);\n    symbols_size = LVar7.data_size;\n    puVar6 = (uchar *)((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2);\n    if (symbols_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }\n      puVar6 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false);\n    }\n  }\n  else {\n    iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0);\n    puVar6 = (uchar *)CONCAT44(extraout_var,iVar5);\n  }\n  if ((ulong)sym < symbols_size / 0x18) {\n    uVar1 = *(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6);\n    uVar4 = (uint)uVar1;\n    *value = *(Address *)(puVar6 + (ulong)(sym * 0x18) + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }\n      this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;\n      if (this_00 == (Xindex *)0x0) {\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }\n      uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);\n    }\n    *is_ordinary = true;\n    return uVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}\n\n" comment (declaration "uint __thiscall\ngold::Sized_relobj_file<64,_false>::symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  ushort uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  ushort" identifier > : : (function_declarator "symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)" identifier (parameter_list "(Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint sym" type_identifier identifier) , (parameter_declaration "Address *value" type_identifier (pointer_declarator "*value" * identifier)) , (parameter_declaration "bool *is_ordinary" primitive_type (pointer_declarator "*is_ordinary" * identifier)) ))) { identifier) identifier ;) (declaration "_func_int_varargs *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "Input_file *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "undefined4 extraout_var_00;" type_identifier identifier ;) (declaration "uchar *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "Location LVar7;" type_identifier identifier ;) (declaration "section_size_type symbols_size;" type_identifier identifier ;) (declaration "Xindex *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (expression_statement "p_Var2 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];" (assignment_expression "p_Var2 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe]" identifier = (subscript_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe]" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var2 == do_section_contents) {\n    LVar7 = elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n                      (&this->elf_file_,this->symtab_shndx_);\n    symbols_size = LVar7.data_size;\n    puVar6 = (uchar *)((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2);\n    if (symbols_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }\n      puVar6 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false);\n    }\n  }\n  else {\n    iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0);\n    puVar6 = (uchar *)CONCAT44(extraout_var,iVar5);\n  }" if (parenthesized_expression "(p_Var2 == do_section_contents)" ( (binary_expression "p_Var2 == do_section_contents" identifier == identifier) )) (compound_statement "{\n    LVar7 = elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n                      (&this->elf_file_,this->symtab_shndx_);\n    symbols_size = LVar7.data_size;\n    puVar6 = (uchar *)((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2);\n    if (symbols_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }\n      puVar6 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false);\n    }\n  }" { (ERROR "LVar7 = elfcpp::Elf_file<64,_false,_gold::" (comma_expression "LVar7 = elfcpp::Elf_file<64,_false,_gold" (binary_expression "LVar7 = elfcpp::Elf_file<64" (assignment_expression "LVar7 = elfcpp" identifier = identifier) (ERROR "::Elf_file" : : identifier) < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : :) (expression_statement "Object>::section_contents\n                      (&this->elf_file_,this->symtab_shndx_);" (binary_expression "Object>::section_contents\n                      (&this->elf_file_,this->symtab_shndx_)" identifier > (ERROR "::" : :) (call_expression "section_contents\n                      (&this->elf_file_,this->symtab_shndx_)" identifier (argument_list "(&this->elf_file_,this->symtab_shndx_)" ( (pointer_expression "&this->elf_file_" & (field_expression "this->elf_file_" identifier -> field_identifier)) , (field_expression "this->symtab_shndx_" identifier -> field_identifier) )))) ;) (expression_statement "symbols_size = LVar7.data_size;" (assignment_expression "symbols_size = LVar7.data_size" identifier = (field_expression "LVar7.data_size" identifier . field_identifier)) ;) (expression_statement "puVar6 = (uchar *)((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2);" (assignment_expression "puVar6 = (uchar *)((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2)" identifier = (cast_expression "(uchar *)((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::empty + 2)" ( (ERROR "(long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)::" (comma_expression "(long)&Sized_relobj_file<32,true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)" (binary_expression "(long)&Sized_relobj_file<32" (cast_expression "(long)&Sized_relobj_file" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&Sized_relobj_file" & identifier)) < number_literal) , (binary_expression "true>::\n                              do_section_contents(unsigned_int,unsigned_long*,bool)" true > (ERROR "::" : :) (call_expression "do_section_contents(unsigned_int,unsigned_long*,bool)" identifier (argument_list "(unsigned_int,unsigned_long*,bool)" ( identifier , identifier (ERROR "*" *) , identifier ))))) : :) (binary_expression "empty + 2" identifier + number_literal) )))) ;) (if_statement "if (symbols_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }\n      puVar6 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false);\n    }" if (parenthesized_expression "(symbols_size != 0)" ( (binary_expression "symbols_size != 0" identifier != number_literal) )) (compound_statement "{\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }\n      puVar6 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false);\n    }" { (expression_statement "pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;" (assignment_expression "pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_" identifier = (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }" if (parenthesized_expression "(pIVar3 == (Input_file *)0x0)" ( (binary_expression "pIVar3 == (Input_file *)0x0" identifier == (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        Object::input_file((Object *)0x0);\n      }" { comment (labeled_statement "Object::input_file((Object *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "input_file((Object *)0x0);" (call_expression "input_file((Object *)0x0)" identifier (argument_list "((Object *)0x0)" ( (cast_expression "(Object *)0x0" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) })) (ERROR "puVar6 = File_read::" (assignment_expression "puVar6 = File_read" identifier = identifier) : :) (expression_statement "get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false);" (call_expression "get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false)" identifier (argument_list "(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,LVar7.file_offset,symbols_size,true,false)" ( (pointer_expression "&pIVar3->file_" & (field_expression "pIVar3->file_" identifier -> field_identifier)) , (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) , (field_expression "LVar7.file_offset" identifier . field_identifier) , identifier , true , false ))) ;) })) }) (else_clause "else {\n    iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0);\n    puVar6 = (uchar *)CONCAT44(extraout_var,iVar5);\n  }" else (compound_statement "{\n    iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0);\n    puVar6 = (uchar *)CONCAT44(extraout_var,iVar5);\n  }" { (expression_statement "iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0);" (assignment_expression "iVar5 = (*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0)" identifier = (call_expression "(*p_Var2)(this,(ulong)this->symtab_shndx_,&symbols_size,0)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(this,(ulong)this->symtab_shndx_,&symbols_size,0)" ( identifier , (cast_expression "(ulong)this->symtab_shndx_" ( (type_descriptor "ulong" type_identifier) ) (field_expression "this->symtab_shndx_" identifier -> field_identifier)) , (pointer_expression "&symbols_size" & identifier) , number_literal )))) ;) (expression_statement "puVar6 = (uchar *)CONCAT44(extraout_var,iVar5);" (assignment_expression "puVar6 = (uchar *)CONCAT44(extraout_var,iVar5)" identifier = (cast_expression "(uchar *)CONCAT44(extraout_var,iVar5)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var,iVar5)" identifier (argument_list "(extraout_var,iVar5)" ( identifier , identifier ))))) ;) }))) (if_statement "if ((ulong)sym < symbols_size / 0x18) {\n    uVar1 = *(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6);\n    uVar4 = (uint)uVar1;\n    *value = *(Address *)(puVar6 + (ulong)(sym * 0x18) + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }\n      this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;\n      if (this_00 == (Xindex *)0x0) {\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }\n      uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);\n    }\n    *is_ordinary = true;\n    return uVar4;\n  }" if (parenthesized_expression "((ulong)sym < symbols_size / 0x18)" ( (binary_expression "(ulong)sym < symbols_size / 0x18" (cast_expression "(ulong)sym" ( (type_descriptor "ulong" type_identifier) ) identifier) < (binary_expression "symbols_size / 0x18" identifier / number_literal)) )) (compound_statement "{\n    uVar1 = *(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6);\n    uVar4 = (uint)uVar1;\n    *value = *(Address *)(puVar6 + (ulong)(sym * 0x18) + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }\n      this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;\n      if (this_00 == (Xindex *)0x0) {\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }\n      uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);\n    }\n    *is_ordinary = true;\n    return uVar4;\n  }" { (expression_statement "uVar1 = *(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6);" (assignment_expression "uVar1 = *(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6)" identifier = (pointer_expression "*(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6)" * (cast_expression "(ushort *)(puVar6 + (ulong)(sym * 0x18) + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + (ulong)(sym * 0x18) + 6)" ( (binary_expression "puVar6 + (ulong)(sym * 0x18) + 6" (binary_expression "puVar6 + (ulong)(sym * 0x18)" identifier + (call_expression "(ulong)(sym * 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(sym * 0x18)" ( (binary_expression "sym * 0x18" identifier * number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = (uint)uVar1;" (assignment_expression "uVar4 = (uint)uVar1" identifier = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*value = *(Address *)(puVar6 + (ulong)(sym * 0x18) + 8);" (assignment_expression "*value = *(Address *)(puVar6 + (ulong)(sym * 0x18) + 8)" (pointer_expression "*value" * identifier) = (pointer_expression "*(Address *)(puVar6 + (ulong)(sym * 0x18) + 8)" * (cast_expression "(Address *)(puVar6 + (ulong)(sym * 0x18) + 8)" ( (type_descriptor "Address *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + (ulong)(sym * 0x18) + 8)" ( (binary_expression "puVar6 + (ulong)(sym * 0x18) + 8" (binary_expression "puVar6 + (ulong)(sym * 0x18)" identifier + (call_expression "(ulong)(sym * 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(sym * 0x18)" ( (binary_expression "sym * 0x18" identifier * number_literal) )))) + number_literal) ))))) ;) (if_statement "if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }\n      this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;\n      if (this_00 == (Xindex *)0x0) {\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }\n      uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);\n    }" if (parenthesized_expression "(0xfeff < uVar1)" ( (binary_expression "0xfeff < uVar1" number_literal < identifier) )) (compound_statement "{\n      if (uVar1 != 0xffff) {\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }\n      this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;\n      if (this_00 == (Xindex *)0x0) {\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }\n      uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);\n    }" { (if_statement "if (uVar1 != 0xffff) {\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }" if (parenthesized_expression "(uVar1 != 0xffff)" ( (binary_expression "uVar1 != 0xffff" identifier != number_literal) )) (compound_statement "{\n        *is_ordinary = false;\n        return (uint)uVar1;\n      }" { (expression_statement "*is_ordinary = false;" (assignment_expression "*is_ordinary = false" (pointer_expression "*is_ordinary" * identifier) = false) ;) (return_statement "return (uint)uVar1;" return (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) ;) })) (expression_statement "this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;" (assignment_expression "this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_" identifier = (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (this_00 == (Xindex *)0x0) {\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }" if (parenthesized_expression "(this_00 == (Xindex *)0x0)" ( (binary_expression "this_00 == (Xindex *)0x0" identifier == (cast_expression "(Xindex *)0x0" ( (type_descriptor "Xindex *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);\n        this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);\n        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n      }" { (expression_statement "iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this);" (assignment_expression "iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this)" identifier = (call_expression "(*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )(this)" (parenthesized_expression "(*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]\n                )" ( (pointer_expression "*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]" * (subscript_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) )) (argument_list "(this)" ( identifier )))) ;) (expression_statement "this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5);" (assignment_expression "this_00 = (Xindex *)CONCAT44(extraout_var_00,iVar5)" identifier = (cast_expression "(Xindex *)CONCAT44(extraout_var_00,iVar5)" ( (type_descriptor "Xindex *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var_00,iVar5)" identifier (argument_list "(extraout_var_00,iVar5)" ( identifier , identifier ))))) ;) (expression_statement "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;" (assignment_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) })) (ERROR "uVar4 = Xindex::" (assignment_expression "uVar4 = Xindex" identifier = identifier) : :) (expression_statement "sym_xindex_to_shndx(this_00,(Object *)this,sym);" (call_expression "sym_xindex_to_shndx(this_00,(Object *)this,sym)" identifier (argument_list "(this_00,(Object *)this,sym)" ( identifier , (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) })) (expression_statement "*is_ordinary = true;" (assignment_expression "*is_ordinary = true" (pointer_expression "*is_ordinary" * identifier) = true) ;) (return_statement "return uVar4;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value")" identifier (argument_list "("../../gold/object.cc",0x3af,"symbol_section_and_value")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""symbol_section_and_value"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)\n\n{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}\n\n" (function_definition "void FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)\n\n{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}" primitive_type (function_declarator "FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)" identifier (parameter_list "(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auVar3 [16];" type_identifier (array_declarator "auVar3 [16]" identifier [ number_literal ]) ;) (declaration "ulong local_30 [2];" type_identifier (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (if_statement "if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x70) == FUN_001c5750)" ( (binary_expression "*(code **)(*param_1 + 0x70) == FUN_001c5750" (pointer_expression "*(code **)(*param_1 + 0x70)" * (cast_expression "(code **)(*param_1 + 0x70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x70)" ( (binary_expression "*param_1 + 0x70" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }" { (expression_statement "auVar3 = FUN_001c56b0(param_1 + 0x1f);" (assignment_expression "auVar3 = FUN_001c56b0(param_1 + 0x1f)" identifier = (call_expression "FUN_001c56b0(param_1 + 0x1f)" identifier (argument_list "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) ;) (expression_statement "local_30[0] = auVar3._8_8_;" (assignment_expression "local_30[0] = auVar3._8_8_" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (field_expression "auVar3._8_8_" identifier . field_identifier)) ;) (expression_statement "lVar2 = 0x3df50f;" (assignment_expression "lVar2 = 0x3df50f" identifier = number_literal) ;) (if_statement "if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }" if (parenthesized_expression "(local_30[0] != 0)" ( (binary_expression "local_30[0] != 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }" { (if_statement "if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }" if (parenthesized_expression "(param_1[5] == 0)" ( (binary_expression "param_1[5] == 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    \n        FUN_00229d50();\n      }" { (expression_statement "FUN_00229d50();" (call_expression "FUN_00229d50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);" (assignment_expression "lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" identifier = (call_expression "FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" identifier (argument_list "(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" ( (binary_expression "param_1[5] + 0x28" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[6]" identifier [ number_literal ]) , (field_expression "auVar3._0_8_" identifier . field_identifier) , (subscript_expression "local_30[0]" identifier [ number_literal ]) , number_literal , number_literal )))) ;) })) }) (else_clause "else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" else (compound_statement "{\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" { (expression_statement "lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);" (assignment_expression "lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" identifier = (call_expression "(**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" (parenthesized_expression "(**(code **)(*param_1 + 0x70))" ( (pointer_expression "**(code **)(*param_1 + 0x70)" * (pointer_expression "*(code **)(*param_1 + 0x70)" * (cast_expression "(code **)(*param_1 + 0x70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x70)" ( (binary_expression "*param_1 + 0x70" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" ( identifier , (pointer_expression "*(undefined4 *)((long)param_1 + 0x11c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x11c)" ( (binary_expression "(long)param_1 + 0x11c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier , number_literal )))) ;) }))) (if_statement "if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }" if (parenthesized_expression "((ulong)param_2 < local_30[0] / 0x18)" ( (binary_expression "(ulong)param_2 < local_30[0] / 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) < (binary_expression "local_30[0] / 0x18" (subscript_expression "local_30[0]" identifier [ number_literal ]) / number_literal)) )) (compound_statement "{\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }" { (expression_statement "lVar2 = (ulong)(param_2 * 0x18) + lVar2;" (assignment_expression "lVar2 = (ulong)(param_2 * 0x18) + lVar2" identifier = (binary_expression "(ulong)(param_2 * 0x18) + lVar2" (call_expression "(ulong)(param_2 * 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_2 * 0x18)" ( (binary_expression "param_2 * 0x18" identifier * number_literal) ))) + identifier)) ;) (expression_statement "uVar1 = *(ushort *)(lVar2 + 6);" (assignment_expression "uVar1 = *(ushort *)(lVar2 + 6)" identifier = (pointer_expression "*(ushort *)(lVar2 + 6)" * (cast_expression "(ushort *)(lVar2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 6)" ( (binary_expression "lVar2 + 6" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = *(undefined8 *)(lVar2 + 8);" (assignment_expression "*param_3 = *(undefined8 *)(lVar2 + 8)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined8 *)(lVar2 + 8)" * (cast_expression "(undefined8 *)(lVar2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 8)" ( (binary_expression "lVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }" if (parenthesized_expression "(0xfeff < uVar1)" ( (binary_expression "0xfeff < uVar1" number_literal < identifier) )) (compound_statement "{\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }" { (if_statement "if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }" if (parenthesized_expression "(uVar1 != 0xffff)" ( (binary_expression "uVar1 != 0xffff" identifier != number_literal) )) (compound_statement "{\n        *param_4 = 0;\n        return;\n      }" { (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "lVar2 = param_1[8];" (assignment_expression "lVar2 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (if_statement "if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }" { (expression_statement "lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);" (assignment_expression "lVar2 = (**(code **)(*param_1 + 0xd8))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0xd8))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xd8))" ( (pointer_expression "**(code **)(*param_1 + 0xd8)" * (pointer_expression "*(code **)(*param_1 + 0xd8)" * (cast_expression "(code **)(*param_1 + 0xd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xd8)" ( (binary_expression "*param_1 + 0xd8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_1[8] = lVar2;" (assignment_expression "param_1[8] = lVar2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "FUN_0022a020(lVar2,param_1,param_2);" (call_expression "FUN_0022a020(lVar2,param_1,param_2)" identifier (argument_list "(lVar2,param_1,param_2)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "*param_4 = 1;" (assignment_expression "*param_4 = 1" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");" (call_expression "FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value")" identifier (argument_list "("../../gold/object.cc",0x3af,"symbol_section_and_value")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""symbol_section_and_value"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (subscript_expression IDENT [ LIT ]) , (field_expression IDENT . field_identifier) , (subscript_expression IDENT [ LIT ]) , LIT , LIT )))) ;) })) }) (else_clause else (compound_statement { (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 , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) , IDENT , LIT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (binary_expression (subscript_expression IDENT [ LIT ]) / LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT * LIT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)\n\n{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}" (primitive_type "void") (function_declarator "FUN_00235d80(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)" (identifier "FUN_00235d80") (parameter_list "(long *param_1,uint param_2,undefined8 *param_3,undefined1 *param_4)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined1 *param_4" (type_identifier "undefined1") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  ushort uVar1;\n  long lVar2;\n  undefined1 auVar3 [16];\n  ulong local_30 [2];\n  \n  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }\n  if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined1 auVar3 [16];" (type_identifier "undefined1") (array_declarator "auVar3 [16]" (identifier "auVar3") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "ulong local_30 [2];" (type_identifier "ulong") (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (; ";")) (if_statement "if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }\n  else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x70) == FUN_001c5750)" (( "(") (binary_expression "*(code **)(*param_1 + 0x70) == FUN_001c5750" (pointer_expression "*(code **)(*param_1 + 0x70)" (* "*") (cast_expression "(code **)(*param_1 + 0x70)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x70)" (( "(") (binary_expression "*param_1 + 0x70" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x70")) () ")")))) (== "==") (identifier "FUN_001c5750")) () ")")) (compound_statement "{\n    auVar3 = FUN_001c56b0(param_1 + 0x1f);\n    local_30[0] = auVar3._8_8_;\n    lVar2 = 0x3df50f;\n    if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }\n  }" ({ "{") (expression_statement "auVar3 = FUN_001c56b0(param_1 + 0x1f);" (assignment_expression "auVar3 = FUN_001c56b0(param_1 + 0x1f)" (identifier "auVar3") (= "=") (call_expression "FUN_001c56b0(param_1 + 0x1f)" (identifier "FUN_001c56b0") (argument_list "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "local_30[0] = auVar3._8_8_;" (assignment_expression "local_30[0] = auVar3._8_8_" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (field_expression "auVar3._8_8_" (identifier "auVar3") (. ".") (field_identifier "_8_8_"))) (; ";")) (expression_statement "lVar2 = 0x3df50f;" (assignment_expression "lVar2 = 0x3df50f" (identifier "lVar2") (= "=") (number_literal "0x3df50f")) (; ";")) (if_statement "if (local_30[0] != 0) {\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }" (if "if") (parenthesized_expression "(local_30[0] != 0)" (( "(") (binary_expression "local_30[0] != 0" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }\n      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);\n    }" ({ "{") (if_statement "if (param_1[5] == 0) {\n                    \n        FUN_00229d50();\n      }" (if "if") (parenthesized_expression "(param_1[5] == 0)" (( "(") (binary_expression "param_1[5] == 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_00229d50();\n      }" ({ "{") (expression_statement "FUN_00229d50();" (call_expression "FUN_00229d50()" (identifier "FUN_00229d50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);" (assignment_expression "lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" (identifier "lVar2") (= "=") (call_expression "FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" (identifier "FUN_001e43a0") (argument_list "(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0)" (( "(") (binary_expression "param_1[5] + 0x28" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "0x28")) (, ",") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (, ",") (field_expression "auVar3._0_8_" (identifier "auVar3") (. ".") (field_identifier "_0_8_")) (, ",") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" (else "else") (compound_statement "{\n    lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);\n  }" ({ "{") (expression_statement "lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);" (assignment_expression "lVar2 = (**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" (identifier "lVar2") (= "=") (call_expression "(**(code **)(*param_1 + 0x70))\n                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" (parenthesized_expression "(**(code **)(*param_1 + 0x70))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x70)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x70)" (* "*") (cast_expression "(code **)(*param_1 + 0x70)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x70)" (( "(") (binary_expression "*param_1 + 0x70" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x70")) () ")"))))) () ")")) (argument_list "(param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)((long)param_1 + 0x11c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x11c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x11c)" (( "(") (binary_expression "(long)param_1 + 0x11c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x11c")) () ")")))) (, ",") (identifier "local_30") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (if_statement "if ((ulong)param_2 < local_30[0] / 0x18) {\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }" (if "if") (parenthesized_expression "((ulong)param_2 < local_30[0] / 0x18)" (( "(") (binary_expression "(ulong)param_2 < local_30[0] / 0x18" (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2")) (< "<") (binary_expression "local_30[0] / 0x18" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (/ "/") (number_literal "0x18"))) () ")")) (compound_statement "{\n    lVar2 = (ulong)(param_2 * 0x18) + lVar2;\n    uVar1 = *(ushort *)(lVar2 + 6);\n    *param_3 = *(undefined8 *)(lVar2 + 8);\n    if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }\n    *param_4 = 1;\n    return;\n  }" ({ "{") (expression_statement "lVar2 = (ulong)(param_2 * 0x18) + lVar2;" (assignment_expression "lVar2 = (ulong)(param_2 * 0x18) + lVar2" (identifier "lVar2") (= "=") (binary_expression "(ulong)(param_2 * 0x18) + lVar2" (call_expression "(ulong)(param_2 * 0x18)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_2 * 0x18)" (( "(") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18")) () ")"))) (+ "+") (identifier "lVar2"))) (; ";")) (expression_statement "uVar1 = *(ushort *)(lVar2 + 6);" (assignment_expression "uVar1 = *(ushort *)(lVar2 + 6)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(lVar2 + 6)" (* "*") (cast_expression "(ushort *)(lVar2 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 6)" (( "(") (binary_expression "lVar2 + 6" (identifier "lVar2") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "*param_3 = *(undefined8 *)(lVar2 + 8);" (assignment_expression "*param_3 = *(undefined8 *)(lVar2 + 8)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined8 *)(lVar2 + 8)" (* "*") (cast_expression "(undefined8 *)(lVar2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 8)" (( "(") (binary_expression "lVar2 + 8" (identifier "lVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (0xfeff < uVar1) {\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }" (if "if") (parenthesized_expression "(0xfeff < uVar1)" (( "(") (binary_expression "0xfeff < uVar1" (number_literal "0xfeff") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n      if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }\n      lVar2 = param_1[8];\n      if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }\n      FUN_0022a020(lVar2,param_1,param_2);\n    }" ({ "{") (if_statement "if (uVar1 != 0xffff) {\n        *param_4 = 0;\n        return;\n      }" (if "if") (parenthesized_expression "(uVar1 != 0xffff)" (( "(") (binary_expression "uVar1 != 0xffff" (identifier "uVar1") (!= "!=") (number_literal "0xffff")) () ")")) (compound_statement "{\n        *param_4 = 0;\n        return;\n      }" ({ "{") (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "lVar2 = param_1[8];" (assignment_expression "lVar2 = param_1[8]" (identifier "lVar2") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if (lVar2 == 0) {\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 == 0)" (( "(") (binary_expression "lVar2 == 0" (identifier "lVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);\n        param_1[8] = lVar2;\n      }" ({ "{") (expression_statement "lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);" (assignment_expression "lVar2 = (**(code **)(*param_1 + 0xd8))(param_1)" (identifier "lVar2") (= "=") (call_expression "(**(code **)(*param_1 + 0xd8))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xd8))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xd8)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xd8)" (* "*") (cast_expression "(code **)(*param_1 + 0xd8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xd8)" (( "(") (binary_expression "*param_1 + 0xd8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xd8")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "param_1[8] = lVar2;" (assignment_expression "param_1[8] = lVar2" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "lVar2")) (; ";")) (} "}"))) (expression_statement "FUN_0022a020(lVar2,param_1,param_2);" (call_expression "FUN_0022a020(lVar2,param_1,param_2)" (identifier "FUN_0022a020") (argument_list "(lVar2,param_1,param_2)" (( "(") (identifier "lVar2") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_4 = 1;" (assignment_expression "*param_4 = 1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");" (call_expression "FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value")" (identifier "FUN_001e9890") (argument_list "("../../gold/object.cc",0x3af,"symbol_section_and_value")" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x3af") (, ",") (string_literal ""symbol_section_and_value"" (" """) (string_content "symbol_section_and_value") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<64,_false> * this, uint
   sym, Address * value, bool * is_ordinary) */

type_1 __thiscall
gold::Sized_relobj_file<64,_false>::symbol_section_and_value
          (Sized_relobj_file<64,_false> *this,type_1 var_12,type_11 *value,bool *is_ordinary)

{
  type_10 var_13;
  type_2 *var_1;
  type_3 *var_7;
  type_1 uVar4;
  int iVar5;
  type_4 extraout_var;
  type_4 extraout_var_00;
  type_5 *var_11;
  type_6 LVar7;
  type_7 var_6;
  type_8 *var_14;
  
  var_1 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];
  if (var_1 == var_2) {
    LVar7 = elfcpp::Elf_file<64,_false,_gold::var_3>::var_4
                      (&this->elf_file_,this->symtab_shndx_);
    var_6 = LVar7.data_size;
    var_11 = (type_5 *)((long)&Sized_relobj_file<32,true>::
                              var_2(unsigned_int,unsigned_long*,bool)::var_5 + 2);
    if (var_6 != 0) {
      var_7 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;
      if (var_7 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
        Object::var_8((var_3 *)0x0);
      }
      var_11 = File_read::var_9(&var_7->file_,
                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.
                                   offset_,LVar7.file_offset,var_6,true,false);
    }
  }
  else {
    iVar5 = (*var_1)(this,(type_9)this->symtab_shndx_,&var_6,0);
    var_11 = (type_5 *)var_10(extraout_var,iVar5);
  }
  if ((type_9)var_12 < var_6 / 0x18) {
    var_13 = *(type_10 *)(var_11 + (type_9)(var_12 * 0x18) + 6);
    uVar4 = (type_1)var_13;
    *value = *(type_11 *)(var_11 + (type_9)(var_12 * 0x18) + 8);
    if (0xfeff < var_13) {
      if (var_13 != 0xffff) {
        *is_ordinary = false;
        return (type_1)var_13;
      }
      var_14 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;
      if (var_14 == (type_8 *)0x0) {
        iVar5 = (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]
                )(this);
        var_14 = (type_8 *)var_10(extraout_var_00,iVar5);
        (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = var_14;
      }
      uVar4 = type_8::var_15(var_14,(var_3 *)this,var_12);
    }
    *is_ordinary = true;
    return uVar4;
  }
                    /* WARNING: Subroutine does not return */
  var_16("../../gold/object.cc",0x3af,"symbol_section_and_value");
}


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

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

{
  ushort uVar1;
  long lVar2;
  undefined1 auVar3 [16];
  ulong local_30 [2];
  
  if (*(code **)(*param_1 + 0x70) == FUN_001c5750) {
    auVar3 = FUN_001c56b0(param_1 + 0x1f);
    local_30[0] = auVar3._8_8_;
    lVar2 = 0x3df50f;
    if (local_30[0] != 0) {
      if (param_1[5] == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00229d50();
      }
      lVar2 = FUN_001e43a0(param_1[5] + 0x28,param_1[6],auVar3._0_8_,local_30[0],1,0);
    }
  }
  else {
    lVar2 = (**(code **)(*param_1 + 0x70))
                      (param_1,*(undefined4 *)((long)param_1 + 0x11c),local_30,0);
  }
  if ((ulong)param_2 < local_30[0] / 0x18) {
    lVar2 = (ulong)(param_2 * 0x18) + lVar2;
    uVar1 = *(ushort *)(lVar2 + 6);
    *param_3 = *(undefined8 *)(lVar2 + 8);
    if (0xfeff < uVar1) {
      if (uVar1 != 0xffff) {
        *param_4 = 0;
        return;
      }
      lVar2 = param_1[8];
      if (lVar2 == 0) {
        lVar2 = (**(code **)(*param_1 + 0xd8))(param_1);
        param_1[8] = lVar2;
      }
      FUN_0022a020(lVar2,param_1,param_2);
    }
    *param_4 = 1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e9890("../../gold/object.cc",0x3af,"symbol_section_and_value");
}

