
/* DWARF original prototype: void
   reserve(vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_> *
   this, size_type __n) */

void __thiscall
std::vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>::reserve
          (vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>
           *this,size_type __n)

{
  pointer pGVar1;
  char *pcVar2;
  pointer pGVar3;
  pointer pGVar4;
  long lVar5;
  pointer pGVar6;
  pointer pGVar7;
  
  if (0xfffffffffffffff < __n) {
                    /* WARNING: Subroutine does not return */
    __throw_length_error("vector::reserve");
  }
  pGVar4 = (this->
           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>
           )._M_impl._M_start;
  if (__n <= (ulong)((long)(this->
                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>
                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4)) {
    return;
  }
  pGVar1 = (this->
           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>
           )._M_impl._M_finish;
  lVar5 = (long)pGVar1 - (long)pGVar4;
  if (__n == 0) {
    pGVar3 = (pointer)0x0;
    pGVar7 = pGVar3;
    pGVar6 = pGVar4;
  }
  else {
    pGVar3 = (pointer)operator_new(__n * 0x10);
    pGVar7 = pGVar3;
    pGVar6 = (this->
             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>
             )._M_impl._M_start;
  }
  for (; pGVar4 != pGVar1; pGVar4 = pGVar4 + 1) {
    pcVar2 = pGVar4->signature;
    pGVar3->section = pGVar4->section;
    pGVar3->signature = pcVar2;
    pGVar3 = pGVar3 + 1;
  }
  if (pGVar6 != (pointer)0x0) {
    operator_delete(pGVar6);
  }
  (this->
  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)
  ._M_impl._M_start = pGVar7;
  (this->
  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)
  ._M_impl._M_finish = (pointer)(lVar5 + (long)pGVar7);
  (this->
  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)
  ._M_impl._M_end_of_storage = pGVar7 + __n;
  return;
}



void FUN_001c2020(long *param_1,ulong param_2)

{
  undefined8 *puVar1;
  undefined8 uVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  long lVar5;
  undefined8 *puVar6;
  undefined8 *puVar7;
  
  if (0xfffffffffffffff < param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_002e12b0("vector::reserve");
  }
  puVar4 = (undefined8 *)*param_1;
  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {
    return;
  }
  puVar1 = (undefined8 *)param_1[1];
  lVar5 = (long)puVar1 - (long)puVar4;
  if (param_2 == 0) {
    puVar3 = (undefined8 *)0x0;
    puVar7 = puVar3;
    puVar6 = puVar4;
  }
  else {
    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);
    puVar7 = puVar3;
    puVar6 = (undefined8 *)*param_1;
  }
  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {
    uVar2 = puVar4[1];
    *puVar3 = *puVar4;
    puVar3[1] = uVar2;
    puVar3 = puVar3 + 2;
  }
  if (puVar6 != (undefined8 *)0x0) {
    FUN_002a2980();
  }
  *param_1 = (long)puVar7;
  param_1[1] = lVar5 + (long)puVar7;
  param_1[2] = (long)(puVar7 + param_2 * 2);
  return;
}


MOV RAX,0xfffffffffffffff
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
CMP RSI,RAX
JA 0x001c20f8
MOV RBX,qword ptr [RDI]
MOV RAX,qword ptr [RDI + 0x10]
MOV R13,RDI
SUB RAX,RBX
SAR RAX,0x4
CMP RAX,RSI
JC 0x001c2070
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV R14,qword ptr [RDI + 0x8]
MOV R12,RSI
SHL R12,0x4
MOV RBP,R14
SUB RBP,RBX
TEST RSI,RSI
JZ 0x001c20f0
MOV RDI,R12
CALL 0x002a11b0
MOV RDI,qword ptr [R13]
MOV R15,RAX
MOV RDX,RBX
MOV RCX,R15
CMP RBX,R14
JZ 0x001c20bc
MOV R8,qword ptr [RDX]
MOV RSI,qword ptr [RDX + 0x8]
ADD RDX,0x10
ADD RCX,0x10
MOV qword ptr [RCX + -0x10],R8
MOV qword ptr [RCX + -0x8],RSI
CMP R14,RDX
JNZ 0x001c20a0
TEST RDI,RDI
JZ 0x001c20c6
CALL 0x002a2980
ADD RBP,R15
ADD R12,R15
MOV qword ptr [R13],R15
MOV qword ptr [R13 + 0x8],RBP
MOV qword ptr [R13 + 0x10],R12
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,RBX
XOR R15D,R15D
JMP 0x001c2095
LEA RDI,[0x340ce4]
CALL 0x002e12b0
(translation_unit "void FUN_001c2020(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}\n\n" (function_definition "void FUN_001c2020(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}" primitive_type (function_declarator "FUN_001c2020(long *param_1,ulong param_2)" identifier (parameter_list "(long *param_1,ulong param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined8 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (if_statement "if (0xfffffffffffffff < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002e12b0("vector::reserve");\n  }" if (parenthesized_expression "(0xfffffffffffffff < param_2)" ( (binary_expression "0xfffffffffffffff < param_2" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002e12b0("vector::reserve");\n  }" { comment (expression_statement "FUN_002e12b0("vector::reserve");" (call_expression "FUN_002e12b0("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "puVar4 = (undefined8 *)*param_1;" (assignment_expression "puVar4 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }" if (parenthesized_expression "(param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4))" ( (binary_expression "param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)" identifier <= (call_expression "(ulong)(param_1[2] - (long)puVar4 >> 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1[2] - (long)puVar4 >> 4)" ( (binary_expression "param_1[2] - (long)puVar4 >> 4" (binary_expression "param_1[2] - (long)puVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined8 *)param_1[1];" (assignment_expression "puVar1 = (undefined8 *)param_1[1]" identifier = (cast_expression "(undefined8 *)param_1[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "lVar5 = (long)puVar1 - (long)puVar4;" (assignment_expression "lVar5 = (long)puVar1 - (long)puVar4" identifier = (binary_expression "(long)puVar1 - (long)puVar4" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }" { (expression_statement "puVar3 = (undefined8 *)0x0;" (assignment_expression "puVar3 = (undefined8 *)0x0" identifier = (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (expression_statement "puVar6 = puVar4;" (assignment_expression "puVar6 = puVar4" identifier = identifier) ;) }) (else_clause "else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" else (compound_statement "{\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" { (expression_statement "puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);" (assignment_expression "puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10)" identifier = (cast_expression "(undefined8 *)FUN_002a11b0(param_2 * 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(param_2 * 0x10)" identifier (argument_list "(param_2 * 0x10)" ( (binary_expression "param_2 * 0x10" identifier * number_literal) ))))) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (expression_statement "puVar6 = (undefined8 *)*param_1;" (assignment_expression "puVar6 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }))) (for_statement "for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }" for ( ; (binary_expression "puVar4 != puVar1" identifier != identifier) ; (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ) (compound_statement "{\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }" { (expression_statement "uVar2 = puVar4[1];" (assignment_expression "uVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar3 = *puVar4;" (assignment_expression "*puVar3 = *puVar4" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) })) (if_statement "if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }" if (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" ( (binary_expression "puVar6 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_002a2980();\n  }" { (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*param_1 = (long)puVar7;" (assignment_expression "*param_1 = (long)puVar7" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[1] = lVar5 + (long)puVar7;" (assignment_expression "param_1[1] = lVar5 + (long)puVar7" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "lVar5 + (long)puVar7" identifier + (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1[2] = (long)(puVar7 + param_2 * 2);" (assignment_expression "param_1[2] = (long)(puVar7 + param_2 * 2)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)(puVar7 + param_2 * 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar7 + param_2 * 2)" ( (binary_expression "puVar7 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal)) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void\n   reserve(vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_> *\n   this, size_type __n) */\n\nvoid __thiscall\nstd::vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>::reserve\n          (vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           *this,size_type __n)\n\n{\n  pointer pGVar1;\n  char *pcVar2;\n  pointer pGVar3;\n  pointer pGVar4;\n  long lVar5;\n  pointer pGVar6;\n  pointer pGVar7;\n  \n  if (0xfffffffffffffff < __n) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::reserve");\n  }\n  pGVar4 = (this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_start;\n  if (__n <= (ulong)((long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4)) {\n    return;\n  }\n  pGVar1 = (this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_finish;\n  lVar5 = (long)pGVar1 - (long)pGVar4;\n  if (__n == 0) {\n    pGVar3 = (pointer)0x0;\n    pGVar7 = pGVar3;\n    pGVar6 = pGVar4;\n  }\n  else {\n    pGVar3 = (pointer)operator_new(__n * 0x10);\n    pGVar7 = pGVar3;\n    pGVar6 = (this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start;\n  }\n  for (; pGVar4 != pGVar1; pGVar4 = pGVar4 + 1) {\n    pcVar2 = pGVar4->signature;\n    pGVar3->section = pGVar4->section;\n    pGVar3->signature = pcVar2;\n    pGVar3 = pGVar3 + 1;\n  }\n  if (pGVar6 != (pointer)0x0) {\n    operator_delete(pGVar6);\n  }\n  (this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_start = pGVar7;\n  (this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_finish = (pointer)(lVar5 + (long)pGVar7);\n  (this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_end_of_storage = pGVar7 + __n;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>::reserve\n          (vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           *this,size_type __n)\n\n{\n  pointer pGVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<gold::Layout::" identifier : : identifier < identifier : : identifier : :) identifier , (ERROR "_std::allocator<gold::Layout::Group_signature>_>::reserve\n          (vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           *this,size_type __n)\n\n{\n  pointer" identifier : : identifier < identifier : : identifier : : identifier > identifier > : : (function_declarator "reserve\n          (vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           *this,size_type __n)" identifier (parameter_list "(vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           *this,size_type __n)" ( (parameter_declaration "vector<gold::Layout::Group_signature" type_identifier (ERROR "<gold::Layout::" < identifier : : identifier : :) identifier) , (parameter_declaration "_std::allocator<gold::Layout::Group_signature>_>\n           *this" type_identifier (ERROR "::allocator<gold::Layout::Group_signature>_>" : : identifier < identifier : : identifier : : identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "size_type __n" type_identifier identifier) ))) { identifier) identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "pointer pGVar3;" type_identifier identifier ;) (declaration "pointer pGVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "pointer pGVar6;" type_identifier identifier ;) (declaration "pointer pGVar7;" type_identifier identifier ;) (if_statement "if (0xfffffffffffffff < __n) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::reserve");\n  }" if (parenthesized_expression "(0xfffffffffffffff < __n)" ( (binary_expression "0xfffffffffffffff < __n" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::reserve");\n  }" { comment (expression_statement "__throw_length_error("vector::reserve");" (call_expression "__throw_length_error("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "pGVar4 = (this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_start;" (assignment_expression "pGVar4 = (this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_start" identifier = (field_expression "(this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_start" (field_expression "(this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl" (parenthesized_expression "(this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )" ( (ERROR "this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n           super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n           super__Vector_base<gold" (field_expression "this->\n           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (__n <= (ulong)((long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4)) {\n    return;\n  }" if (parenthesized_expression "(__n <= (ulong)((long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4))" ( (binary_expression "__n <= (ulong)((long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4)" identifier <= (call_expression "(ulong)((long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4)" ( (binary_expression "(long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4 >> 4" (binary_expression "(long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage - (long)pGVar4" (cast_expression "(long)(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl._M_end_of_storage" (field_expression "(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )._M_impl" (parenthesized_expression "(this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n                           )" ( (ERROR "this->\n                           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n                           super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n                           super__Vector_base<gold" (field_expression "this->\n                           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) - (cast_expression "(long)pGVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pGVar1 = (this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_finish;" (assignment_expression "pGVar1 = (this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_finish" identifier = (field_expression "(this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl._M_finish" (field_expression "(this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )._M_impl" (parenthesized_expression "(this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n           )" ( (ERROR "this->\n           super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n           super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n           super__Vector_base<gold" (field_expression "this->\n           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "lVar5 = (long)pGVar1 - (long)pGVar4;" (assignment_expression "lVar5 = (long)pGVar1 - (long)pGVar4" identifier = (binary_expression "(long)pGVar1 - (long)pGVar4" (cast_expression "(long)pGVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)pGVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n == 0) {\n    pGVar3 = (pointer)0x0;\n    pGVar7 = pGVar3;\n    pGVar6 = pGVar4;\n  }\n  else {\n    pGVar3 = (pointer)operator_new(__n * 0x10);\n    pGVar7 = pGVar3;\n    pGVar6 = (this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start;\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    pGVar3 = (pointer)0x0;\n    pGVar7 = pGVar3;\n    pGVar6 = pGVar4;\n  }" { (expression_statement "pGVar3 = (pointer)0x0;" (assignment_expression "pGVar3 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "pGVar7 = pGVar3;" (assignment_expression "pGVar7 = pGVar3" identifier = identifier) ;) (expression_statement "pGVar6 = pGVar4;" (assignment_expression "pGVar6 = pGVar4" identifier = identifier) ;) }) (else_clause "else {\n    pGVar3 = (pointer)operator_new(__n * 0x10);\n    pGVar7 = pGVar3;\n    pGVar6 = (this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start;\n  }" else (compound_statement "{\n    pGVar3 = (pointer)operator_new(__n * 0x10);\n    pGVar7 = pGVar3;\n    pGVar6 = (this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start;\n  }" { (expression_statement "pGVar3 = (pointer)operator_new(__n * 0x10);" (assignment_expression "pGVar3 = (pointer)operator_new(__n * 0x10)" identifier = (cast_expression "(pointer)operator_new(__n * 0x10)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(__n * 0x10)" identifier (argument_list "(__n * 0x10)" ( (binary_expression "__n * 0x10" identifier * number_literal) ))))) ;) (expression_statement "pGVar7 = pGVar3;" (assignment_expression "pGVar7 = pGVar3" identifier = identifier) ;) (expression_statement "pGVar6 = (this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start;" (assignment_expression "pGVar6 = (this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start" identifier = (field_expression "(this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl._M_start" (field_expression "(this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )._M_impl" (parenthesized_expression "(this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>\n             )" ( (ERROR "this->\n             super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n             super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n             super__Vector_base<gold" (field_expression "this->\n             super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) }))) (for_statement "for (; pGVar4 != pGVar1; pGVar4 = pGVar4 + 1) {\n    pcVar2 = pGVar4->signature;\n    pGVar3->section = pGVar4->section;\n    pGVar3->signature = pcVar2;\n    pGVar3 = pGVar3 + 1;\n  }" for ( ; (binary_expression "pGVar4 != pGVar1" identifier != identifier) ; (assignment_expression "pGVar4 = pGVar4 + 1" identifier = (binary_expression "pGVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n    pcVar2 = pGVar4->signature;\n    pGVar3->section = pGVar4->section;\n    pGVar3->signature = pcVar2;\n    pGVar3 = pGVar3 + 1;\n  }" { (expression_statement "pcVar2 = pGVar4->signature;" (assignment_expression "pcVar2 = pGVar4->signature" identifier = (field_expression "pGVar4->signature" identifier -> field_identifier)) ;) (expression_statement "pGVar3->section = pGVar4->section;" (assignment_expression "pGVar3->section = pGVar4->section" (field_expression "pGVar3->section" identifier -> field_identifier) = (field_expression "pGVar4->section" identifier -> field_identifier)) ;) (expression_statement "pGVar3->signature = pcVar2;" (assignment_expression "pGVar3->signature = pcVar2" (field_expression "pGVar3->signature" identifier -> field_identifier) = identifier) ;) (expression_statement "pGVar3 = pGVar3 + 1;" (assignment_expression "pGVar3 = pGVar3 + 1" identifier = (binary_expression "pGVar3 + 1" identifier + number_literal)) ;) })) (if_statement "if (pGVar6 != (pointer)0x0) {\n    operator_delete(pGVar6);\n  }" if (parenthesized_expression "(pGVar6 != (pointer)0x0)" ( (binary_expression "pGVar6 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    operator_delete(pGVar6);\n  }" { (expression_statement "operator_delete(pGVar6);" (call_expression "operator_delete(pGVar6)" identifier (argument_list "(pGVar6)" ( identifier ))) ;) })) (expression_statement "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_start = pGVar7;" (assignment_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_start = pGVar7" (field_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_start" (field_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl" (parenthesized_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)" ( (ERROR "this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n  super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n  super__Vector_base<gold" (field_expression "this->\n  super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_finish = (pointer)(lVar5 + (long)pGVar7);" (assignment_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_finish = (pointer)(lVar5 + (long)pGVar7)" (field_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_finish" (field_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl" (parenthesized_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)" ( (ERROR "this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n  super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n  super__Vector_base<gold" (field_expression "this->\n  super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) = (call_expression "(pointer)(lVar5 + (long)pGVar7)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(lVar5 + (long)pGVar7)" ( (binary_expression "lVar5 + (long)pGVar7" identifier + (cast_expression "(long)pGVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_end_of_storage = pGVar7 + __n;" (assignment_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_end_of_storage = pGVar7 + __n" (field_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl._M_end_of_storage" (field_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)\n  ._M_impl" (parenthesized_expression "(this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_>)" ( (ERROR "this->\n  super__Vector_base<gold::Layout::Group_signature,_std::allocator<gold::Layout::" (comma_expression "this->\n  super__Vector_base<gold::Layout::Group_signature,_std" (binary_expression "this->\n  super__Vector_base<gold" (field_expression "this->\n  super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Layout::Group_signature" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Group_signature>_>" (binary_expression "Group_signature>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "pGVar7 + __n" identifier + identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001c2020(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}\n\n" (function_definition "void FUN_001c2020(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}" primitive_type (function_declarator "FUN_001c2020(long *param_1,ulong param_2)" identifier (parameter_list "(long *param_1,ulong param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined8 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (if_statement "if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }" if (parenthesized_expression "(0xfffffffffffffff < param_2)" ( (binary_expression "0xfffffffffffffff < param_2" number_literal < identifier) )) (compound_statement "{\n                    \n    FUN_002e12b0("vector::reserve");\n  }" { (expression_statement "FUN_002e12b0("vector::reserve");" (call_expression "FUN_002e12b0("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "puVar4 = (undefined8 *)*param_1;" (assignment_expression "puVar4 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }" if (parenthesized_expression "(param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4))" ( (binary_expression "param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)" identifier <= (call_expression "(ulong)(param_1[2] - (long)puVar4 >> 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1[2] - (long)puVar4 >> 4)" ( (binary_expression "param_1[2] - (long)puVar4 >> 4" (binary_expression "param_1[2] - (long)puVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined8 *)param_1[1];" (assignment_expression "puVar1 = (undefined8 *)param_1[1]" identifier = (cast_expression "(undefined8 *)param_1[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "lVar5 = (long)puVar1 - (long)puVar4;" (assignment_expression "lVar5 = (long)puVar1 - (long)puVar4" identifier = (binary_expression "(long)puVar1 - (long)puVar4" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }" { (expression_statement "puVar3 = (undefined8 *)0x0;" (assignment_expression "puVar3 = (undefined8 *)0x0" identifier = (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (expression_statement "puVar6 = puVar4;" (assignment_expression "puVar6 = puVar4" identifier = identifier) ;) }) (else_clause "else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" else (compound_statement "{\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" { (expression_statement "puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);" (assignment_expression "puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10)" identifier = (cast_expression "(undefined8 *)FUN_002a11b0(param_2 * 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(param_2 * 0x10)" identifier (argument_list "(param_2 * 0x10)" ( (binary_expression "param_2 * 0x10" identifier * number_literal) ))))) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (expression_statement "puVar6 = (undefined8 *)*param_1;" (assignment_expression "puVar6 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }))) (for_statement "for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }" for ( ; (binary_expression "puVar4 != puVar1" identifier != identifier) ; (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ) (compound_statement "{\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }" { (expression_statement "uVar2 = puVar4[1];" (assignment_expression "uVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar3 = *puVar4;" (assignment_expression "*puVar3 = *puVar4" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) })) (if_statement "if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }" if (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" ( (binary_expression "puVar6 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_002a2980();\n  }" { (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*param_1 = (long)puVar7;" (assignment_expression "*param_1 = (long)puVar7" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[1] = lVar5 + (long)puVar7;" (assignment_expression "param_1[1] = lVar5 + (long)puVar7" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "lVar5 + (long)puVar7" identifier + (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1[2] = (long)(puVar7 + param_2 * 2);" (assignment_expression "param_1[2] = (long)(puVar7 + param_2 * 2)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)(puVar7 + param_2 * 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar7 + param_2 * 2)" ( (binary_expression "puVar7 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal)) )))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) >> LIT) )))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) (for_statement for ( ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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 (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_001c2020(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001c2020(long *param_1,ulong param_2)" (identifier "FUN_001c2020") (parameter_list "(long *param_1,ulong param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  long lVar5;\n  undefined8 *puVar6;\n  undefined8 *puVar7;\n  \n  if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }\n  puVar4 = (undefined8 *)*param_1;\n  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }\n  puVar1 = (undefined8 *)param_1[1];\n  lVar5 = (long)puVar1 - (long)puVar4;\n  if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }\n  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }\n  if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }\n  *param_1 = (long)puVar7;\n  param_1[1] = lVar5 + (long)puVar7;\n  param_1[2] = (long)(puVar7 + param_2 * 2);\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "undefined8 *puVar6;" (type_identifier "undefined8") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined8 *puVar7;" (type_identifier "undefined8") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (if_statement "if (0xfffffffffffffff < param_2) {\n                    \n    FUN_002e12b0("vector::reserve");\n  }" (if "if") (parenthesized_expression "(0xfffffffffffffff < param_2)" (( "(") (binary_expression "0xfffffffffffffff < param_2" (number_literal "0xfffffffffffffff") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_002e12b0("vector::reserve");\n  }" ({ "{") (expression_statement "FUN_002e12b0("vector::reserve");" (call_expression "FUN_002e12b0("vector::reserve")" (identifier "FUN_002e12b0") (argument_list "("vector::reserve")" (( "(") (string_literal ""vector::reserve"" (" """) (string_content "vector::reserve") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined8 *)*param_1;" (assignment_expression "puVar4 = (undefined8 *)*param_1" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4))" (( "(") (binary_expression "param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)" (identifier "param_2") (<= "<=") (call_expression "(ulong)(param_1[2] - (long)puVar4 >> 4)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_1[2] - (long)puVar4 >> 4)" (( "(") (binary_expression "param_1[2] - (long)puVar4 >> 4" (binary_expression "param_1[2] - (long)puVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (cast_expression "(long)puVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar4"))) (>> ">>") (number_literal "4")) () ")")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined8 *)param_1[1];" (assignment_expression "puVar1 = (undefined8 *)param_1[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)param_1[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "lVar5 = (long)puVar1 - (long)puVar4;" (assignment_expression "lVar5 = (long)puVar1 - (long)puVar4" (identifier "lVar5") (= "=") (binary_expression "(long)puVar1 - (long)puVar4" (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1")) (- "-") (cast_expression "(long)puVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar4")))) (; ";")) (if_statement "if (param_2 == 0) {\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }\n  else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = (undefined8 *)0x0;\n    puVar7 = puVar3;\n    puVar6 = puVar4;\n  }" ({ "{") (expression_statement "puVar3 = (undefined8 *)0x0;" (assignment_expression "puVar3 = (undefined8 *)0x0" (identifier "puVar3") (= "=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" (identifier "puVar7") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "puVar6 = puVar4;" (assignment_expression "puVar6 = puVar4" (identifier "puVar6") (= "=") (identifier "puVar4")) (; ";")) (} "}")) (else_clause "else {\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" (else "else") (compound_statement "{\n    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);\n    puVar7 = puVar3;\n    puVar6 = (undefined8 *)*param_1;\n  }" ({ "{") (expression_statement "puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);" (assignment_expression "puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10)" (identifier "puVar3") (= "=") (cast_expression "(undefined8 *)FUN_002a11b0(param_2 * 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002a11b0(param_2 * 0x10)" (identifier "FUN_002a11b0") (argument_list "(param_2 * 0x10)" (( "(") (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" (identifier "puVar7") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "puVar6 = (undefined8 *)*param_1;" (assignment_expression "puVar6 = (undefined8 *)*param_1" (identifier "puVar6") (= "=") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}")))) (for_statement "for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }" (for "for") (( "(") (; ";") (binary_expression "puVar4 != puVar1" (identifier "puVar4") (!= "!=") (identifier "puVar1")) (; ";") (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) () ")") (compound_statement "{\n    uVar2 = puVar4[1];\n    *puVar3 = *puVar4;\n    puVar3[1] = uVar2;\n    puVar3 = puVar3 + 2;\n  }" ({ "{") (expression_statement "uVar2 = puVar4[1];" (assignment_expression "uVar2 = puVar4[1]" (identifier "uVar2") (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*puVar3 = *puVar4;" (assignment_expression "*puVar3 = *puVar4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 2" (identifier "puVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (if_statement "if (puVar6 != (undefined8 *)0x0) {\n    FUN_002a2980();\n  }" (if "if") (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined8 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_002a2980();\n  }" ({ "{") (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" (identifier "FUN_002a2980") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = (long)puVar7;" (assignment_expression "*param_1 = (long)puVar7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)puVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar7"))) (; ";")) (expression_statement "param_1[1] = lVar5 + (long)puVar7;" (assignment_expression "param_1[1] = lVar5 + (long)puVar7" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "lVar5 + (long)puVar7" (identifier "lVar5") (+ "+") (cast_expression "(long)puVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar7")))) (; ";")) (expression_statement "param_1[2] = (long)(puVar7 + param_2 * 2);" (assignment_expression "param_1[2] = (long)(puVar7 + param_2 * 2)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)(puVar7 + param_2 * 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(puVar7 + param_2 * 2)" (( "(") (binary_expression "puVar7 + param_2 * 2" (identifier "puVar7") (+ "+") (binary_expression "param_2 * 2" (identifier "param_2") (* "*") (number_literal "2"))) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void
   reserve(vector<gold::Layout::Group_signature,_std::allocator<gold::Layout::Group_signature>_> *
   this, size_type __n) */

void __thiscall
std::vector<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>::reserve
          (vector<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>
           *this,size_type var_1)

{
  type_1 var_8;
  char *pcVar2;
  type_1 var_9;
  type_1 var_7;
  long var_12;
  type_1 var_10;
  type_1 var_13;
  
  if (0xfffffffffffffff < var_1) {
                    /* WARNING: Subroutine does not return */
    var_2("vector::reserve");
  }
  var_7 = (this->
           super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5
           )._M_impl._M_start;
  if (var_1 <= (ulong)((long)(this->
                           super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5
                           )._M_impl._M_end_of_storage - (long)var_7 >> 4)) {
    return;
  }
  var_8 = (this->
           super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5
           )._M_impl._M_finish;
  var_12 = (long)var_8 - (long)var_7;
  if (var_1 == 0) {
    var_9 = (type_1)0x0;
    var_13 = var_9;
    var_10 = var_7;
  }
  else {
    var_9 = (type_1)var_6(var_1 * 0x10);
    var_13 = var_9;
    var_10 = (this->
             super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5
             )._M_impl._M_start;
  }
  for (; var_7 != var_8; var_7 = var_7 + 1) {
    pcVar2 = var_7->signature;
    var_9->section = var_7->section;
    var_9->signature = pcVar2;
    var_9 = var_9 + 1;
  }
  if (var_10 != (type_1)0x0) {
    var_11(var_10);
  }
  (this->
  super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5)
  ._M_impl._M_start = var_13;
  (this->
  super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5)
  ._M_impl._M_finish = (type_1)(var_12 + (long)var_13);
  (this->
  super__Vector_base<gold::Layout::var_3,_std::allocator<gold::Layout::var_3>var_4>var_5)
  ._M_impl._M_end_of_storage = var_13 + var_1;
  return;
}


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

void MASKED(long *param_1,ulong param_2)

{
  undefined8 *puVar1;
  undefined8 uVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  long lVar5;
  undefined8 *puVar6;
  undefined8 *puVar7;
  
  if (0xfffffffffffffff < param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_002e12b0("vector::reserve");
  }
  puVar4 = (undefined8 *)*param_1;
  if (param_2 <= (ulong)(param_1[2] - (long)puVar4 >> 4)) {
    return;
  }
  puVar1 = (undefined8 *)param_1[1];
  lVar5 = (long)puVar1 - (long)puVar4;
  if (param_2 == 0) {
    puVar3 = (undefined8 *)0x0;
    puVar7 = puVar3;
    puVar6 = puVar4;
  }
  else {
    puVar3 = (undefined8 *)FUN_002a11b0(param_2 * 0x10);
    puVar7 = puVar3;
    puVar6 = (undefined8 *)*param_1;
  }
  for (; puVar4 != puVar1; puVar4 = puVar4 + 2) {
    uVar2 = puVar4[1];
    *puVar3 = *puVar4;
    puVar3[1] = uVar2;
    puVar3 = puVar3 + 2;
  }
  if (puVar6 != (undefined8 *)0x0) {
    FUN_002a2980();
  }
  *param_1 = (long)puVar7;
  param_1[1] = lVar5 + (long)puVar7;
  param_1[2] = (long)(puVar7 + param_2 * 2);
  return;
}

