
/* DWARF original prototype: void add_memory_region(Script_sections * this, char * name, size_t
   namelen, uint attributes, Expression * start, Expression * length) */

void __thiscall
gold::Script_sections::add_memory_region
          (Script_sections *this,char *name,size_t namelen,uint attributes,Expression *start,
          Expression *length)

{
  iterator __position;
  Memory_region *pMVar1;
  char *format;
  vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *this_00;
  Memory_region *local_40 [2];
  
  this_00 = this->memory_regions_;
  if (this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0) {
    this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)
              operator_new(0x18);
    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
    _M_impl._M_start = (pointer)0x0;
    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
    _M_impl._M_finish = (pointer)0x0;
    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
    _M_impl._M_end_of_storage = (pointer)0x0;
    this->memory_regions_ = this_00;
  }
  else {
    pMVar1 = find_memory_region(this,name,namelen);
    if (pMVar1 != (Memory_region *)0x0) {
      format = (char *)gettext("region \'%.*s\' already defined");
      gold_error(format,namelen & 0xffffffff,name);
      this_00 = this->memory_regions_;
    }
  }
  pMVar1 = (Memory_region *)operator_new(0x78);
  (pMVar1->name_)._M_dataplus._M_p = (pointer)&(pMVar1->name_).field_2;
                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>
            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,
             name + namelen);
  pMVar1->start_ = start;
  pMVar1->length_ = length;
  __position._M_current =
       (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
       _M_impl._M_finish;
  pMVar1->attributes_ = attributes;
  pMVar1->current_offset_ = 0;
  (pMVar1->vma_sections_).
  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
  ._M_impl._M_start = (pointer)0x0;
  (pMVar1->vma_sections_).
  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
  ._M_impl._M_finish = (pointer)0x0;
  (pMVar1->vma_sections_).
  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
  ._M_impl._M_end_of_storage = (pointer)0x0;
  (pMVar1->lma_sections_).
  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
  ._M_impl._M_start = (pointer)0x0;
  (pMVar1->lma_sections_).
  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
  ._M_impl._M_finish = (pointer)0x0;
  (pMVar1->lma_sections_).
  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
  ._M_impl._M_end_of_storage = (pointer)0x0;
  pMVar1->last_section_ = (Output_section_definition *)0x0;
  if (__position._M_current !=
      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
      _M_impl._M_end_of_storage) {
    *__position._M_current = pMVar1;
    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
    _M_impl._M_finish = __position._M_current + 1;
    return;
  }
  local_40[0] = pMVar1;
  std::vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>::
  _M_realloc_insert<gold::Memory_region*>(this_00,__position,local_40);
  return;
}



void FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,
                 long param_6)

{
  undefined8 *puVar1;
  long lVar2;
  undefined8 uVar3;
  long *plVar4;
  undefined8 *puVar5;
  long *local_40 [2];
  
  puVar5 = *(undefined8 **)(param_1 + 0x18);
  if (puVar5 == (undefined8 *)0x0) {
    puVar5 = (undefined8 *)FUN_002a11b0(0x18);
    *puVar5 = 0;
    puVar5[1] = 0;
    puVar5[2] = 0;
    *(undefined8 **)(param_1 + 0x18) = puVar5;
  }
  else {
    lVar2 = FUN_00231670();
    if (lVar2 != 0) {
      uVar3 = gettext("region \'%.*s\' already defined");
      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);
      puVar5 = *(undefined8 **)(param_1 + 0x18);
    }
  }
  plVar4 = (long *)FUN_002a11b0(0x78);
  *plVar4 = (long)(plVar4 + 2);
                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */
  FUN_00169c70(plVar4,param_2,param_2 + param_3);
  plVar4[5] = param_5;
  plVar4[6] = param_6;
  puVar1 = (undefined8 *)puVar5[1];
  *(undefined4 *)(plVar4 + 4) = param_4;
  plVar4[7] = 0;
  plVar4[8] = 0;
  plVar4[9] = 0;
  plVar4[10] = 0;
  plVar4[0xb] = 0;
  plVar4[0xc] = 0;
  plVar4[0xd] = 0;
  plVar4[0xe] = 0;
  if (puVar1 != (undefined8 *)puVar5[2]) {
    *puVar1 = plVar4;
    puVar5[1] = puVar1 + 1;
    return;
  }
  local_40[0] = plVar4;
  FUN_00237ea0(puVar5,puVar1,local_40);
  return;
}


PUSH R15
MOV R15,R8
PUSH R14
MOV R14,R9
PUSH R13
MOV R13,RSI
PUSH R12
MOV R12,RDX
PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x28
MOV RBP,qword ptr [RDI + 0x18]
MOV dword ptr [RSP + 0xc],ECX
TEST RBP,RBP
JZ 0x00233608
CALL 0x00231670
TEST RAX,RAX
JZ 0x00233568
LEA RDI,[0x34e6be]
CALL 0x00144320
MOV RDX,R13
MOV ESI,R12D
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00191870
MOV RBP,qword ptr [RBX + 0x18]
MOV EDI,0x78
CALL 0x002a11b0
LEA RDX,[R13 + R12*0x1]
MOV RSI,R13
MOV RBX,RAX
LEA RAX,[RAX + 0x10]
MOV qword ptr [RBX],RAX
MOV RDI,RBX
CALL 0x00169c70
MOV EAX,dword ptr [RSP + 0xc]
MOV qword ptr [RBX + 0x28],R15
MOV qword ptr [RBX + 0x30],R14
MOV RSI,qword ptr [RBP + 0x8]
MOV dword ptr [RBX + 0x20],EAX
MOV qword ptr [RBX + 0x38],0x0
MOV qword ptr [RBX + 0x40],0x0
MOV qword ptr [RBX + 0x48],0x0
MOV qword ptr [RBX + 0x50],0x0
MOV qword ptr [RBX + 0x58],0x0
MOV qword ptr [RBX + 0x60],0x0
MOV qword ptr [RBX + 0x68],0x0
MOV qword ptr [RBX + 0x70],0x0
MOV qword ptr [RSP + 0x18],RBX
CMP RSI,qword ptr [RBP + 0x10]
JZ 0x00233638
MOV qword ptr [RSI],RBX
ADD RSI,0x8
MOV qword ptr [RBP + 0x8],RSI
ADD RSP,0x28
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV EDI,0x18
CALL 0x002a11b0
MOV RBP,RAX
MOV qword ptr [RAX],0x0
MOV qword ptr [RAX + 0x8],0x0
MOV qword ptr [RAX + 0x10],0x0
MOV qword ptr [RBX + 0x18],RAX
JMP 0x00233568
LEA RDX,[RSP + 0x18]
MOV RDI,RBP
CALL 0x00237ea0
ADD RSP,0x28
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "void FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */\n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}\n\n" (function_definition "void FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */\n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}" primitive_type (function_declarator "FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)" identifier (parameter_list "(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */\n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "long *local_40 [2];" (sized_type_specifier "long" long) (pointer_declarator "*local_40 [2]" * (array_declarator "local_40 [2]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = *(undefined8 **)(param_1 + 0x18);" (assignment_expression "puVar5 = *(undefined8 **)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x18)" * (cast_expression "(undefined8 **)(param_1 + 0x18)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" if (parenthesized_expression "(puVar5 == (undefined8 *)0x0)" ( (binary_expression "puVar5 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }" { (expression_statement "puVar5 = (undefined8 *)FUN_002a11b0(0x18);" (assignment_expression "puVar5 = (undefined8 *)FUN_002a11b0(0x18)" identifier = (cast_expression "(undefined8 *)FUN_002a11b0(0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[2] = 0;" (assignment_expression "puVar5[2] = 0" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 **)(param_1 + 0x18) = puVar5;" (assignment_expression "*(undefined8 **)(param_1 + 0x18) = puVar5" (pointer_expression "*(undefined8 **)(param_1 + 0x18)" * (cast_expression "(undefined8 **)(param_1 + 0x18)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" else (compound_statement "{\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" { (expression_statement "lVar2 = FUN_00231670();" (assignment_expression "lVar2 = FUN_00231670()" identifier = (call_expression "FUN_00231670()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }" { (expression_statement "uVar3 = gettext("region \'%.*s\' already defined");" (assignment_expression "uVar3 = gettext("region \'%.*s\' already defined")" identifier = (call_expression "gettext("region \'%.*s\' already defined")" identifier (argument_list "("region \'%.*s\' already defined")" ( (string_literal ""region \'%.*s\' already defined"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (expression_statement "FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);" (call_expression "FUN_00191870(uVar3,param_3 & 0xffffffff,param_2)" identifier (argument_list "(uVar3,param_3 & 0xffffffff,param_2)" ( identifier , (binary_expression "param_3 & 0xffffffff" identifier & number_literal) , identifier ))) ;) (expression_statement "puVar5 = *(undefined8 **)(param_1 + 0x18);" (assignment_expression "puVar5 = *(undefined8 **)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x18)" * (cast_expression "(undefined8 **)(param_1 + 0x18)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) }))) (expression_statement "plVar4 = (long *)FUN_002a11b0(0x78);" (assignment_expression "plVar4 = (long *)FUN_002a11b0(0x78)" identifier = (cast_expression "(long *)FUN_002a11b0(0x78)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(0x78)" identifier (argument_list "(0x78)" ( number_literal ))))) ;) (expression_statement "*plVar4 = (long)(plVar4 + 2);" (assignment_expression "*plVar4 = (long)(plVar4 + 2)" (pointer_expression "*plVar4" * identifier) = (cast_expression "(long)(plVar4 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar4 + 2)" ( (binary_expression "plVar4 + 2" identifier + number_literal) )))) ;) comment (expression_statement "FUN_00169c70(plVar4,param_2,param_2 + param_3);" (call_expression "FUN_00169c70(plVar4,param_2,param_2 + param_3)" identifier (argument_list "(plVar4,param_2,param_2 + param_3)" ( identifier , identifier , (binary_expression "param_2 + param_3" identifier + identifier) ))) ;) (expression_statement "plVar4[5] = param_5;" (assignment_expression "plVar4[5] = param_5" (subscript_expression "plVar4[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "plVar4[6] = param_6;" (assignment_expression "plVar4[6] = param_6" (subscript_expression "plVar4[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = (undefined8 *)puVar5[1];" (assignment_expression "puVar1 = (undefined8 *)puVar5[1]" identifier = (cast_expression "(undefined8 *)puVar5[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined4 *)(plVar4 + 4) = param_4;" (assignment_expression "*(undefined4 *)(plVar4 + 4) = param_4" (pointer_expression "*(undefined4 *)(plVar4 + 4)" * (cast_expression "(undefined4 *)(plVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar4 + 4)" ( (binary_expression "plVar4 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar4[7] = 0;" (assignment_expression "plVar4[7] = 0" (subscript_expression "plVar4[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[8] = 0;" (assignment_expression "plVar4[8] = 0" (subscript_expression "plVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[9] = 0;" (assignment_expression "plVar4[9] = 0" (subscript_expression "plVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[10] = 0;" (assignment_expression "plVar4[10] = 0" (subscript_expression "plVar4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xb] = 0;" (assignment_expression "plVar4[0xb] = 0" (subscript_expression "plVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xc] = 0;" (assignment_expression "plVar4[0xc] = 0" (subscript_expression "plVar4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xd] = 0;" (assignment_expression "plVar4[0xd] = 0" (subscript_expression "plVar4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xe] = 0;" (assignment_expression "plVar4[0xe] = 0" (subscript_expression "plVar4[0xe]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (undefined8 *)puVar5[2])" ( (binary_expression "puVar1 != (undefined8 *)puVar5[2]" identifier != (cast_expression "(undefined8 *)puVar5[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = plVar4;" (assignment_expression "*puVar1 = plVar4" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar5[1] = puVar1 + 1;" (assignment_expression "puVar5[1] = puVar1 + 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_40[0] = plVar4;" (assignment_expression "local_40[0] = plVar4" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00237ea0(puVar5,puVar1,local_40);" (call_expression "FUN_00237ea0(puVar5,puVar1,local_40)" identifier (argument_list "(puVar5,puVar1,local_40)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void add_memory_region(Script_sections * this, char * name, size_t\n   namelen, uint attributes, Expression * start, Expression * length) */\n\nvoid __thiscall\ngold::Script_sections::add_memory_region\n          (Script_sections *this,char *name,size_t namelen,uint attributes,Expression *start,\n          Expression *length)\n\n{\n  iterator __position;\n  Memory_region *pMVar1;\n  char *format;\n  vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *this_00;\n  Memory_region *local_40 [2];\n  \n  this_00 = this->memory_regions_;\n  if (this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0) {\n    this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0;\n    this->memory_regions_ = this_00;\n  }\n  else {\n    pMVar1 = find_memory_region(this,name,namelen);\n    if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }\n  }\n  pMVar1 = (Memory_region *)operator_new(0x78);\n  (pMVar1->name_)._M_dataplus._M_p = (pointer)&(pMVar1->name_).field_2;\n                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen);\n  pMVar1->start_ = start;\n  pMVar1->length_ = length;\n  __position._M_current =\n       (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl._M_finish;\n  pMVar1->attributes_ = attributes;\n  pMVar1->current_offset_ = 0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  pMVar1->last_section_ = (Output_section_definition *)0x0;\n  if (__position._M_current !=\n      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage) {\n    *__position._M_current = pMVar1;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  local_40[0] = pMVar1;\n  std::vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>::\n  _M_realloc_insert<gold::Memory_region*>(this_00,__position,local_40);\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Script_sections::add_memory_region\n          (Script_sections *this,char *name,size_t namelen,uint attributes,Expression *start,\n          Expression *length)\n\n{\n  iterator __position;\n  Memory_region *pMVar1;\n  char *format;\n  vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *this_00;\n  Memory_region *local_40 [2];\n  \n  this_00 = this->memory_regions_;\n  if (this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0) {\n    this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0;\n    this->memory_regions_ = this_00;\n  }\n  else {\n    pMVar1 = find_memory_region(this,name,namelen);\n    if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }\n  }\n  pMVar1 = (Memory_region *)operator_new(0x78);\n  (pMVar1->name_)._M_dataplus._M_p = (pointer)&(pMVar1->name_).field_2;\n                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen);\n  pMVar1->start_ = start;\n  pMVar1->length_ = length;\n  __position._M_current =\n       (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl._M_finish;\n  pMVar1->attributes_ = attributes;\n  pMVar1->current_offset_ = 0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  pMVar1->last_section_ = (Output_section_definition *)0x0;\n  if (__position._M_current !=\n      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage) {\n    *__position._M_current = pMVar1;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  local_40[0] = pMVar1;\n  std::vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>::\n  _M_realloc_insert<gold::Memory_region*>(this_00,__position,local_40);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "add_memory_region\n          (Script_sections *this,char *name,size_t namelen,uint attributes,Expression *start,\n          Expression *length)" identifier (parameter_list "(Script_sections *this,char *name,size_t namelen,uint attributes,Expression *start,\n          Expression *length)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t namelen" primitive_type identifier) , (parameter_declaration "uint attributes" type_identifier identifier) , (parameter_declaration "Expression *start" type_identifier (pointer_declarator "*start" * identifier)) , (parameter_declaration "Expression *length" type_identifier (pointer_declarator "*length" * identifier)) ))) (compound_statement "{\n  iterator __position;\n  Memory_region *pMVar1;\n  char *format;\n  vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *this_00;\n  Memory_region *local_40 [2];\n  \n  this_00 = this->memory_regions_;\n  if (this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0) {\n    this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0;\n    this->memory_regions_ = this_00;\n  }\n  else {\n    pMVar1 = find_memory_region(this,name,namelen);\n    if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }\n  }\n  pMVar1 = (Memory_region *)operator_new(0x78);\n  (pMVar1->name_)._M_dataplus._M_p = (pointer)&(pMVar1->name_).field_2;\n                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen);\n  pMVar1->start_ = start;\n  pMVar1->length_ = length;\n  __position._M_current =\n       (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl._M_finish;\n  pMVar1->attributes_ = attributes;\n  pMVar1->current_offset_ = 0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  pMVar1->last_section_ = (Output_section_definition *)0x0;\n  if (__position._M_current !=\n      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage) {\n    *__position._M_current = pMVar1;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  local_40[0] = pMVar1;\n  std::vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>::\n  _M_realloc_insert<gold::Memory_region*>(this_00,__position,local_40);\n  return;\n}" { (declaration "iterator __position;" type_identifier identifier ;) (declaration "Memory_region *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (ERROR "vector<gold::Memory_region*,_std::allocator<gold::" (binary_expression "vector<gold" identifier < identifier) : : (binary_expression "Memory_region*,_std" identifier * (ERROR "," ,) identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Memory_region*>_> *this_00;" (binary_expression "Memory_region*>_> *this_00" (binary_expression "Memory_region*>_" identifier * (ERROR ">" >) identifier) > (pointer_expression "*this_00" * identifier)) ;) (declaration "Memory_region *local_40 [2];" type_identifier (pointer_declarator "*local_40 [2]" * (array_declarator "local_40 [2]" identifier [ number_literal ])) ;) (expression_statement "this_00 = this->memory_regions_;" (assignment_expression "this_00 = this->memory_regions_" identifier = (field_expression "this->memory_regions_" identifier -> field_identifier)) ;) (if_statement "if (this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0) {\n    this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0;\n    this->memory_regions_ = this_00;\n  }\n  else {\n    pMVar1 = find_memory_region(this,name,namelen);\n    if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }\n  }" if (parenthesized_expression "(this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0)" ( (binary_expression "this_00 == (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0)" identifier == (parenthesized_expression "(vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)0x0)" ( (ERROR "vector<gold::Memory_region*,_std::allocator<gold::" (binary_expression "vector<gold" identifier < identifier) : : (type_descriptor "Memory_region*" type_identifier (abstract_pointer_declarator "*" *)) , identifier : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Memory_region*>_> *)0x0" (binary_expression "Memory_region*>_" identifier * (ERROR ">" >) identifier) > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n    this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0;\n    this->memory_regions_ = this_00;\n  }" { (expression_statement "this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0;" (assignment_expression "this_00 = (vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0" identifier = (assignment_expression "(vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start = (pointer)0x0" (field_expression "(vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_start" (field_expression "(vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl" (parenthesized_expression "(vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (ERROR "vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::" (binary_expression "vector<gold" identifier < identifier) : : (type_descriptor "Memory_region*" type_identifier (abstract_pointer_declarator "*" *)) , identifier : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Memory_region*>_> *)\n              operator_new(0x18);\n    (this_00->super__Vector_base<gold::Memory_region*,_std" (binary_expression "Memory_region*>_> *)\n              operator_new(0x18)" (binary_expression "Memory_region*>_" identifier * (ERROR ">" >) identifier) > (pointer_expression "*)\n              operator_new(0x18)" * (ERROR ")" )) (call_expression "operator_new(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) (ERROR ";\n    (this_00->super__Vector_base<gold::Memory_region*" ; ( (binary_expression "this_00->super__Vector_base<gold" (field_expression "this_00->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Memory_region*>_>" (binary_expression "Memory_region*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal))) ;) (expression_statement "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0;" (assignment_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = (pointer)0x0" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl" (parenthesized_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std" (binary_expression "this_00->super__Vector_base<gold" (field_expression "this_00->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage = (pointer)0x0" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_end_of_storage" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl" (parenthesized_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std" (binary_expression "this_00->super__Vector_base<gold" (field_expression "this_00->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "this->memory_regions_ = this_00;" (assignment_expression "this->memory_regions_ = this_00" (field_expression "this->memory_regions_" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    pMVar1 = find_memory_region(this,name,namelen);\n    if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }\n  }" else (compound_statement "{\n    pMVar1 = find_memory_region(this,name,namelen);\n    if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }\n  }" { (expression_statement "pMVar1 = find_memory_region(this,name,namelen);" (assignment_expression "pMVar1 = find_memory_region(this,name,namelen)" identifier = (call_expression "find_memory_region(this,name,namelen)" identifier (argument_list "(this,name,namelen)" ( identifier , identifier , identifier )))) ;) (if_statement "if (pMVar1 != (Memory_region *)0x0) {\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }" if (parenthesized_expression "(pMVar1 != (Memory_region *)0x0)" ( (binary_expression "pMVar1 != (Memory_region *)0x0" identifier != (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      format = (char *)gettext("region \'%.*s\' already defined");\n      gold_error(format,namelen & 0xffffffff,name);\n      this_00 = this->memory_regions_;\n    }" { (expression_statement "format = (char *)gettext("region \'%.*s\' already defined");" (assignment_expression "format = (char *)gettext("region \'%.*s\' already defined")" identifier = (cast_expression "(char *)gettext("region \'%.*s\' already defined")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("region \'%.*s\' already defined")" identifier (argument_list "("region \'%.*s\' already defined")" ( (string_literal ""region \'%.*s\' already defined"" " string_content escape_sequence string_content escape_sequence string_content ") ))))) ;) (expression_statement "gold_error(format,namelen & 0xffffffff,name);" (call_expression "gold_error(format,namelen & 0xffffffff,name)" identifier (argument_list "(format,namelen & 0xffffffff,name)" ( identifier , (binary_expression "namelen & 0xffffffff" identifier & number_literal) , identifier ))) ;) (expression_statement "this_00 = this->memory_regions_;" (assignment_expression "this_00 = this->memory_regions_" identifier = (field_expression "this->memory_regions_" identifier -> field_identifier)) ;) })) }))) (expression_statement "pMVar1 = (Memory_region *)operator_new(0x78);" (assignment_expression "pMVar1 = (Memory_region *)operator_new(0x78)" identifier = (cast_expression "(Memory_region *)operator_new(0x78)" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x78)" identifier (argument_list "(0x78)" ( number_literal ))))) ;) (expression_statement "(pMVar1->name_)._M_dataplus._M_p = (pointer)&(pMVar1->name_).field_2;" (assignment_expression "(pMVar1->name_)._M_dataplus._M_p = (pointer)&(pMVar1->name_).field_2" (field_expression "(pMVar1->name_)._M_dataplus._M_p" (field_expression "(pMVar1->name_)._M_dataplus" (parenthesized_expression "(pMVar1->name_)" ( (field_expression "pMVar1->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "(pointer)&(pMVar1->name_).field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "(pMVar1->name_).field_2" (parenthesized_expression "(pMVar1->name_)" ( (field_expression "pMVar1->name_" identifier -> field_identifier) )) . field_identifier))) ;) comment (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen);" (binary_expression "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen)" ( (parenthesized_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)pMVar1,name,\n             name + namelen)" ( (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (comma_expression "allocator<char>_> *)pMVar1,name,\n             name + namelen" (binary_expression "allocator<char>_> *)pMVar1" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*)pMVar1" * (ERROR ")" )) identifier)) , (comma_expression "name,\n             name + namelen" identifier , (binary_expression "name + namelen" identifier + identifier))) )) ))) ;)) (expression_statement "pMVar1->start_ = start;" (assignment_expression "pMVar1->start_ = start" (field_expression "pMVar1->start_" identifier -> field_identifier) = identifier) ;) (expression_statement "pMVar1->length_ = length;" (assignment_expression "pMVar1->length_ = length" (field_expression "pMVar1->length_" identifier -> field_identifier) = identifier) ;) (expression_statement "__position._M_current =\n       (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl._M_finish;" (assignment_expression "__position._M_current =\n       (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl._M_finish" (field_expression "__position._M_current" identifier . field_identifier) = (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl._M_finish" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n       _M_impl" (parenthesized_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std" (binary_expression "this_00->super__Vector_base<gold" (field_expression "this_00->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "pMVar1->attributes_ = attributes;" (assignment_expression "pMVar1->attributes_ = attributes" (field_expression "pMVar1->attributes_" identifier -> field_identifier) = identifier) ;) (expression_statement "pMVar1->current_offset_ = 0;" (assignment_expression "pMVar1->current_offset_ = 0" (field_expression "pMVar1->current_offset_" identifier -> field_identifier) = number_literal) ;) (expression_statement "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;" (assignment_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base" (parenthesized_expression "(pMVar1->vma_sections_)" ( (field_expression "pMVar1->vma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base" (parenthesized_expression "(pMVar1->vma_sections_)" ( (field_expression "pMVar1->vma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std" (binary_expression "(pMVar1->vma_sections_).\n  super__Vector_base<gold" (field_expression "(pMVar1->vma_sections_).\n  super__Vector_base" (parenthesized_expression "(pMVar1->vma_sections_)" ( (field_expression "pMVar1->vma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0;" (assignment_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start = (pointer)0x0" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_start" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base" (parenthesized_expression "(pMVar1->lma_sections_)" ( (field_expression "pMVar1->lma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish = (pointer)0x0" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_finish" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base" (parenthesized_expression "(pMVar1->lma_sections_)" ( (field_expression "pMVar1->lma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl._M_end_of_storage" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n  ._M_impl" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold::Output_section_definition*,_std" (binary_expression "(pMVar1->lma_sections_).\n  super__Vector_base<gold" (field_expression "(pMVar1->lma_sections_).\n  super__Vector_base" (parenthesized_expression "(pMVar1->lma_sections_)" ( (field_expression "pMVar1->lma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "pMVar1->last_section_ = (Output_section_definition *)0x0;" (assignment_expression "pMVar1->last_section_ = (Output_section_definition *)0x0" (field_expression "pMVar1->last_section_" identifier -> field_identifier) = (cast_expression "(Output_section_definition *)0x0" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__position._M_current !=\n      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage) {\n    *__position._M_current = pMVar1;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" if (parenthesized_expression "(__position._M_current !=\n      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage)" ( (binary_expression "__position._M_current !=\n      (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage" (field_expression "__position._M_current" identifier . field_identifier) != (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl._M_end_of_storage" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n      _M_impl" (parenthesized_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std" (binary_expression "this_00->super__Vector_base<gold" (field_expression "this_00->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    *__position._M_current = pMVar1;\n    (this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" { (expression_statement "*__position._M_current = pMVar1;" (assignment_expression "*__position._M_current = pMVar1" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = identifier) ;) (expression_statement "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1;" (assignment_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish = __position._M_current + 1" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl._M_finish" (field_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n    _M_impl" (parenthesized_expression "(this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "this_00->super__Vector_base<gold::Memory_region*,_std" (binary_expression "this_00->super__Vector_base<gold" (field_expression "this_00->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_40[0] = pMVar1;" (assignment_expression "local_40[0] = pMVar1" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (ERROR "std::vector<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>::\n  _M_realloc_insert<gold::" (comma_expression "std::vector<gold::Memory_region*,_std" identifier (ERROR "::vector<gold::Memory_region*" : : (binary_expression "vector<gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Memory_region*>_>::\n  _M_realloc_insert<gold" (binary_expression "Memory_region*>_>::\n  _M_realloc_insert" (binary_expression "Memory_region*>_" identifier * (ERROR ">" >) identifier) > (ERROR "::" : :) identifier) < identifier) : :) (expression_statement "Memory_region*>(this_00,__position,local_40);" (binary_expression "Memory_region*>(this_00,__position,local_40)" (binary_expression "Memory_region*" identifier * identifier) > (parenthesized_expression "(this_00,__position,local_40)" ( (comma_expression "this_00,__position,local_40" identifier , (comma_expression "__position,local_40" identifier , identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    \n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}\n\n" (function_definition "void FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    \n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}" primitive_type (function_declarator "FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)" identifier (parameter_list "(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    \n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "long *local_40 [2];" (sized_type_specifier "long" long) (pointer_declarator "*local_40 [2]" * (array_declarator "local_40 [2]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = *(undefined8 **)(param_1 + 0x18);" (assignment_expression "puVar5 = *(undefined8 **)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x18)" * (cast_expression "(undefined8 **)(param_1 + 0x18)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" if (parenthesized_expression "(puVar5 == (undefined8 *)0x0)" ( (binary_expression "puVar5 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }" { (expression_statement "puVar5 = (undefined8 *)FUN_002a11b0(0x18);" (assignment_expression "puVar5 = (undefined8 *)FUN_002a11b0(0x18)" identifier = (cast_expression "(undefined8 *)FUN_002a11b0(0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[2] = 0;" (assignment_expression "puVar5[2] = 0" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 **)(param_1 + 0x18) = puVar5;" (assignment_expression "*(undefined8 **)(param_1 + 0x18) = puVar5" (pointer_expression "*(undefined8 **)(param_1 + 0x18)" * (cast_expression "(undefined8 **)(param_1 + 0x18)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" else (compound_statement "{\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" { (expression_statement "lVar2 = FUN_00231670();" (assignment_expression "lVar2 = FUN_00231670()" identifier = (call_expression "FUN_00231670()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }" { (expression_statement "uVar3 = gettext("region \'%.*s\' already defined");" (assignment_expression "uVar3 = gettext("region \'%.*s\' already defined")" identifier = (call_expression "gettext("region \'%.*s\' already defined")" identifier (argument_list "("region \'%.*s\' already defined")" ( (string_literal ""region \'%.*s\' already defined"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (expression_statement "FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);" (call_expression "FUN_00191870(uVar3,param_3 & 0xffffffff,param_2)" identifier (argument_list "(uVar3,param_3 & 0xffffffff,param_2)" ( identifier , (binary_expression "param_3 & 0xffffffff" identifier & number_literal) , identifier ))) ;) (expression_statement "puVar5 = *(undefined8 **)(param_1 + 0x18);" (assignment_expression "puVar5 = *(undefined8 **)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x18)" * (cast_expression "(undefined8 **)(param_1 + 0x18)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) }))) (expression_statement "plVar4 = (long *)FUN_002a11b0(0x78);" (assignment_expression "plVar4 = (long *)FUN_002a11b0(0x78)" identifier = (cast_expression "(long *)FUN_002a11b0(0x78)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(0x78)" identifier (argument_list "(0x78)" ( number_literal ))))) ;) (expression_statement "*plVar4 = (long)(plVar4 + 2);" (assignment_expression "*plVar4 = (long)(plVar4 + 2)" (pointer_expression "*plVar4" * identifier) = (cast_expression "(long)(plVar4 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar4 + 2)" ( (binary_expression "plVar4 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_00169c70(plVar4,param_2,param_2 + param_3);" (call_expression "FUN_00169c70(plVar4,param_2,param_2 + param_3)" identifier (argument_list "(plVar4,param_2,param_2 + param_3)" ( identifier , identifier , (binary_expression "param_2 + param_3" identifier + identifier) ))) ;) (expression_statement "plVar4[5] = param_5;" (assignment_expression "plVar4[5] = param_5" (subscript_expression "plVar4[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "plVar4[6] = param_6;" (assignment_expression "plVar4[6] = param_6" (subscript_expression "plVar4[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = (undefined8 *)puVar5[1];" (assignment_expression "puVar1 = (undefined8 *)puVar5[1]" identifier = (cast_expression "(undefined8 *)puVar5[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined4 *)(plVar4 + 4) = param_4;" (assignment_expression "*(undefined4 *)(plVar4 + 4) = param_4" (pointer_expression "*(undefined4 *)(plVar4 + 4)" * (cast_expression "(undefined4 *)(plVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar4 + 4)" ( (binary_expression "plVar4 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar4[7] = 0;" (assignment_expression "plVar4[7] = 0" (subscript_expression "plVar4[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[8] = 0;" (assignment_expression "plVar4[8] = 0" (subscript_expression "plVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[9] = 0;" (assignment_expression "plVar4[9] = 0" (subscript_expression "plVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[10] = 0;" (assignment_expression "plVar4[10] = 0" (subscript_expression "plVar4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xb] = 0;" (assignment_expression "plVar4[0xb] = 0" (subscript_expression "plVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xc] = 0;" (assignment_expression "plVar4[0xc] = 0" (subscript_expression "plVar4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xd] = 0;" (assignment_expression "plVar4[0xd] = 0" (subscript_expression "plVar4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar4[0xe] = 0;" (assignment_expression "plVar4[0xe] = 0" (subscript_expression "plVar4[0xe]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (undefined8 *)puVar5[2])" ( (binary_expression "puVar1 != (undefined8 *)puVar5[2]" identifier != (cast_expression "(undefined8 *)puVar5[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = plVar4;" (assignment_expression "*puVar1 = plVar4" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar5[1] = puVar1 + 1;" (assignment_expression "puVar5[1] = puVar1 + 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_40[0] = plVar4;" (assignment_expression "local_40[0] = plVar4" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00237ea0(puVar5,puVar1,local_40);" (call_expression "FUN_00237ea0(puVar5,puVar1,local_40)" identifier (argument_list "(puVar5,puVar1,local_40)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    \n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00233510(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)" (identifier "FUN_00233510") (parameter_list "(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,\n                 long param_6)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "long param_5" (sized_type_specifier "long" (long "long")) (identifier "param_5")) (, ",") (parameter_declaration "long param_6" (sized_type_specifier "long" (long "long")) (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *plVar4;\n  undefined8 *puVar5;\n  long *local_40 [2];\n  \n  puVar5 = *(undefined8 **)(param_1 + 0x18);\n  if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }\n  plVar4 = (long *)FUN_002a11b0(0x78);\n  *plVar4 = (long)(plVar4 + 2);\n                    \n  FUN_00169c70(plVar4,param_2,param_2 + param_3);\n  plVar4[5] = param_5;\n  plVar4[6] = param_6;\n  puVar1 = (undefined8 *)puVar5[1];\n  *(undefined4 *)(plVar4 + 4) = param_4;\n  plVar4[7] = 0;\n  plVar4[8] = 0;\n  plVar4[9] = 0;\n  plVar4[10] = 0;\n  plVar4[0xb] = 0;\n  plVar4[0xc] = 0;\n  plVar4[0xd] = 0;\n  plVar4[0xe] = 0;\n  if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }\n  local_40[0] = plVar4;\n  FUN_00237ea0(puVar5,puVar1,local_40);\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "long *local_40 [2];" (sized_type_specifier "long" (long "long")) (pointer_declarator "*local_40 [2]" (* "*") (array_declarator "local_40 [2]" (identifier "local_40") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar5 = *(undefined8 **)(param_1 + 0x18);" (assignment_expression "puVar5 = *(undefined8 **)(param_1 + 0x18)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x18)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x18)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (puVar5 == (undefined8 *)0x0) {\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }\n  else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" (if "if") (parenthesized_expression "(puVar5 == (undefined8 *)0x0)" (( "(") (binary_expression "puVar5 == (undefined8 *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar5 = (undefined8 *)FUN_002a11b0(0x18);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined8 **)(param_1 + 0x18) = puVar5;\n  }" ({ "{") (expression_statement "puVar5 = (undefined8 *)FUN_002a11b0(0x18);" (assignment_expression "puVar5 = (undefined8 *)FUN_002a11b0(0x18)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)FUN_002a11b0(0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002a11b0(0x18)" (identifier "FUN_002a11b0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[2] = 0;" (assignment_expression "puVar5[2] = 0" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 **)(param_1 + 0x18) = puVar5;" (assignment_expression "*(undefined8 **)(param_1 + 0x18) = puVar5" (pointer_expression "*(undefined8 **)(param_1 + 0x18)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x18)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (} "}")) (else_clause "else {\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" (else "else") (compound_statement "{\n    lVar2 = FUN_00231670();\n    if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }\n  }" ({ "{") (expression_statement "lVar2 = FUN_00231670();" (assignment_expression "lVar2 = FUN_00231670()" (identifier "lVar2") (= "=") (call_expression "FUN_00231670()" (identifier "FUN_00231670") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar2 != 0) {\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }" (if "if") (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = gettext("region \'%.*s\' already defined");\n      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);\n      puVar5 = *(undefined8 **)(param_1 + 0x18);\n    }" ({ "{") (expression_statement "uVar3 = gettext("region \'%.*s\' already defined");" (assignment_expression "uVar3 = gettext("region \'%.*s\' already defined")" (identifier "uVar3") (= "=") (call_expression "gettext("region \'%.*s\' already defined")" (identifier "gettext") (argument_list "("region \'%.*s\' already defined")" (( "(") (string_literal ""region \'%.*s\' already defined"" (" """) (string_content "region ") (escape_sequence "\'") (string_content "%.*s") (escape_sequence "\'") (string_content " already defined") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);" (call_expression "FUN_00191870(uVar3,param_3 & 0xffffffff,param_2)" (identifier "FUN_00191870") (argument_list "(uVar3,param_3 & 0xffffffff,param_2)" (( "(") (identifier "uVar3") (, ",") (binary_expression "param_3 & 0xffffffff" (identifier "param_3") (& "&") (number_literal "0xffffffff")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "puVar5 = *(undefined8 **)(param_1 + 0x18);" (assignment_expression "puVar5 = *(undefined8 **)(param_1 + 0x18)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x18)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x18)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (} "}")))) (expression_statement "plVar4 = (long *)FUN_002a11b0(0x78);" (assignment_expression "plVar4 = (long *)FUN_002a11b0(0x78)" (identifier "plVar4") (= "=") (cast_expression "(long *)FUN_002a11b0(0x78)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002a11b0(0x78)" (identifier "FUN_002a11b0") (argument_list "(0x78)" (( "(") (number_literal "0x78") () ")"))))) (; ";")) (expression_statement "*plVar4 = (long)(plVar4 + 2);" (assignment_expression "*plVar4 = (long)(plVar4 + 2)" (pointer_expression "*plVar4" (* "*") (identifier "plVar4")) (= "=") (cast_expression "(long)(plVar4 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(plVar4 + 2)" (( "(") (binary_expression "plVar4 + 2" (identifier "plVar4") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "FUN_00169c70(plVar4,param_2,param_2 + param_3);" (call_expression "FUN_00169c70(plVar4,param_2,param_2 + param_3)" (identifier "FUN_00169c70") (argument_list "(plVar4,param_2,param_2 + param_3)" (( "(") (identifier "plVar4") (, ",") (identifier "param_2") (, ",") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "plVar4[5] = param_5;" (assignment_expression "plVar4[5] = param_5" (subscript_expression "plVar4[5]" (identifier "plVar4") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "plVar4[6] = param_6;" (assignment_expression "plVar4[6] = param_6" (subscript_expression "plVar4[6]" (identifier "plVar4") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar1 = (undefined8 *)puVar5[1];" (assignment_expression "puVar1 = (undefined8 *)puVar5[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)puVar5[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*(undefined4 *)(plVar4 + 4) = param_4;" (assignment_expression "*(undefined4 *)(plVar4 + 4) = param_4" (pointer_expression "*(undefined4 *)(plVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(plVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar4 + 4)" (( "(") (binary_expression "plVar4 + 4" (identifier "plVar4") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "plVar4[7] = 0;" (assignment_expression "plVar4[7] = 0" (subscript_expression "plVar4[7]" (identifier "plVar4") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[8] = 0;" (assignment_expression "plVar4[8] = 0" (subscript_expression "plVar4[8]" (identifier "plVar4") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[9] = 0;" (assignment_expression "plVar4[9] = 0" (subscript_expression "plVar4[9]" (identifier "plVar4") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[10] = 0;" (assignment_expression "plVar4[10] = 0" (subscript_expression "plVar4[10]" (identifier "plVar4") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[0xb] = 0;" (assignment_expression "plVar4[0xb] = 0" (subscript_expression "plVar4[0xb]" (identifier "plVar4") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[0xc] = 0;" (assignment_expression "plVar4[0xc] = 0" (subscript_expression "plVar4[0xc]" (identifier "plVar4") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[0xd] = 0;" (assignment_expression "plVar4[0xd] = 0" (subscript_expression "plVar4[0xd]" (identifier "plVar4") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar4[0xe] = 0;" (assignment_expression "plVar4[0xe] = 0" (subscript_expression "plVar4[0xe]" (identifier "plVar4") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar1 != (undefined8 *)puVar5[2]) {\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != (undefined8 *)puVar5[2])" (( "(") (binary_expression "puVar1 != (undefined8 *)puVar5[2]" (identifier "puVar1") (!= "!=") (cast_expression "(undefined8 *)puVar5[2]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    *puVar1 = plVar4;\n    puVar5[1] = puVar1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = plVar4;" (assignment_expression "*puVar1 = plVar4" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "plVar4")) (; ";")) (expression_statement "puVar5[1] = puVar1 + 1;" (assignment_expression "puVar5[1] = puVar1 + 1" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_40[0] = plVar4;" (assignment_expression "local_40[0] = plVar4" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "plVar4")) (; ";")) (expression_statement "FUN_00237ea0(puVar5,puVar1,local_40);" (call_expression "FUN_00237ea0(puVar5,puVar1,local_40)" (identifier "FUN_00237ea0") (argument_list "(puVar5,puVar1,local_40)" (( "(") (identifier "puVar5") (, ",") (identifier "puVar1") (, ",") (identifier "local_40") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void add_memory_region(Script_sections * this, char * name, size_t
   namelen, uint attributes, Expression * start, Expression * length) */

void __thiscall
var_4::type_1::function_1
          (type_1 *this,char *var_16,size_t var_10,type_2 attributes,type_3 *start,
          type_3 *length)

{
  type_4 __position;
  type_5 *var_7;
  char *format;
  vector<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1> *var_2;
  type_5 *local_40 [2];
  
  var_2 = this->memory_regions_;
  if (var_2 == (vector<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1> *)0x0) {
    var_2 = (vector<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1> *)
              var_11(0x18);
    (var_2->super__Vector_base<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>var_3).
    _M_impl._M_start = (type_6)0x0;
    (var_2->super__Vector_base<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>var_3).
    _M_impl._M_finish = (type_6)0x0;
    (var_2->super__Vector_base<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>var_3).
    _M_impl._M_end_of_storage = (type_6)0x0;
    this->memory_regions_ = var_2;
  }
  else {
    var_7 = var_6(this,var_16,var_10);
    if (var_7 != (type_5 *)0x0) {
      format = (char *)var_8("region \'%.*s\' already defined");
      var_9(format,var_10 & 0xffffffff,var_16);
      var_2 = this->memory_regions_;
    }
  }
  var_7 = (type_5 *)var_11(0x78);
  (var_7->name_)._M_dataplus._M_p = (type_6)&(var_7->name_).field_2;
                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */
  std::__cxx11::basic_string<var_15,var_5::char_traits<var_15>,var_5::var_14<var_15>var_1>::
  var_12<var_13*>
            ((basic_string<var_15,var_5::char_traits<var_15>,var_5::var_14<var_15>var_1> *)var_7,var_16,
             var_16 + var_10);
  var_7->start_ = start;
  var_7->length_ = length;
  __position._M_current =
       (var_2->super__Vector_base<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>var_3).
       _M_impl._M_finish;
  var_7->attributes_ = attributes;
  var_7->current_offset_ = 0;
  (var_7->vma_sections_).
  super__Vector_base<var_4::type_7*,var_5::var_14<var_4::type_7*>var_1>
  ._M_impl._M_start = (type_6)0x0;
  (var_7->vma_sections_).
  super__Vector_base<var_4::type_7*,var_5::var_14<var_4::type_7*>var_1>
  ._M_impl._M_finish = (type_6)0x0;
  (var_7->vma_sections_).
  super__Vector_base<var_4::type_7*,var_5::var_14<var_4::type_7*>var_1>
  ._M_impl._M_end_of_storage = (type_6)0x0;
  (var_7->lma_sections_).
  super__Vector_base<var_4::type_7*,var_5::var_14<var_4::type_7*>var_1>
  ._M_impl._M_start = (type_6)0x0;
  (var_7->lma_sections_).
  super__Vector_base<var_4::type_7*,var_5::var_14<var_4::type_7*>var_1>
  ._M_impl._M_finish = (type_6)0x0;
  (var_7->lma_sections_).
  super__Vector_base<var_4::type_7*,var_5::var_14<var_4::type_7*>var_1>
  ._M_impl._M_end_of_storage = (type_6)0x0;
  var_7->last_section_ = (type_7 *)0x0;
  if (__position._M_current !=
      (var_2->super__Vector_base<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>var_3).
      _M_impl._M_end_of_storage) {
    *__position._M_current = var_7;
    (var_2->super__Vector_base<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>var_3).
    _M_impl._M_finish = __position._M_current + 1;
    return;
  }
  local_40[0] = var_7;
  std::vector<var_4::type_5*,var_5::var_14<var_4::type_5*>var_1>::
  _M_realloc_insert<var_4::type_5*var_3>(var_2,__position,local_40);
  return;
}


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

void MASKED(long param_1,long param_2,ulong param_3,undefined4 param_4,long param_5,
                 long param_6)

{
  undefined8 *puVar1;
  long lVar2;
  undefined8 uVar3;
  long *plVar4;
  undefined8 *puVar5;
  long *local_40 [2];
  
  puVar5 = *(undefined8 **)(param_1 + 0x18);
  if (puVar5 == (undefined8 *)0x0) {
    puVar5 = (undefined8 *)FUN_002a11b0(0x18);
    *puVar5 = 0;
    puVar5[1] = 0;
    puVar5[2] = 0;
    *(undefined8 **)(param_1 + 0x18) = puVar5;
  }
  else {
    lVar2 = FUN_00231670();
    if (lVar2 != 0) {
      uVar3 = gettext("region \'%.*s\' already defined");
      FUN_00191870(uVar3,param_3 & 0xffffffff,param_2);
      puVar5 = *(undefined8 **)(param_1 + 0x18);
    }
  }
  plVar4 = (long *)FUN_002a11b0(0x78);
  *plVar4 = (long)(plVar4 + 2);
                    /* try { // try from 00233587 to 0023358b has its CatchHandler @ 00233654 */
  FUN_00169c70(plVar4,param_2,param_2 + param_3);
  plVar4[5] = param_5;
  plVar4[6] = param_6;
  puVar1 = (undefined8 *)puVar5[1];
  *(undefined4 *)(plVar4 + 4) = param_4;
  plVar4[7] = 0;
  plVar4[8] = 0;
  plVar4[9] = 0;
  plVar4[10] = 0;
  plVar4[0xb] = 0;
  plVar4[0xc] = 0;
  plVar4[0xd] = 0;
  plVar4[0xe] = 0;
  if (puVar1 != (undefined8 *)puVar5[2]) {
    *puVar1 = plVar4;
    puVar5[1] = puVar1 + 1;
    return;
  }
  local_40[0] = plVar4;
  FUN_00237ea0(puVar5,puVar1,local_40);
  return;
}

