
/* DWARF original prototype: void Dwarf_die(Dwarf_die * this, Dwarf_info_reader * dwinfo, off_t
   die_offset, Dwarf_die * parent) */

void __thiscall
gold::Dwarf_die::Dwarf_die
          (Dwarf_die *this,Dwarf_info_reader *dwinfo,off_t die_offset,Dwarf_die *parent)

{
  byte byte;
  long lVar1;
  uchar *puVar2;
  long lVar3;
  uint code;
  byte *pbVar4;
  uint64_t uVar5;
  Abbrev_code *pAVar6;
  ulong uVar7;
  size_t len;
  
  this->parent_ = parent;
  lVar1 = dwinfo->cu_offset_;
  this->die_offset_ = die_offset;
  puVar2 = dwinfo->buffer_;
  this->name_off_ = -1;
  this->linkage_name_off_ = -1;
  lVar3 = dwinfo->cu_length_;
  pbVar4 = puVar2 + lVar1 + die_offset;
  this->dwinfo_ = dwinfo;
  this->child_offset_ = 0;
  this->sibling_offset_ = 0;
  this->abbrev_code_ = (Abbrev_code *)0x0;
  (this->attributes_).
  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>
  ._M_impl._M_start = (pointer)0x0;
  (this->attributes_).
  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>
  ._M_impl._M_finish = (pointer)0x0;
  (this->attributes_).
  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>
  ._M_impl._M_end_of_storage = (pointer)0x0;
  this->attributes_read_ = false;
  this->name_ = (char *)0x0;
  this->linkage_name_ = (char *)0x0;
  this->string_shndx_ = 0;
  this->specification_ = 0;
  this->abstract_origin_ = 0;
  if (puVar2 + lVar1 + lVar3 < pbVar4 + 1) {
    Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);
    return;
  }
  if (pbVar4 == (byte *)0x0) {
    return;
  }
  byte = *pbVar4;
  uVar7 = (ulong)byte;
  if ((char)byte < '\0') {
                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */
    uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);
    code = (uint)uVar5;
    uVar7 = uVar5 & 0xffffffff;
    if (code == 0) goto LAB_00303e88;
    this->attr_offset_ = len;
    if (0xff < code) goto LAB_00303e78;
  }
  else {
    len = 1;
    if (byte == 0) {
LAB_00303e88:
      if (parent == (Dwarf_die *)0x0) {
        return;
      }
      parent->sibling_offset_ = die_offset + len;
      return;
    }
    this->attr_offset_ = 1;
  }
  code = (uint)uVar7;
  pAVar6 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7];
  if (pAVar6 != (Abbrev_code *)0x0) {
    this->abbrev_code_ = pAVar6;
    return;
  }
LAB_00303e78:
  pAVar6 = Dwarf_abbrev_table::do_get_abbrev(&dwinfo->abbrev_table_,code);
  this->abbrev_code_ = pAVar6;
  return;
}



void FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)

{
  byte bVar1;
  long lVar2;
  long lVar3;
  uint uVar4;
  byte *pbVar5;
  long lVar6;
  ulong uVar7;
  long local_30 [2];
  
  param_1[1] = param_4;
  lVar6 = *(long *)(param_2 + 0x50);
  param_1[2] = param_3;
  lVar2 = *(long *)(param_2 + 0x40);
  param_1[0xc] = -1;
  param_1[0xe] = -1;
  lVar3 = *(long *)(param_2 + 0x58);
  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);
  *param_1 = param_2;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  param_1[7] = 0;
  param_1[8] = 0;
  param_1[9] = 0;
  *(undefined1 *)(param_1 + 10) = 0;
  param_1[0xb] = 0;
  param_1[0xd] = 0;
  *(undefined4 *)(param_1 + 0xf) = 0;
  param_1[0x10] = 0;
  param_1[0x11] = 0;
  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {
    FUN_00301e70(param_2);
    return;
  }
  if (pbVar5 == (byte *)0x0) {
    return;
  }
  bVar1 = *pbVar5;
  uVar7 = (ulong)bVar1;
  if ((char)bVar1 < '\0') {
                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */
    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);
    uVar7 = (ulong)uVar4;
    if (uVar4 == 0) goto LAB_00303e88;
    param_1[3] = local_30[0];
    if (0xff < uVar4) goto LAB_00303e78;
  }
  else {
    local_30[0] = 1;
    if (bVar1 == 0) {
LAB_00303e88:
      if (param_4 == 0) {
        return;
      }
      *(long *)(param_4 + 0x28) = param_3 + local_30[0];
      return;
    }
    param_1[3] = 1;
  }
  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);
  if (lVar6 != 0) {
    param_1[6] = lVar6;
    return;
  }
LAB_00303e78:
  lVar6 = FUN_00303950(param_2 + 0x70);
  param_1[6] = lVar6;
  return;
}


PUSH R13
MOV R13,RCX
MOV RAX,-0x1
PUSH R12
MOV R12,RDX
PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
MOV qword ptr [RDI + 0x8],RCX
MOV RCX,qword ptr [RSI + 0x50]
MOV qword ptr [RDI + 0x10],RDX
MOV RDX,qword ptr [RSI + 0x40]
MOV qword ptr [RDI + 0x60],RAX
MOV qword ptr [RDI + 0x70],RAX
LEA RAX,[RCX + R12*0x1]
ADD RCX,qword ptr [RSI + 0x58]
ADD RAX,RDX
MOV qword ptr [RDI],RSI
ADD RDX,RCX
MOV qword ptr [RDI + 0x20],0x0
MOV qword ptr [RDI + 0x28],0x0
MOV qword ptr [RDI + 0x30],0x0
MOV qword ptr [RDI + 0x38],0x0
MOV qword ptr [RDI + 0x40],0x0
MOV qword ptr [RDI + 0x48],0x0
MOV byte ptr [RDI + 0x50],0x0
MOV qword ptr [RDI + 0x58],0x0
MOV qword ptr [RDI + 0x68],0x0
MOV dword ptr [RDI + 0x78],0x0
MOV qword ptr [RDI + 0x80],0x0
MOV qword ptr [RDI + 0x88],0x0
LEA RDI,[RAX + 0x1]
CMP RDI,RDX
JA 0x00303ea8
TEST RAX,RAX
JZ 0x00303e3b
MOVZX ESI,byte ptr [RAX]
TEST SIL,SIL
JS 0x00303e50
MOV qword ptr [RSP + 0x8],0x1
JZ 0x00303e88
MOV qword ptr [RBX + 0x18],0x1
LEA RDI,[RBP + 0x70]
MOV EAX,ESI
MOV RAX,qword ptr [RBP + RAX*0x8 + 0xa0]
TEST RAX,RAX
JZ 0x00303e78
MOV qword ptr [RBX + 0x30],RAX
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
MOVZX EDX,SIL
LEA RSI,[RSP + 0x8]
CALL 0x002112d0
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00303e88
MOV RDX,qword ptr [RSP + 0x8]
LEA RDI,[RBP + 0x70]
MOV qword ptr [RBX + 0x18],RDX
CMP EAX,0xff
JBE 0x00303e28
CALL 0x00303950
MOV qword ptr [RBX + 0x30],RAX
JMP 0x00303e3b
TEST R13,R13
JZ 0x00303e3b
ADD R12,qword ptr [RSP + 0x8]
MOV qword ptr [R13 + 0x28],R12
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RDI,RSI
CALL 0x00301e70
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "void FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)\n\n{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}\n\n" (function_definition "void FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)\n\n{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}" primitive_type (function_declarator "FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)" identifier (parameter_list "(long *param_1,long param_2,long param_3,long param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long local_30 [2];" (sized_type_specifier "long" long) (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar6 = *(long *)(param_2 + 0x50);" (assignment_expression "lVar6 = *(long *)(param_2 + 0x50)" identifier = (pointer_expression "*(long *)(param_2 + 0x50)" * (cast_expression "(long *)(param_2 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = param_3;" (assignment_expression "param_1[2] = param_3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar2 = *(long *)(param_2 + 0x40);" (assignment_expression "lVar2 = *(long *)(param_2 + 0x40)" identifier = (pointer_expression "*(long *)(param_2 + 0x40)" * (cast_expression "(long *)(param_2 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x40)" ( (binary_expression "param_2 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "param_1[0xc] = -1;" (assignment_expression "param_1[0xc] = -1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xe] = -1;" (assignment_expression "param_1[0xe] = -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar3 = *(long *)(param_2 + 0x58);" (assignment_expression "lVar3 = *(long *)(param_2 + 0x58)" identifier = (pointer_expression "*(long *)(param_2 + 0x58)" * (cast_expression "(long *)(param_2 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "pbVar5 = (byte *)(lVar6 + param_3 + lVar2);" (assignment_expression "pbVar5 = (byte *)(lVar6 + param_3 + lVar2)" identifier = (cast_expression "(byte *)(lVar6 + param_3 + lVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + param_3 + lVar2)" ( (binary_expression "lVar6 + param_3 + lVar2" (binary_expression "lVar6 + param_3" identifier + identifier) + identifier) )))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 10) = 0" (pointer_expression "*(undefined1 *)(param_1 + 10)" * (cast_expression "(undefined1 *)(param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xf) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xf) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xf)" * (cast_expression "(undefined4 *)(param_1 + 0xf)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }" if (parenthesized_expression "((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1)" ( (binary_expression "(byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1" (cast_expression "(byte *)(lVar2 + lVar6 + lVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + lVar6 + lVar3)" ( (binary_expression "lVar2 + lVar6 + lVar3" (binary_expression "lVar2 + lVar6" identifier + identifier) + identifier) ))) < (binary_expression "pbVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n    FUN_00301e70(param_2);\n    return;\n  }" { (expression_statement "FUN_00301e70(param_2);" (call_expression "FUN_00301e70(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (pbVar5 == (byte *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pbVar5 == (byte *)0x0)" ( (binary_expression "pbVar5 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "uVar7 = (ulong)bVar1;" (assignment_expression "uVar7 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if ((char)bVar1 < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" if (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }" { comment (expression_statement "uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);" (assignment_expression "uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7)" identifier = (call_expression "FUN_002112d0(pbVar5 + 1,local_30,uVar7)" identifier (argument_list "(pbVar5 + 1,local_30,uVar7)" ( (binary_expression "pbVar5 + 1" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "uVar7 = (ulong)uVar4;" (assignment_expression "uVar7 = (ulong)uVar4" identifier = (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar4 == 0) goto LAB_00303e88;" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00303e88;" goto statement_identifier ;)) (expression_statement "param_1[3] = local_30[0];" (assignment_expression "param_1[3] = local_30[0]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (if_statement "if (0xff < uVar4) goto LAB_00303e78;" if (parenthesized_expression "(0xff < uVar4)" ( (binary_expression "0xff < uVar4" number_literal < identifier) )) (goto_statement "goto LAB_00303e78;" goto statement_identifier ;)) }) (else_clause "else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" else (compound_statement "{\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" { (expression_statement "local_30[0] = 1;" (assignment_expression "local_30[0] = 1" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }" { (labeled_statement "LAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }" statement_identifier : (if_statement "if (param_4 == 0) {\n        return;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) }))) (expression_statement "*(long *)(param_4 + 0x28) = param_3 + local_30[0];" (assignment_expression "*(long *)(param_4 + 0x28) = param_3 + local_30[0]" (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) )))) = (binary_expression "param_3 + local_30[0]" identifier + (subscript_expression "local_30[0]" identifier [ number_literal ]))) ;) (return_statement "return;" return ;) })) (expression_statement "param_1[3] = 1;" (assignment_expression "param_1[3] = 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);" (assignment_expression "lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8)" identifier = (pointer_expression "*(long *)(param_2 + 0xa0 + uVar7 * 8)" * (cast_expression "(long *)(param_2 + 0xa0 + uVar7 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xa0 + uVar7 * 8)" ( (binary_expression "param_2 + 0xa0 + uVar7 * 8" (binary_expression "param_2 + 0xa0" identifier + number_literal) + (binary_expression "uVar7 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }" if (parenthesized_expression "(lVar6 != 0)" ( (binary_expression "lVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    param_1[6] = lVar6;\n    return;\n  }" { (expression_statement "param_1[6] = lVar6;" (assignment_expression "param_1[6] = lVar6" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);" statement_identifier : (expression_statement "lVar6 = FUN_00303950(param_2 + 0x70);" (assignment_expression "lVar6 = FUN_00303950(param_2 + 0x70)" identifier = (call_expression "FUN_00303950(param_2 + 0x70)" identifier (argument_list "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) )))) ;)) (expression_statement "param_1[6] = lVar6;" (assignment_expression "param_1[6] = lVar6" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void Dwarf_die(Dwarf_die * this, Dwarf_info_reader * dwinfo, off_t\n   die_offset, Dwarf_die * parent) */\n\nvoid __thiscall\ngold::Dwarf_die::Dwarf_die\n          (Dwarf_die *this,Dwarf_info_reader *dwinfo,off_t die_offset,Dwarf_die *parent)\n\n{\n  byte byte;\n  long lVar1;\n  uchar *puVar2;\n  long lVar3;\n  uint code;\n  byte *pbVar4;\n  uint64_t uVar5;\n  Abbrev_code *pAVar6;\n  ulong uVar7;\n  size_t len;\n  \n  this->parent_ = parent;\n  lVar1 = dwinfo->cu_offset_;\n  this->die_offset_ = die_offset;\n  puVar2 = dwinfo->buffer_;\n  this->name_off_ = -1;\n  this->linkage_name_off_ = -1;\n  lVar3 = dwinfo->cu_length_;\n  pbVar4 = puVar2 + lVar1 + die_offset;\n  this->dwinfo_ = dwinfo;\n  this->child_offset_ = 0;\n  this->sibling_offset_ = 0;\n  this->abbrev_code_ = (Abbrev_code *)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  this->attributes_read_ = false;\n  this->name_ = (char *)0x0;\n  this->linkage_name_ = (char *)0x0;\n  this->string_shndx_ = 0;\n  this->specification_ = 0;\n  this->abstract_origin_ = 0;\n  if (puVar2 + lVar1 + lVar3 < pbVar4 + 1) {\n    Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);\n    return;\n  }\n  if (pbVar4 == (byte *)0x0) {\n    return;\n  }\n  byte = *pbVar4;\n  uVar7 = (ulong)byte;\n  if ((char)byte < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);\n    code = (uint)uVar5;\n    uVar7 = uVar5 & 0xffffffff;\n    if (code == 0) goto LAB_00303e88;\n    this->attr_offset_ = len;\n    if (0xff < code) goto LAB_00303e78;\n  }\n  else {\n    len = 1;\n    if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }\n    this->attr_offset_ = 1;\n  }\n  code = (uint)uVar7;\n  pAVar6 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7];\n  if (pAVar6 != (Abbrev_code *)0x0) {\n    this->abbrev_code_ = pAVar6;\n    return;\n  }\nLAB_00303e78:\n  pAVar6 = Dwarf_abbrev_table::do_get_abbrev(&dwinfo->abbrev_table_,code);\n  this->abbrev_code_ = pAVar6;\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Dwarf_die::Dwarf_die\n          (Dwarf_die *this,Dwarf_info_reader *dwinfo,off_t die_offset,Dwarf_die *parent)\n\n{\n  byte byte;\n  long lVar1;\n  uchar *puVar2;\n  long lVar3;\n  uint code;\n  byte *pbVar4;\n  uint64_t uVar5;\n  Abbrev_code *pAVar6;\n  ulong uVar7;\n  size_t len;\n  \n  this->parent_ = parent;\n  lVar1 = dwinfo->cu_offset_;\n  this->die_offset_ = die_offset;\n  puVar2 = dwinfo->buffer_;\n  this->name_off_ = -1;\n  this->linkage_name_off_ = -1;\n  lVar3 = dwinfo->cu_length_;\n  pbVar4 = puVar2 + lVar1 + die_offset;\n  this->dwinfo_ = dwinfo;\n  this->child_offset_ = 0;\n  this->sibling_offset_ = 0;\n  this->abbrev_code_ = (Abbrev_code *)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  this->attributes_read_ = false;\n  this->name_ = (char *)0x0;\n  this->linkage_name_ = (char *)0x0;\n  this->string_shndx_ = 0;\n  this->specification_ = 0;\n  this->abstract_origin_ = 0;\n  if (puVar2 + lVar1 + lVar3 < pbVar4 + 1) {\n    Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);\n    return;\n  }\n  if (pbVar4 == (byte *)0x0) {\n    return;\n  }\n  byte = *pbVar4;\n  uVar7 = (ulong)byte;\n  if ((char)byte < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);\n    code = (uint)uVar5;\n    uVar7 = uVar5 & 0xffffffff;\n    if (code == 0) goto LAB_00303e88;\n    this->attr_offset_ = len;\n    if (0xff < code) goto LAB_00303e78;\n  }\n  else {\n    len = 1;\n    if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }\n    this->attr_offset_ = 1;\n  }\n  code = (uint)uVar7;\n  pAVar6 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7];\n  if (pAVar6 != (Abbrev_code *)0x0) {\n    this->abbrev_code_ = pAVar6;\n    return;\n  }\nLAB_00303e78:\n  pAVar6 = Dwarf_abbrev_table::do_get_abbrev(&dwinfo->abbrev_table_,code);\n  this->abbrev_code_ = pAVar6;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_die::" identifier : : identifier : :) (function_declarator "Dwarf_die\n          (Dwarf_die *this,Dwarf_info_reader *dwinfo,off_t die_offset,Dwarf_die *parent)" identifier (parameter_list "(Dwarf_die *this,Dwarf_info_reader *dwinfo,off_t die_offset,Dwarf_die *parent)" ( (parameter_declaration "Dwarf_die *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Dwarf_info_reader *dwinfo" type_identifier (pointer_declarator "*dwinfo" * identifier)) , (parameter_declaration "off_t die_offset" type_identifier identifier) , (parameter_declaration "Dwarf_die *parent" type_identifier (pointer_declarator "*parent" * identifier)) ))) (compound_statement "{\n  byte byte;\n  long lVar1;\n  uchar *puVar2;\n  long lVar3;\n  uint code;\n  byte *pbVar4;\n  uint64_t uVar5;\n  Abbrev_code *pAVar6;\n  ulong uVar7;\n  size_t len;\n  \n  this->parent_ = parent;\n  lVar1 = dwinfo->cu_offset_;\n  this->die_offset_ = die_offset;\n  puVar2 = dwinfo->buffer_;\n  this->name_off_ = -1;\n  this->linkage_name_off_ = -1;\n  lVar3 = dwinfo->cu_length_;\n  pbVar4 = puVar2 + lVar1 + die_offset;\n  this->dwinfo_ = dwinfo;\n  this->child_offset_ = 0;\n  this->sibling_offset_ = 0;\n  this->abbrev_code_ = (Abbrev_code *)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (this->attributes_).\n  super__Vector_base<gold::Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  this->attributes_read_ = false;\n  this->name_ = (char *)0x0;\n  this->linkage_name_ = (char *)0x0;\n  this->string_shndx_ = 0;\n  this->specification_ = 0;\n  this->abstract_origin_ = 0;\n  if (puVar2 + lVar1 + lVar3 < pbVar4 + 1) {\n    Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);\n    return;\n  }\n  if (pbVar4 == (byte *)0x0) {\n    return;\n  }\n  byte = *pbVar4;\n  uVar7 = (ulong)byte;\n  if ((char)byte < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);\n    code = (uint)uVar5;\n    uVar7 = uVar5 & 0xffffffff;\n    if (code == 0) goto LAB_00303e88;\n    this->attr_offset_ = len;\n    if (0xff < code) goto LAB_00303e78;\n  }\n  else {\n    len = 1;\n    if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }\n    this->attr_offset_ = 1;\n  }\n  code = (uint)uVar7;\n  pAVar6 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7];\n  if (pAVar6 != (Abbrev_code *)0x0) {\n    this->abbrev_code_ = pAVar6;\n    return;\n  }\nLAB_00303e78:\n  pAVar6 = Dwarf_abbrev_table::do_get_abbrev(&dwinfo->abbrev_table_,code);\n  this->abbrev_code_ = pAVar6;\n  return;\n}" { (declaration "byte byte;" type_identifier identifier ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "uint code;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint64_t uVar5;" primitive_type identifier ;) (declaration "Abbrev_code *pAVar6;" type_identifier (pointer_declarator "*pAVar6" * identifier) ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "size_t len;" primitive_type identifier ;) (expression_statement "this->parent_ = parent;" (assignment_expression "this->parent_ = parent" (field_expression "this->parent_" identifier -> field_identifier) = identifier) ;) (expression_statement "lVar1 = dwinfo->cu_offset_;" (assignment_expression "lVar1 = dwinfo->cu_offset_" identifier = (field_expression "dwinfo->cu_offset_" identifier -> field_identifier)) ;) (expression_statement "this->die_offset_ = die_offset;" (assignment_expression "this->die_offset_ = die_offset" (field_expression "this->die_offset_" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar2 = dwinfo->buffer_;" (assignment_expression "puVar2 = dwinfo->buffer_" identifier = (field_expression "dwinfo->buffer_" identifier -> field_identifier)) ;) (expression_statement "this->name_off_ = -1;" (assignment_expression "this->name_off_ = -1" (field_expression "this->name_off_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->linkage_name_off_ = -1;" (assignment_expression "this->linkage_name_off_ = -1" (field_expression "this->linkage_name_off_" identifier -> field_identifier) = number_literal) ;) (expression_statement "lVar3 = dwinfo->cu_length_;" (assignment_expression "lVar3 = dwinfo->cu_length_" identifier = (field_expression "dwinfo->cu_length_" identifier -> field_identifier)) ;) (expression_statement "pbVar4 = puVar2 + lVar1 + die_offset;" (assignment_expression "pbVar4 = puVar2 + lVar1 + die_offset" identifier = (binary_expression "puVar2 + lVar1 + die_offset" (binary_expression "puVar2 + lVar1" identifier + identifier) + identifier)) ;) (expression_statement "this->dwinfo_ = dwinfo;" (assignment_expression "this->dwinfo_ = dwinfo" (field_expression "this->dwinfo_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->child_offset_ = 0;" (assignment_expression "this->child_offset_ = 0" (field_expression "this->child_offset_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->sibling_offset_ = 0;" (assignment_expression "this->sibling_offset_ = 0" (field_expression "this->sibling_offset_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->abbrev_code_ = (Abbrev_code *)0x0;" (assignment_expression "this->abbrev_code_ = (Abbrev_code *)0x0" (field_expression "this->abbrev_code_" identifier -> field_identifier) = (cast_expression "(Abbrev_code *)0x0" ( (type_descriptor "Abbrev_code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (ERROR "(this->attributes_).\n  super__Vector_base<gold::" (binary_expression "(this->attributes_).\n  super__Vector_base<gold" (field_expression "(this->attributes_).\n  super__Vector_base" (parenthesized_expression "(this->attributes_)" ( (field_expression "this->attributes_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0;" statement_identifier (ERROR "::Attribute_value,_std::allocator<gold:" : : (comma_expression "Attribute_value,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwarf_die::Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0;" (assignment_expression "Attribute_value>_>\n  ._M_impl._M_start = (pointer)0x0" (field_expression "Attribute_value>_>\n  ._M_impl._M_start" (field_expression "Attribute_value>_>\n  ._M_impl" (binary_expression "Attribute_value>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))) (ERROR "(this->attributes_).\n  super__Vector_base<gold::" (binary_expression "(this->attributes_).\n  super__Vector_base<gold" (field_expression "(this->attributes_).\n  super__Vector_base" (parenthesized_expression "(this->attributes_)" ( (field_expression "this->attributes_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0;" statement_identifier (ERROR "::Attribute_value,_std::allocator<gold:" : : (comma_expression "Attribute_value,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwarf_die::Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "Attribute_value>_>\n  ._M_impl._M_finish = (pointer)0x0" (field_expression "Attribute_value>_>\n  ._M_impl._M_finish" (field_expression "Attribute_value>_>\n  ._M_impl" (binary_expression "Attribute_value>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))) (ERROR "(this->attributes_).\n  super__Vector_base<gold::" (binary_expression "(this->attributes_).\n  super__Vector_base<gold" (field_expression "(this->attributes_).\n  super__Vector_base" (parenthesized_expression "(this->attributes_)" ( (field_expression "this->attributes_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Dwarf_die::Attribute_value,_std::allocator<gold::Dwarf_die::Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier (ERROR "::Attribute_value,_std::allocator<gold:" : : (comma_expression "Attribute_value,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwarf_die::Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "Attribute_value>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "Attribute_value>_>\n  ._M_impl._M_end_of_storage" (field_expression "Attribute_value>_>\n  ._M_impl" (binary_expression "Attribute_value>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))) (expression_statement "this->attributes_read_ = false;" (assignment_expression "this->attributes_read_ = false" (field_expression "this->attributes_read_" identifier -> field_identifier) = false) ;) (expression_statement "this->name_ = (char *)0x0;" (assignment_expression "this->name_ = (char *)0x0" (field_expression "this->name_" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->linkage_name_ = (char *)0x0;" (assignment_expression "this->linkage_name_ = (char *)0x0" (field_expression "this->linkage_name_" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->string_shndx_ = 0;" (assignment_expression "this->string_shndx_ = 0" (field_expression "this->string_shndx_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->specification_ = 0;" (assignment_expression "this->specification_ = 0" (field_expression "this->specification_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->abstract_origin_ = 0;" (assignment_expression "this->abstract_origin_ = 0" (field_expression "this->abstract_origin_" identifier -> field_identifier) = number_literal) ;) (if_statement "if (puVar2 + lVar1 + lVar3 < pbVar4 + 1) {\n    Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);\n    return;\n  }" if (parenthesized_expression "(puVar2 + lVar1 + lVar3 < pbVar4 + 1)" ( (binary_expression "puVar2 + lVar1 + lVar3 < pbVar4 + 1" (binary_expression "puVar2 + lVar1 + lVar3" (binary_expression "puVar2 + lVar1" identifier + identifier) + identifier) < (binary_expression "pbVar4 + 1" identifier + number_literal)) )) (compound_statement "{\n    Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);\n    return;\n  }" { (labeled_statement "Dwarf_info_reader::warn_corrupt_debug_section(dwinfo);" statement_identifier : (ERROR ":" :) (expression_statement "warn_corrupt_debug_section(dwinfo);" (call_expression "warn_corrupt_debug_section(dwinfo)" identifier (argument_list "(dwinfo)" ( identifier ))) ;)) (return_statement "return;" return ;) })) (if_statement "if (pbVar4 == (byte *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pbVar4 == (byte *)0x0)" ( (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "byte = *pbVar4;" (assignment_expression "byte = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "uVar7 = (ulong)byte;" (assignment_expression "uVar7 = (ulong)byte" identifier = (cast_expression "(ulong)byte" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if ((char)byte < '\0') {\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);\n    code = (uint)uVar5;\n    uVar7 = uVar5 & 0xffffffff;\n    if (code == 0) goto LAB_00303e88;\n    this->attr_offset_ = len;\n    if (0xff < code) goto LAB_00303e78;\n  }\n  else {\n    len = 1;\n    if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }\n    this->attr_offset_ = 1;\n  }" if (parenthesized_expression "((char)byte < '\0')" ( (binary_expression "(char)byte < '\0'" (cast_expression "(char)byte" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */\n    uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);\n    code = (uint)uVar5;\n    uVar7 = uVar5 & 0xffffffff;\n    if (code == 0) goto LAB_00303e88;\n    this->attr_offset_ = len;\n    if (0xff < code) goto LAB_00303e78;\n  }" { comment (expression_statement "uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte);" (assignment_expression "uVar5 = read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte)" identifier = (call_expression "read_unsigned_LEB_128_x(pbVar4 + 1,&len,byte)" identifier (argument_list "(pbVar4 + 1,&len,byte)" ( (binary_expression "pbVar4 + 1" identifier + number_literal) , (pointer_expression "&len" & identifier) , identifier )))) ;) (expression_statement "code = (uint)uVar5;" (assignment_expression "code = (uint)uVar5" identifier = (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar7 = uVar5 & 0xffffffff;" (assignment_expression "uVar7 = uVar5 & 0xffffffff" identifier = (binary_expression "uVar5 & 0xffffffff" identifier & number_literal)) ;) (if_statement "if (code == 0) goto LAB_00303e88;" if (parenthesized_expression "(code == 0)" ( (binary_expression "code == 0" identifier == number_literal) )) (goto_statement "goto LAB_00303e88;" goto statement_identifier ;)) (expression_statement "this->attr_offset_ = len;" (assignment_expression "this->attr_offset_ = len" (field_expression "this->attr_offset_" identifier -> field_identifier) = identifier) ;) (if_statement "if (0xff < code) goto LAB_00303e78;" if (parenthesized_expression "(0xff < code)" ( (binary_expression "0xff < code" number_literal < identifier) )) (goto_statement "goto LAB_00303e78;" goto statement_identifier ;)) }) (else_clause "else {\n    len = 1;\n    if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }\n    this->attr_offset_ = 1;\n  }" else (compound_statement "{\n    len = 1;\n    if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }\n    this->attr_offset_ = 1;\n  }" { (expression_statement "len = 1;" (assignment_expression "len = 1" identifier = number_literal) ;) (if_statement "if (byte == 0) {\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }" if (parenthesized_expression "(byte == 0)" ( (binary_expression "byte == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }\n      parent->sibling_offset_ = die_offset + len;\n      return;\n    }" { (labeled_statement "LAB_00303e88:\n      if (parent == (Dwarf_die *)0x0) {\n        return;\n      }" statement_identifier : (if_statement "if (parent == (Dwarf_die *)0x0) {\n        return;\n      }" if (parenthesized_expression "(parent == (Dwarf_die *)0x0)" ( (binary_expression "parent == (Dwarf_die *)0x0" identifier == (cast_expression "(Dwarf_die *)0x0" ( (type_descriptor "Dwarf_die *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) }))) (expression_statement "parent->sibling_offset_ = die_offset + len;" (assignment_expression "parent->sibling_offset_ = die_offset + len" (field_expression "parent->sibling_offset_" identifier -> field_identifier) = (binary_expression "die_offset + len" identifier + identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "this->attr_offset_ = 1;" (assignment_expression "this->attr_offset_ = 1" (field_expression "this->attr_offset_" identifier -> field_identifier) = number_literal) ;) }))) (expression_statement "code = (uint)uVar7;" (assignment_expression "code = (uint)uVar7" identifier = (cast_expression "(uint)uVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pAVar6 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7];" (assignment_expression "pAVar6 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7]" identifier = (subscript_expression "(dwinfo->abbrev_table_).low_abbrev_codes_[uVar7]" (field_expression "(dwinfo->abbrev_table_).low_abbrev_codes_" (parenthesized_expression "(dwinfo->abbrev_table_)" ( (field_expression "dwinfo->abbrev_table_" identifier -> field_identifier) )) . field_identifier) [ identifier ])) ;) (if_statement "if (pAVar6 != (Abbrev_code *)0x0) {\n    this->abbrev_code_ = pAVar6;\n    return;\n  }" if (parenthesized_expression "(pAVar6 != (Abbrev_code *)0x0)" ( (binary_expression "pAVar6 != (Abbrev_code *)0x0" identifier != (cast_expression "(Abbrev_code *)0x0" ( (type_descriptor "Abbrev_code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    this->abbrev_code_ = pAVar6;\n    return;\n  }" { (expression_statement "this->abbrev_code_ = pAVar6;" (assignment_expression "this->abbrev_code_ = pAVar6" (field_expression "this->abbrev_code_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00303e78:\n  pAVar6 = Dwarf_abbrev_table::do_get_abbrev(&dwinfo->abbrev_table_,code);" statement_identifier : (ERROR "pAVar6 = Dwarf_abbrev_table::" (assignment_expression "pAVar6 = Dwarf_abbrev_table" identifier = identifier) : :) (expression_statement "do_get_abbrev(&dwinfo->abbrev_table_,code);" (call_expression "do_get_abbrev(&dwinfo->abbrev_table_,code)" identifier (argument_list "(&dwinfo->abbrev_table_,code)" ( (pointer_expression "&dwinfo->abbrev_table_" & (field_expression "dwinfo->abbrev_table_" identifier -> field_identifier)) , identifier ))) ;)) (expression_statement "this->abbrev_code_ = pAVar6;" (assignment_expression "this->abbrev_code_ = pAVar6" (field_expression "this->abbrev_code_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)\n\n{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}\n\n" (function_definition "void FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)\n\n{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}" primitive_type (function_declarator "FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)" identifier (parameter_list "(long *param_1,long param_2,long param_3,long param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long local_30 [2];" (sized_type_specifier "long" long) (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar6 = *(long *)(param_2 + 0x50);" (assignment_expression "lVar6 = *(long *)(param_2 + 0x50)" identifier = (pointer_expression "*(long *)(param_2 + 0x50)" * (cast_expression "(long *)(param_2 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = param_3;" (assignment_expression "param_1[2] = param_3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar2 = *(long *)(param_2 + 0x40);" (assignment_expression "lVar2 = *(long *)(param_2 + 0x40)" identifier = (pointer_expression "*(long *)(param_2 + 0x40)" * (cast_expression "(long *)(param_2 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x40)" ( (binary_expression "param_2 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "param_1[0xc] = -1;" (assignment_expression "param_1[0xc] = -1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xe] = -1;" (assignment_expression "param_1[0xe] = -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar3 = *(long *)(param_2 + 0x58);" (assignment_expression "lVar3 = *(long *)(param_2 + 0x58)" identifier = (pointer_expression "*(long *)(param_2 + 0x58)" * (cast_expression "(long *)(param_2 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "pbVar5 = (byte *)(lVar6 + param_3 + lVar2);" (assignment_expression "pbVar5 = (byte *)(lVar6 + param_3 + lVar2)" identifier = (cast_expression "(byte *)(lVar6 + param_3 + lVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + param_3 + lVar2)" ( (binary_expression "lVar6 + param_3 + lVar2" (binary_expression "lVar6 + param_3" identifier + identifier) + identifier) )))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 10) = 0" (pointer_expression "*(undefined1 *)(param_1 + 10)" * (cast_expression "(undefined1 *)(param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xf) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xf) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xf)" * (cast_expression "(undefined4 *)(param_1 + 0xf)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }" if (parenthesized_expression "((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1)" ( (binary_expression "(byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1" (cast_expression "(byte *)(lVar2 + lVar6 + lVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + lVar6 + lVar3)" ( (binary_expression "lVar2 + lVar6 + lVar3" (binary_expression "lVar2 + lVar6" identifier + identifier) + identifier) ))) < (binary_expression "pbVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n    FUN_00301e70(param_2);\n    return;\n  }" { (expression_statement "FUN_00301e70(param_2);" (call_expression "FUN_00301e70(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (pbVar5 == (byte *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pbVar5 == (byte *)0x0)" ( (binary_expression "pbVar5 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "uVar7 = (ulong)bVar1;" (assignment_expression "uVar7 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" if (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }" { (expression_statement "uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);" (assignment_expression "uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7)" identifier = (call_expression "FUN_002112d0(pbVar5 + 1,local_30,uVar7)" identifier (argument_list "(pbVar5 + 1,local_30,uVar7)" ( (binary_expression "pbVar5 + 1" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "uVar7 = (ulong)uVar4;" (assignment_expression "uVar7 = (ulong)uVar4" identifier = (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar4 == 0) goto LAB_00303e88;" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00303e88;" goto statement_identifier ;)) (expression_statement "param_1[3] = local_30[0];" (assignment_expression "param_1[3] = local_30[0]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (if_statement "if (0xff < uVar4) goto LAB_00303e78;" if (parenthesized_expression "(0xff < uVar4)" ( (binary_expression "0xff < uVar4" number_literal < identifier) )) (goto_statement "goto LAB_00303e78;" goto statement_identifier ;)) }) (else_clause "else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" else (compound_statement "{\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" { (expression_statement "local_30[0] = 1;" (assignment_expression "local_30[0] = 1" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }" { (labeled_statement "LAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }" statement_identifier : (if_statement "if (param_4 == 0) {\n        return;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) }))) (expression_statement "*(long *)(param_4 + 0x28) = param_3 + local_30[0];" (assignment_expression "*(long *)(param_4 + 0x28) = param_3 + local_30[0]" (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) )))) = (binary_expression "param_3 + local_30[0]" identifier + (subscript_expression "local_30[0]" identifier [ number_literal ]))) ;) (return_statement "return;" return ;) })) (expression_statement "param_1[3] = 1;" (assignment_expression "param_1[3] = 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);" (assignment_expression "lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8)" identifier = (pointer_expression "*(long *)(param_2 + 0xa0 + uVar7 * 8)" * (cast_expression "(long *)(param_2 + 0xa0 + uVar7 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xa0 + uVar7 * 8)" ( (binary_expression "param_2 + 0xa0 + uVar7 * 8" (binary_expression "param_2 + 0xa0" identifier + number_literal) + (binary_expression "uVar7 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }" if (parenthesized_expression "(lVar6 != 0)" ( (binary_expression "lVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    param_1[6] = lVar6;\n    return;\n  }" { (expression_statement "param_1[6] = lVar6;" (assignment_expression "param_1[6] = lVar6" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);" statement_identifier : (expression_statement "lVar6 = FUN_00303950(param_2 + 0x70);" (assignment_expression "lVar6 = FUN_00303950(param_2 + 0x70)" identifier = (call_expression "FUN_00303950(param_2 + 0x70)" identifier (argument_list "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) )))) ;)) (expression_statement "param_1[6] = lVar6;" (assignment_expression "param_1[6] = lVar6" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) ))) < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)\n\n{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00303d50(long *param_1,long param_2,long param_3,long param_4)" (identifier "FUN_00303d50") (parameter_list "(long *param_1,long param_2,long param_3,long param_4)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) () ")"))) (compound_statement "{\n  byte bVar1;\n  long lVar2;\n  long lVar3;\n  uint uVar4;\n  byte *pbVar5;\n  long lVar6;\n  ulong uVar7;\n  long local_30 [2];\n  \n  param_1[1] = param_4;\n  lVar6 = *(long *)(param_2 + 0x50);\n  param_1[2] = param_3;\n  lVar2 = *(long *)(param_2 + 0x40);\n  param_1[0xc] = -1;\n  param_1[0xe] = -1;\n  lVar3 = *(long *)(param_2 + 0x58);\n  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);\n  *param_1 = param_2;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  *(undefined1 *)(param_1 + 10) = 0;\n  param_1[0xb] = 0;\n  param_1[0xd] = 0;\n  *(undefined4 *)(param_1 + 0xf) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }\n  if (pbVar5 == (byte *)0x0) {\n    return;\n  }\n  bVar1 = *pbVar5;\n  uVar7 = (ulong)bVar1;\n  if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }\n  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);\n  if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }\nLAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);\n  param_1[6] = lVar6;\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "long local_30 [2];" (sized_type_specifier "long" (long "long")) (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "lVar6 = *(long *)(param_2 + 0x50);" (assignment_expression "lVar6 = *(long *)(param_2 + 0x50)" (identifier "lVar6") (= "=") (pointer_expression "*(long *)(param_2 + 0x50)" (* "*") (cast_expression "(long *)(param_2 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "param_1[2] = param_3;" (assignment_expression "param_1[2] = param_3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "lVar2 = *(long *)(param_2 + 0x40);" (assignment_expression "lVar2 = *(long *)(param_2 + 0x40)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_2 + 0x40)" (* "*") (cast_expression "(long *)(param_2 + 0x40)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x40)" (( "(") (binary_expression "param_2 + 0x40" (identifier "param_2") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "param_1[0xc] = -1;" (assignment_expression "param_1[0xc] = -1" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "param_1[0xe] = -1;" (assignment_expression "param_1[0xe] = -1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "lVar3 = *(long *)(param_2 + 0x58);" (assignment_expression "lVar3 = *(long *)(param_2 + 0x58)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(param_2 + 0x58)" (* "*") (cast_expression "(long *)(param_2 + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x58)" (( "(") (binary_expression "param_2 + 0x58" (identifier "param_2") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (expression_statement "pbVar5 = (byte *)(lVar6 + param_3 + lVar2);" (assignment_expression "pbVar5 = (byte *)(lVar6 + param_3 + lVar2)" (identifier "pbVar5") (= "=") (cast_expression "(byte *)(lVar6 + param_3 + lVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + param_3 + lVar2)" (( "(") (binary_expression "lVar6 + param_3 + lVar2" (binary_expression "lVar6 + param_3" (identifier "lVar6") (+ "+") (identifier "param_3")) (+ "+") (identifier "lVar2")) () ")")))) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 10) = 0" (pointer_expression "*(undefined1 *)(param_1 + 10)" (* "*") (cast_expression "(undefined1 *)(param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xf) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xf) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xf)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xf)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf)" (( "(") (binary_expression "param_1 + 0xf" (identifier "param_1") (+ "+") (number_literal "0xf")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {\n    FUN_00301e70(param_2);\n    return;\n  }" (if "if") (parenthesized_expression "((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1)" (( "(") (binary_expression "(byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1" (cast_expression "(byte *)(lVar2 + lVar6 + lVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + lVar6 + lVar3)" (( "(") (binary_expression "lVar2 + lVar6 + lVar3" (binary_expression "lVar2 + lVar6" (identifier "lVar2") (+ "+") (identifier "lVar6")) (+ "+") (identifier "lVar3")) () ")"))) (< "<") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n    FUN_00301e70(param_2);\n    return;\n  }" ({ "{") (expression_statement "FUN_00301e70(param_2);" (call_expression "FUN_00301e70(param_2)" (identifier "FUN_00301e70") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (pbVar5 == (byte *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(pbVar5 == (byte *)0x0)" (( "(") (binary_expression "pbVar5 == (byte *)0x0" (identifier "pbVar5") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" (identifier "bVar1") (= "=") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5"))) (; ";")) (expression_statement "uVar7 = (ulong)bVar1;" (assignment_expression "uVar7 = (ulong)bVar1" (identifier "uVar7") (= "=") (cast_expression "(ulong)bVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar1"))) (; ";")) (if_statement "if ((char)bVar1 < '\0') {\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }\n  else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" (if "if") (parenthesized_expression "((char)bVar1 < '\0')" (( "(") (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);\n    uVar7 = (ulong)uVar4;\n    if (uVar4 == 0) goto LAB_00303e88;\n    param_1[3] = local_30[0];\n    if (0xff < uVar4) goto LAB_00303e78;\n  }" ({ "{") (expression_statement "uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);" (assignment_expression "uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7)" (identifier "uVar4") (= "=") (call_expression "FUN_002112d0(pbVar5 + 1,local_30,uVar7)" (identifier "FUN_002112d0") (argument_list "(pbVar5 + 1,local_30,uVar7)" (( "(") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1")) (, ",") (identifier "local_30") (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "uVar7 = (ulong)uVar4;" (assignment_expression "uVar7 = (ulong)uVar4" (identifier "uVar7") (= "=") (cast_expression "(ulong)uVar4" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar4"))) (; ";")) (if_statement "if (uVar4 == 0) goto LAB_00303e88;" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00303e88;" (goto "goto") (statement_identifier "LAB_00303e88") (; ";"))) (expression_statement "param_1[3] = local_30[0];" (assignment_expression "param_1[3] = local_30[0]" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (0xff < uVar4) goto LAB_00303e78;" (if "if") (parenthesized_expression "(0xff < uVar4)" (( "(") (binary_expression "0xff < uVar4" (number_literal "0xff") (< "<") (identifier "uVar4")) () ")")) (goto_statement "goto LAB_00303e78;" (goto "goto") (statement_identifier "LAB_00303e78") (; ";"))) (} "}")) (else_clause "else {\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" (else "else") (compound_statement "{\n    local_30[0] = 1;\n    if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }\n    param_1[3] = 1;\n  }" ({ "{") (expression_statement "local_30[0] = 1;" (assignment_expression "local_30[0] = 1" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "1")) (; ";")) (if_statement "if (bVar1 == 0) {\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }" (if "if") (parenthesized_expression "(bVar1 == 0)" (( "(") (binary_expression "bVar1 == 0" (identifier "bVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }\n      *(long *)(param_4 + 0x28) = param_3 + local_30[0];\n      return;\n    }" ({ "{") (labeled_statement "LAB_00303e88:\n      if (param_4 == 0) {\n        return;\n      }" (statement_identifier "LAB_00303e88") (: ":") (if_statement "if (param_4 == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "*(long *)(param_4 + 0x28) = param_3 + local_30[0];" (assignment_expression "*(long *)(param_4 + 0x28) = param_3 + local_30[0]" (pointer_expression "*(long *)(param_4 + 0x28)" (* "*") (cast_expression "(long *)(param_4 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x28)" (( "(") (binary_expression "param_4 + 0x28" (identifier "param_4") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "param_3 + local_30[0]" (identifier "param_3") (+ "+") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_1[3] = 1;" (assignment_expression "param_1[3] = 1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);" (assignment_expression "lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8)" (identifier "lVar6") (= "=") (pointer_expression "*(long *)(param_2 + 0xa0 + uVar7 * 8)" (* "*") (cast_expression "(long *)(param_2 + 0xa0 + uVar7 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xa0 + uVar7 * 8)" (( "(") (binary_expression "param_2 + 0xa0 + uVar7 * 8" (binary_expression "param_2 + 0xa0" (identifier "param_2") (+ "+") (number_literal "0xa0")) (+ "+") (binary_expression "uVar7 * 8" (identifier "uVar7") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (lVar6 != 0) {\n    param_1[6] = lVar6;\n    return;\n  }" (if "if") (parenthesized_expression "(lVar6 != 0)" (( "(") (binary_expression "lVar6 != 0" (identifier "lVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_1[6] = lVar6;\n    return;\n  }" ({ "{") (expression_statement "param_1[6] = lVar6;" (assignment_expression "param_1[6] = lVar6" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "lVar6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_00303e78:\n  lVar6 = FUN_00303950(param_2 + 0x70);" (statement_identifier "LAB_00303e78") (: ":") (expression_statement "lVar6 = FUN_00303950(param_2 + 0x70);" (assignment_expression "lVar6 = FUN_00303950(param_2 + 0x70)" (identifier "lVar6") (= "=") (call_expression "FUN_00303950(param_2 + 0x70)" (identifier "FUN_00303950") (argument_list "(param_2 + 0x70)" (( "(") (binary_expression "param_2 + 0x70" (identifier "param_2") (+ "+") (number_literal "0x70")) () ")")))) (; ";"))) (expression_statement "param_1[6] = lVar6;" (assignment_expression "param_1[6] = lVar6" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "lVar6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void Dwarf_die(Dwarf_die * this, Dwarf_info_reader * dwinfo, off_t
   die_offset, Dwarf_die * parent) */

void __thiscall
gold::function_1::function_1
          (function_1 *this,type_1 *dwinfo,type_2 var_3,function_1 *var_12)

{
  type_3 type_3;
  long var_2;
  type_4 *var_1;
  long var_6;
  type_5 var_11;
  type_3 *var_7;
  uint64_t var_10;
  type_6 *var_14;
  type_7 uVar7;
  size_t var_13;
  
  this->parent_ = var_12;
  var_2 = dwinfo->cu_offset_;
  this->die_offset_ = var_3;
  var_1 = dwinfo->buffer_;
  this->name_off_ = -1;
  this->linkage_name_off_ = -1;
  var_6 = dwinfo->cu_length_;
  var_7 = var_1 + var_2 + var_3;
  this->dwinfo_ = dwinfo;
  this->child_offset_ = 0;
  this->sibling_offset_ = 0;
  this->abbrev_code_ = (type_6 *)0x0;
  (this->attributes_).
  super__Vector_base<gold::Dwarf_die::var_4,_std::allocator<gold::Dwarf_die::var_4>var_5>
  ._M_impl._M_start = (type_8)0x0;
  (this->attributes_).
  super__Vector_base<gold::Dwarf_die::var_4,_std::allocator<gold::Dwarf_die::var_4>var_5>
  ._M_impl._M_finish = (type_8)0x0;
  (this->attributes_).
  super__Vector_base<gold::Dwarf_die::var_4,_std::allocator<gold::Dwarf_die::var_4>var_5>
  ._M_impl._M_end_of_storage = (type_8)0x0;
  this->attributes_read_ = false;
  this->name_ = (char *)0x0;
  this->linkage_name_ = (char *)0x0;
  this->string_shndx_ = 0;
  this->specification_ = 0;
  this->abstract_origin_ = 0;
  if (var_1 + var_2 + var_6 < var_7 + 1) {
    Dwarf_info_reader::var_8(dwinfo);
    return;
  }
  if (var_7 == (type_3 *)0x0) {
    return;
  }
  type_3 = *var_7;
  uVar7 = (type_7)type_3;
  if ((char)type_3 < '\0') {
                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */
    var_10 = var_9(var_7 + 1,&var_13,type_3);
    var_11 = (type_5)var_10;
    uVar7 = var_10 & 0xffffffff;
    if (var_11 == 0) goto LAB_00303e88;
    this->attr_offset_ = var_13;
    if (0xff < var_11) goto LAB_00303e78;
  }
  else {
    var_13 = 1;
    if (type_3 == 0) {
LAB_00303e88:
      if (var_12 == (function_1 *)0x0) {
        return;
      }
      var_12->sibling_offset_ = var_3 + var_13;
      return;
    }
    this->attr_offset_ = 1;
  }
  var_11 = (type_5)uVar7;
  var_14 = (dwinfo->abbrev_table_).low_abbrev_codes_[uVar7];
  if (var_14 != (type_6 *)0x0) {
    this->abbrev_code_ = var_14;
    return;
  }
LAB_00303e78:
  var_14 = Dwarf_abbrev_table::var_15(&dwinfo->abbrev_table_,var_11);
  this->abbrev_code_ = var_14;
  return;
}


(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: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (labeled_statement label: (statement_identifier) (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: (identifier))) (return_statement))))

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

{
  byte bVar1;
  long lVar2;
  long lVar3;
  uint uVar4;
  byte *pbVar5;
  long lVar6;
  ulong uVar7;
  long local_30 [2];
  
  param_1[1] = param_4;
  lVar6 = *(long *)(param_2 + 0x50);
  param_1[2] = param_3;
  lVar2 = *(long *)(param_2 + 0x40);
  param_1[0xc] = -1;
  param_1[0xe] = -1;
  lVar3 = *(long *)(param_2 + 0x58);
  pbVar5 = (byte *)(lVar6 + param_3 + lVar2);
  *param_1 = param_2;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  param_1[7] = 0;
  param_1[8] = 0;
  param_1[9] = 0;
  *(undefined1 *)(param_1 + 10) = 0;
  param_1[0xb] = 0;
  param_1[0xd] = 0;
  *(undefined4 *)(param_1 + 0xf) = 0;
  param_1[0x10] = 0;
  param_1[0x11] = 0;
  if ((byte *)(lVar2 + lVar6 + lVar3) < pbVar5 + 1) {
    FUN_00301e70(param_2);
    return;
  }
  if (pbVar5 == (byte *)0x0) {
    return;
  }
  bVar1 = *pbVar5;
  uVar7 = (ulong)bVar1;
  if ((char)bVar1 < '\0') {
                    /* try { // try from 00303e59 to 00303eaf has its CatchHandler @ 00303ebb */
    uVar4 = FUN_002112d0(pbVar5 + 1,local_30,uVar7);
    uVar7 = (ulong)uVar4;
    if (uVar4 == 0) goto LAB_00303e88;
    param_1[3] = local_30[0];
    if (0xff < uVar4) goto LAB_00303e78;
  }
  else {
    local_30[0] = 1;
    if (bVar1 == 0) {
LAB_00303e88:
      if (param_4 == 0) {
        return;
      }
      *(long *)(param_4 + 0x28) = param_3 + local_30[0];
      return;
    }
    param_1[3] = 1;
  }
  lVar6 = *(long *)(param_2 + 0xa0 + uVar7 * 8);
  if (lVar6 != 0) {
    param_1[6] = lVar6;
    return;
  }
LAB_00303e78:
  lVar6 = FUN_00303950(param_2 + 0x70);
  param_1[6] = lVar6;
  return;
}

