
/* DWARF original name: _M_realloc_insert<long long unsigned int const&>
   DWARF original prototype: void
   _M_realloc_insert<long_long_unsigned_int_const&>(vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>
   * this, iterator __position, ulonglong * __args#0) */

void __thiscall
std::vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>::
_M_realloc_insert<long_long_unsigned_int_const&>
          (vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_> *this,
          iterator __position,ulonglong *__args_0)

{
  uint uVar1;
  pointer puVar2;
  uint uVar3;
  undefined4 uVar4;
  pointer puVar5;
  int iVar6;
  pointer puVar7;
  pointer puVar8;
  int iVar9;
  pointer puVar10;
  
  puVar8 = (this->
           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
           _M_impl._M_finish;
  puVar5 = (this->
           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
           _M_impl._M_start;
  iVar9 = (int)__position._M_current - (int)puVar5;
  uVar1 = (int)puVar8 - (int)puVar5 >> 3;
  if (uVar1 == 0) {
    uVar3 = 1;
LAB_0013e160:
    iVar6 = uVar3 << 3;
LAB_0013e02c:
    puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6);
    puVar7 = (pointer)((int)puVar2 + iVar6);
  }
  else {
    uVar3 = uVar1 << 1;
    if (uVar3 < uVar1) {
      iVar6 = -8;
      goto LAB_0013e02c;
    }
    iVar6 = -8;
    if (0x1fffffff < uVar3) goto LAB_0013e02c;
    puVar2 = (pointer)0x0;
    if (uVar3 != 0) goto LAB_0013e160;
    puVar7 = (pointer)0x0;
  }
  uVar4 = *(undefined4 *)__args_0;
  iVar6 = (int)puVar2 + iVar9 + 8;
  ((undefined4 *)((int)puVar2 + iVar9))[1] = (int)*__args_0;
  *(undefined4 *)((int)puVar2 + iVar9) = uVar4;
  puVar10 = (pointer)(iVar6 + ((int)puVar8 - (int)__position._M_current));
  if (puVar5 == __position._M_current) {
    if (puVar8 != puVar5) goto LAB_0013e094;
  }
  else {
    (*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9);
    if (puVar8 == __position._M_current) goto LAB_0013e0e8;
LAB_0013e094:
    (*(code *)PTR_memcpy_004c5ba8)
              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);
  }
  if (puVar5 == (pointer)0x0) {
    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
    _M_impl._M_start = puVar2;
    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
    _M_impl._M_finish = puVar10;
    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
    _M_impl._M_end_of_storage = puVar7;
    return;
  }
LAB_0013e0e8:
  (*(code *)PTR_operator_delete_004c12fc)(puVar5);
  (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
  _M_impl._M_start = puVar2;
  (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
  _M_impl._M_finish = puVar10;
  (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).
  _M_impl._M_end_of_storage = puVar7;
  return;
}



/* void std::vector<unsigned long long, std::allocator<unsigned long long>
   >::_M_realloc_insert<unsigned long long const&>(__normal_iterator<unsigned long long*,
   std::vector<unsigned long long, std::allocator<unsigned long long> > >, unsigned long long
   const&) */

void __thiscall
std::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::
_M_realloc_insert<unsigned_long_long_const&>
          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,
          undefined4 *param_3)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  
  iVar8 = *(int *)(this + 4);
  iVar6 = *(int *)this;
  iVar9 = param_2 - iVar6;
  uVar1 = iVar8 - iVar6 >> 3;
  if (uVar1 == 0) {
    uVar3 = 1;
LAB_0013e160:
    iVar7 = uVar3 << 3;
LAB_0013e02c:
    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);
    iVar7 = iVar2 + iVar7;
  }
  else {
    uVar3 = uVar1 << 1;
    if (uVar3 < uVar1) {
      iVar7 = -8;
      goto LAB_0013e02c;
    }
    iVar7 = -8;
    if (0x1fffffff < uVar3) goto LAB_0013e02c;
    iVar2 = 0;
    if (uVar3 != 0) goto LAB_0013e160;
    iVar7 = 0;
  }
  uVar4 = *param_3;
  iVar5 = iVar2 + iVar9 + 8;
  ((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];
  *(undefined4 *)(iVar2 + iVar9) = uVar4;
  iVar10 = iVar5 + (iVar8 - param_2);
  if (iVar6 == param_2) {
    if (iVar8 != iVar6) goto LAB_0013e094;
  }
  else {
    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);
    if (iVar8 == param_2) goto LAB_0013e0e8;
LAB_0013e094:
    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);
  }
  if (iVar6 == 0) {
    *(int *)this = iVar2;
    *(int *)(this + 4) = iVar10;
    *(int *)(this + 8) = iVar7;
    return;
  }
LAB_0013e0e8:
  (*(code *)PTR_operator_delete_004c12fc)(iVar6);
  *(int *)this = iVar2;
  *(int *)(this + 4) = iVar10;
  *(int *)(this + 8) = iVar7;
  return;
}


lui gp,0x39
addiu gp,gp,-0x4d78
addu gp,gp,t9
addiu sp,sp,-0x48
sw s6,0x38(sp)
sw s1,0x24(sp)
lw s6,0x4(a0)
lw s1,0x0(a0)
sw gp,0x10(sp)
sw s8,0x40(sp)
or s8,a2,zero
subu v0,s6,s1
sw s7,0x3c(sp)
sw s3,0x2c(sp)
subu s7,a1,s1
sra v0,v0,0x3
sw s2,0x28(sp)
sw ra,0x44(sp)
or s2,a0,zero
sw s5,0x34(sp)
or s3,a1,zero
sw s4,0x30(sp)
beq v0,zero,0x0013e15c
_sw s0,0x20(sp)
sll a0,v0,0x1
sltu v0,a0,v0
beq v0,zero,0x0013e130
_lui v0,0x2000
li s5,-0x8
lw t9,-0x7e98(gp)
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
addu s5,v0,s5
or s4,v0,zero
addiu s0,s7,0x8
lw a1,0x4(s8)
lw a0,0x0(s8)
addu v0,s4,s7
addu s0,s4,s0
subu v1,s6,s3
sw a1,0x4(v0)
sw a0,0x0(v0)
beq s1,s3,0x0013e14c
_addu s8,s0,v1
lw t9,-0x3748(gp)
or a2,s7,zero
sw v1,0x18(sp)
or a1,s1,zero
jalr t9
_or a0,s4,zero
lw gp,0x10(sp)
beq s6,s3,0x0013e0e8
_lw v1,0x18(sp)
lw t9,-0x3698(gp)
or a2,v1,zero
or a1,s3,zero
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
bne s1,zero,0x0013e0e8
_lw ra,0x44(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s3,0x2c(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
sw s4,0x0(s2)
sw s8,0x4(s2)
sw s5,0x8(s2)
lw s8,0x40(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s2,0x28(sp)
jr ra
_addiu sp,sp,0x48
lw t9,-0x7f44(gp)
jalr t9
_or a0,s1,zero
lw ra,0x44(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s3,0x2c(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
sw s4,0x0(s2)
sw s8,0x4(s2)
sw s5,0x8(s2)
lw s8,0x40(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s2,0x28(sp)
jr ra
_addiu sp,sp,0x48
sltu v0,a0,v0
beq v0,zero,0x0013e02c
_li s5,-0x8
bne a0,zero,0x0013e160
_or s4,zero,zero
b 0x0013e044
_or s5,zero,zero
bne s6,s1,0x0013e094
_lw t9,-0x3698(gp)
b 0x0013e0a8
_nop
li a0,0x1
b 0x0013e02c
_sll s5,a0,0x3
(translation_unit "/* void std::vector<unsigned long long, std::allocator<unsigned long long>\n   >::_M_realloc_insert<unsigned long long const&>(__normal_iterator<unsigned long long*,\n   std::vector<unsigned long long, std::allocator<unsigned long long> > >, unsigned long long\n   const&) */\n\nvoid __thiscall\nstd::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar8 = *(int *)(this + 4);\n  iVar6 = *(int *)this;\n  iVar9 = param_2 - iVar6;\n  uVar1 = iVar8 - iVar6 >> 3;\n  if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }\n  uVar4 = *param_3;\n  iVar5 = iVar2 + iVar9 + 8;\n  ((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];\n  *(undefined4 *)(iVar2 + iVar9) = uVar4;\n  iVar10 = iVar5 + (iVar8 - param_2);\n  if (iVar6 == param_2) {\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }\n  if (iVar6 == 0) {\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }\nLAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(iVar6);\n  *(int *)this = iVar2;\n  *(int *)(this + 4) = iVar10;\n  *(int *)(this + 8) = iVar7;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint" identifier : : identifier < identifier >> : : identifier < (function_declarator "unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)" identifier (ERROR "&>" & >) (parameter_list "(vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)" ( (parameter_declaration "vector<unsigned_long_long" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::allocator<unsigned_long_long>> *this" type_identifier (ERROR "::allocator<unsigned_long_long>>" : : identifier < identifier >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) { identifier) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar8 = *(int *)(this + 4);" (assignment_expression "iVar8 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)this;" (assignment_expression "iVar6 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar9 = param_2 - iVar6;" (assignment_expression "iVar9 = param_2 - iVar6" identifier = (binary_expression "param_2 - iVar6" identifier - identifier)) ;) (expression_statement "uVar1 = iVar8 - iVar6 >> 3;" (assignment_expression "uVar1 = iVar8 - iVar6 >> 3" identifier = (binary_expression "iVar8 - iVar6 >> 3" (binary_expression "iVar8 - iVar6" identifier - identifier) >> number_literal)) ;) (if_statement "if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0013e160:\n    iVar7 = uVar3 << 3;" statement_identifier : (expression_statement "iVar7 = uVar3 << 3;" (assignment_expression "iVar7 = uVar3 << 3" identifier = (binary_expression "uVar3 << 3" identifier << number_literal)) ;)) (labeled_statement "LAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);" (assignment_expression "iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7)" identifier = (call_expression "(*(code *)PTR_operator_new_004c13a8)(iVar7)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier )))) ;)) (expression_statement "iVar7 = iVar2 + iVar7;" (assignment_expression "iVar7 = iVar2 + iVar7" identifier = (binary_expression "iVar2 + iVar7" identifier + identifier)) ;) }) (else_clause "else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" else (compound_statement "{\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" { (expression_statement "uVar3 = uVar1 << 1;" (assignment_expression "uVar3 = uVar1 << 1" identifier = (binary_expression "uVar1 << 1" identifier << number_literal)) ;) (if_statement "if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }" if (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) (compound_statement "{\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }" { (expression_statement "iVar7 = -8;" (assignment_expression "iVar7 = -8" identifier = number_literal) ;) (goto_statement "goto LAB_0013e02c;" goto statement_identifier ;) })) (expression_statement "iVar7 = -8;" (assignment_expression "iVar7 = -8" identifier = number_literal) ;) (if_statement "if (0x1fffffff < uVar3) goto LAB_0013e02c;" if (parenthesized_expression "(0x1fffffff < uVar3)" ( (binary_expression "0x1fffffff < uVar3" number_literal < identifier) )) (goto_statement "goto LAB_0013e02c;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (uVar3 != 0) goto LAB_0013e160;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0013e160;" goto statement_identifier ;)) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }))) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar5 = iVar2 + iVar9 + 8;" (assignment_expression "iVar5 = iVar2 + iVar9 + 8" identifier = (binary_expression "iVar2 + iVar9 + 8" (binary_expression "iVar2 + iVar9" identifier + identifier) + number_literal)) ;) (expression_statement "((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];" (assignment_expression "((undefined4 *)(iVar2 + iVar9))[1] = param_3[1]" (subscript_expression "((undefined4 *)(iVar2 + iVar9))[1]" (parenthesized_expression "((undefined4 *)(iVar2 + iVar9))" ( (cast_expression "(undefined4 *)(iVar2 + iVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar9)" ( (binary_expression "iVar2 + iVar9" identifier + identifier) ))) )) [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar9) = uVar4;" (assignment_expression "*(undefined4 *)(iVar2 + iVar9) = uVar4" (pointer_expression "*(undefined4 *)(iVar2 + iVar9)" * (cast_expression "(undefined4 *)(iVar2 + iVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar9)" ( (binary_expression "iVar2 + iVar9" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar10 = iVar5 + (iVar8 - param_2);" (assignment_expression "iVar10 = iVar5 + (iVar8 - param_2)" identifier = (binary_expression "iVar5 + (iVar8 - param_2)" identifier + (parenthesized_expression "(iVar8 - param_2)" ( (binary_expression "iVar8 - param_2" identifier - identifier) )))) ;) (if_statement "if (iVar6 == param_2) {\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" if (parenthesized_expression "(iVar6 == param_2)" ( (binary_expression "iVar6 == param_2" identifier == identifier) )) (compound_statement "{\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }" { (if_statement "if (iVar8 != iVar6) goto LAB_0013e094;" if (parenthesized_expression "(iVar8 != iVar6)" ( (binary_expression "iVar8 != iVar6" identifier != identifier) )) (goto_statement "goto LAB_0013e094;" goto statement_identifier ;)) }) (else_clause "else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" else (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" { (expression_statement "(*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);" (call_expression "(*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9)" (parenthesized_expression "(*(code *)PTR_memmove_004c5af8)" ( (pointer_expression "*(code *)PTR_memmove_004c5af8" * (cast_expression "(code *)PTR_memmove_004c5af8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar6,iVar9)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar8 == param_2) goto LAB_0013e0e8;" if (parenthesized_expression "(iVar8 == param_2)" ( (binary_expression "iVar8 == param_2" identifier == identifier) )) (goto_statement "goto LAB_0013e0e8;" goto statement_identifier ;)) (labeled_statement "LAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);" (call_expression "(*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_004c5ba8)" ( (pointer_expression "*(code *)PTR_memcpy_004c5ba8" * (cast_expression "(code *)PTR_memcpy_004c5ba8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_2,iVar8 - param_2)" ( identifier , identifier , (binary_expression "iVar8 - param_2" identifier - identifier) ))) ;)) }))) (if_statement "if (iVar6 == 0) {\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }" { (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + 4) = iVar10;" (assignment_expression "*(int *)(this + 4) = iVar10" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(iVar6);" statement_identifier : (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(iVar6);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(iVar6)" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;)) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + 4) = iVar10;" (assignment_expression "*(int *)(this + 4) = iVar10" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "/* DWARF original name: _M_realloc_insert<long long unsigned int const&>\n   DWARF original prototype: void\n   _M_realloc_insert<long_long_unsigned_int_const&>(vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>\n   * this, iterator __position, ulonglong * __args#0) */\n\nvoid __thiscall\nstd::vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>::\n_M_realloc_insert<long_long_unsigned_int_const&>\n          (vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_> *this,\n          iterator __position,ulonglong *__args_0)\n\n{\n  uint uVar1;\n  pointer puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  pointer puVar5;\n  int iVar6;\n  pointer puVar7;\n  pointer puVar8;\n  int iVar9;\n  pointer puVar10;\n  \n  puVar8 = (this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_finish;\n  puVar5 = (this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_start;\n  iVar9 = (int)__position._M_current - (int)puVar5;\n  uVar1 = (int)puVar8 - (int)puVar5 >> 3;\n  if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar6 = uVar3 << 3;\nLAB_0013e02c:\n    puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6);\n    puVar7 = (pointer)((int)puVar2 + iVar6);\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar6 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar6 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    puVar2 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    puVar7 = (pointer)0x0;\n  }\n  uVar4 = *(undefined4 *)__args_0;\n  iVar6 = (int)puVar2 + iVar9 + 8;\n  ((undefined4 *)((int)puVar2 + iVar9))[1] = (int)*__args_0;\n  *(undefined4 *)((int)puVar2 + iVar9) = uVar4;\n  puVar10 = (pointer)(iVar6 + ((int)puVar8 - (int)__position._M_current));\n  if (puVar5 == __position._M_current) {\n    if (puVar8 != puVar5) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9);\n    if (puVar8 == __position._M_current) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);\n  }\n  if (puVar5 == (pointer)0x0) {\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_start = puVar2;\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_finish = puVar10;\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_end_of_storage = puVar7;\n    return;\n  }\nLAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(puVar5);\n  (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_start = puVar2;\n  (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_finish = puVar10;\n  (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_end_of_storage = puVar7;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>::\n_M_realloc_insert<long_long_unsigned_int_const&>\n          (vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_> *this,\n          iterator __position,ulonglong *__args_0)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "_std::allocator<long_long_unsigned_int>_>::\n_M_realloc_insert<long_long_unsigned_int_const&>\n          (vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_> *this,\n          iterator __position,ulonglong *__args_0)\n\n{\n  uint" identifier : : identifier < identifier > identifier > : : identifier < (function_declarator "long_long_unsigned_int_const&>\n          (vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_> *this,\n          iterator __position,ulonglong *__args_0)" identifier (ERROR "&>" & >) (parameter_list "(vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_> *this,\n          iterator __position,ulonglong *__args_0)" ( (parameter_declaration "vector<long_long_unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "_std::allocator<long_long_unsigned_int>_> *this" type_identifier (ERROR "::allocator<long_long_unsigned_int>_>" : : identifier < identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "ulonglong *__args_0" type_identifier (pointer_declarator "*__args_0" * identifier)) ))) { identifier) identifier ;) (declaration "pointer puVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "pointer puVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "pointer puVar7;" type_identifier identifier ;) (declaration "pointer puVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "pointer puVar10;" type_identifier identifier ;) (expression_statement "puVar8 = (this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_finish;" (assignment_expression "puVar8 = (this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_finish" identifier = (field_expression "(this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_finish" (field_expression "(this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl" (parenthesized_expression "(this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->\n           super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->\n           super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->\n           super__Vector_base<long_long_unsigned_int" (field_expression "this->\n           super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "puVar5 = (this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_start;" (assignment_expression "puVar5 = (this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_start" identifier = (field_expression "(this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl._M_start" (field_expression "(this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n           _M_impl" (parenthesized_expression "(this->\n           super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->\n           super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->\n           super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->\n           super__Vector_base<long_long_unsigned_int" (field_expression "this->\n           super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "iVar9 = (int)__position._M_current - (int)puVar5;" (assignment_expression "iVar9 = (int)__position._M_current - (int)puVar5" identifier = (binary_expression "(int)__position._M_current - (int)puVar5" (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier)) - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = (int)puVar8 - (int)puVar5 >> 3;" (assignment_expression "uVar1 = (int)puVar8 - (int)puVar5 >> 3" identifier = (binary_expression "(int)puVar8 - (int)puVar5 >> 3" (binary_expression "(int)puVar8 - (int)puVar5" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar6 = uVar3 << 3;\nLAB_0013e02c:\n    puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6);\n    puVar7 = (pointer)((int)puVar2 + iVar6);\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar6 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar6 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    puVar2 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    puVar7 = (pointer)0x0;\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_0013e160:\n    iVar6 = uVar3 << 3;\nLAB_0013e02c:\n    puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6);\n    puVar7 = (pointer)((int)puVar2 + iVar6);\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0013e160:\n    iVar6 = uVar3 << 3;" statement_identifier : (expression_statement "iVar6 = uVar3 << 3;" (assignment_expression "iVar6 = uVar3 << 3" identifier = (binary_expression "uVar3 << 3" identifier << number_literal)) ;)) (labeled_statement "LAB_0013e02c:\n    puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6);" statement_identifier : (expression_statement "puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6);" (assignment_expression "puVar2 = (pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6)" identifier = (call_expression "(pointer)(*(code *)PTR_operator_new_004c13a8)(iVar6)" (call_expression "(pointer)(*(code *)PTR_operator_new_004c13a8)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) (argument_list "(iVar6)" ( identifier )))) ;)) (expression_statement "puVar7 = (pointer)((int)puVar2 + iVar6);" (assignment_expression "puVar7 = (pointer)((int)puVar2 + iVar6)" identifier = (call_expression "(pointer)((int)puVar2 + iVar6)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "((int)puVar2 + iVar6)" ( (binary_expression "(int)puVar2 + iVar6" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) (else_clause "else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar6 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar6 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    puVar2 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    puVar7 = (pointer)0x0;\n  }" else (compound_statement "{\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar6 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar6 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    puVar2 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    puVar7 = (pointer)0x0;\n  }" { (expression_statement "uVar3 = uVar1 << 1;" (assignment_expression "uVar3 = uVar1 << 1" identifier = (binary_expression "uVar1 << 1" identifier << number_literal)) ;) (if_statement "if (uVar3 < uVar1) {\n      iVar6 = -8;\n      goto LAB_0013e02c;\n    }" if (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) (compound_statement "{\n      iVar6 = -8;\n      goto LAB_0013e02c;\n    }" { (expression_statement "iVar6 = -8;" (assignment_expression "iVar6 = -8" identifier = number_literal) ;) (goto_statement "goto LAB_0013e02c;" goto statement_identifier ;) })) (expression_statement "iVar6 = -8;" (assignment_expression "iVar6 = -8" identifier = number_literal) ;) (if_statement "if (0x1fffffff < uVar3) goto LAB_0013e02c;" if (parenthesized_expression "(0x1fffffff < uVar3)" ( (binary_expression "0x1fffffff < uVar3" number_literal < identifier) )) (goto_statement "goto LAB_0013e02c;" goto statement_identifier ;)) (expression_statement "puVar2 = (pointer)0x0;" (assignment_expression "puVar2 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (if_statement "if (uVar3 != 0) goto LAB_0013e160;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0013e160;" goto statement_identifier ;)) (expression_statement "puVar7 = (pointer)0x0;" (assignment_expression "puVar7 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) }))) (expression_statement "uVar4 = *(undefined4 *)__args_0;" (assignment_expression "uVar4 = *(undefined4 *)__args_0" identifier = (pointer_expression "*(undefined4 *)__args_0" * (cast_expression "(undefined4 *)__args_0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = (int)puVar2 + iVar9 + 8;" (assignment_expression "iVar6 = (int)puVar2 + iVar9 + 8" identifier = (binary_expression "(int)puVar2 + iVar9 + 8" (binary_expression "(int)puVar2 + iVar9" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal)) ;) (expression_statement "((undefined4 *)((int)puVar2 + iVar9))[1] = (int)*__args_0;" (assignment_expression "((undefined4 *)((int)puVar2 + iVar9))[1] = (int)*__args_0" (subscript_expression "((undefined4 *)((int)puVar2 + iVar9))[1]" (parenthesized_expression "((undefined4 *)((int)puVar2 + iVar9))" ( (cast_expression "(undefined4 *)((int)puVar2 + iVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + iVar9)" ( (binary_expression "(int)puVar2 + iVar9" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) )) [ number_literal ]) = (cast_expression "(int)*__args_0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*__args_0" * identifier))) ;) (expression_statement "*(undefined4 *)((int)puVar2 + iVar9) = uVar4;" (assignment_expression "*(undefined4 *)((int)puVar2 + iVar9) = uVar4" (pointer_expression "*(undefined4 *)((int)puVar2 + iVar9)" * (cast_expression "(undefined4 *)((int)puVar2 + iVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + iVar9)" ( (binary_expression "(int)puVar2 + iVar9" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) (expression_statement "puVar10 = (pointer)(iVar6 + ((int)puVar8 - (int)__position._M_current));" (assignment_expression "puVar10 = (pointer)(iVar6 + ((int)puVar8 - (int)__position._M_current))" identifier = (call_expression "(pointer)(iVar6 + ((int)puVar8 - (int)__position._M_current))" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(iVar6 + ((int)puVar8 - (int)__position._M_current))" ( (binary_expression "iVar6 + ((int)puVar8 - (int)__position._M_current)" identifier + (parenthesized_expression "((int)puVar8 - (int)__position._M_current)" ( (binary_expression "(int)puVar8 - (int)__position._M_current" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier))) ))) )))) ;) (if_statement "if (puVar5 == __position._M_current) {\n    if (puVar8 != puVar5) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9);\n    if (puVar8 == __position._M_current) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);\n  }" if (parenthesized_expression "(puVar5 == __position._M_current)" ( (binary_expression "puVar5 == __position._M_current" identifier == (field_expression "__position._M_current" identifier . field_identifier)) )) (compound_statement "{\n    if (puVar8 != puVar5) goto LAB_0013e094;\n  }" { (if_statement "if (puVar8 != puVar5) goto LAB_0013e094;" if (parenthesized_expression "(puVar8 != puVar5)" ( (binary_expression "puVar8 != puVar5" identifier != identifier) )) (goto_statement "goto LAB_0013e094;" goto statement_identifier ;)) }) (else_clause "else {\n    (*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9);\n    if (puVar8 == __position._M_current) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);\n  }" else (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9);\n    if (puVar8 == __position._M_current) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);\n  }" { (expression_statement "(*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9);" (call_expression "(*(code *)PTR_memmove_004c5af8)(puVar2,puVar5,iVar9)" (parenthesized_expression "(*(code *)PTR_memmove_004c5af8)" ( (pointer_expression "*(code *)PTR_memmove_004c5af8" * (cast_expression "(code *)PTR_memmove_004c5af8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,puVar5,iVar9)" ( identifier , identifier , identifier ))) ;) (if_statement "if (puVar8 == __position._M_current) goto LAB_0013e0e8;" if (parenthesized_expression "(puVar8 == __position._M_current)" ( (binary_expression "puVar8 == __position._M_current" identifier == (field_expression "__position._M_current" identifier . field_identifier)) )) (goto_statement "goto LAB_0013e0e8;" goto statement_identifier ;)) (labeled_statement "LAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current);" (call_expression "(*(code *)PTR_memcpy_004c5ba8)\n              (iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current)" (parenthesized_expression "(*(code *)PTR_memcpy_004c5ba8)" ( (pointer_expression "*(code *)PTR_memcpy_004c5ba8" * (cast_expression "(code *)PTR_memcpy_004c5ba8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,__position._M_current,(int)puVar8 - (int)__position._M_current)" ( identifier , (field_expression "__position._M_current" identifier . field_identifier) , (binary_expression "(int)puVar8 - (int)__position._M_current" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier))) ))) ;)) }))) (if_statement "if (puVar5 == (pointer)0x0) {\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_start = puVar2;\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_finish = puVar10;\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_end_of_storage = puVar7;\n    return;\n  }" if (parenthesized_expression "(puVar5 == (pointer)0x0)" ( (binary_expression "puVar5 == (pointer)0x0" identifier == (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_start = puVar2;\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_finish = puVar10;\n    (this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_end_of_storage = puVar7;\n    return;\n  }" { (expression_statement "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_start = puVar2;" (assignment_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_start = puVar2" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_start" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl" (parenthesized_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->super__Vector_base<long_long_unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_finish = puVar10;" (assignment_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_finish = puVar10" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_finish" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl" (parenthesized_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->super__Vector_base<long_long_unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_end_of_storage = puVar7;" (assignment_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_end_of_storage = puVar7" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n    _M_impl" (parenthesized_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->super__Vector_base<long_long_unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(puVar5);" statement_identifier : (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(puVar5);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(puVar5)" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier ))) ;)) (expression_statement "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_start = puVar2;" (assignment_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_start = puVar2" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_start" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl" (parenthesized_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->super__Vector_base<long_long_unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_finish = puVar10;" (assignment_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_finish = puVar10" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_finish" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl" (parenthesized_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->super__Vector_base<long_long_unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_end_of_storage = puVar7;" (assignment_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_end_of_storage = puVar7" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>).\n  _M_impl" (parenthesized_expression "(this->super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>)" ( (ERROR "this->super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "this->super__Vector_base<long_long_unsigned_int,_std" (binary_expression "this->super__Vector_base<long_long_unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<long_long_unsigned_int>_>" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void __thiscall\nstd::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \n  iVar8 = *(int *)(this + 4);\n  iVar6 = *(int *)this;\n  iVar9 = param_2 - iVar6;\n  uVar1 = iVar8 - iVar6 >> 3;\n  if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }\n  uVar4 = *param_3;\n  iVar5 = iVar2 + iVar9 + 8;\n  ((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];\n  *(undefined4 *)(iVar2 + iVar9) = uVar4;\n  iVar10 = iVar5 + (iVar8 - param_2);\n  if (iVar6 == param_2) {\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }\n  if (iVar6 == 0) {\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }\nLAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(iVar6);\n  *(int *)this = iVar2;\n  *(int *)(this + 4) = iVar10;\n  *(int *)(this + 8) = iVar7;\n  return;\n}\n\n" (declaration "void __thiscall\nstd::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint" identifier : : identifier < identifier >> : : identifier < (function_declarator "unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)" identifier (ERROR "&>" & >) (parameter_list "(vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)" ( (parameter_declaration "vector<unsigned_long_long" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::allocator<unsigned_long_long>> *this" type_identifier (ERROR "::allocator<unsigned_long_long>>" : : identifier < identifier >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) { identifier) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar8 = *(int *)(this + 4);" (assignment_expression "iVar8 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)this;" (assignment_expression "iVar6 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar9 = param_2 - iVar6;" (assignment_expression "iVar9 = param_2 - iVar6" identifier = (binary_expression "param_2 - iVar6" identifier - identifier)) ;) (expression_statement "uVar1 = iVar8 - iVar6 >> 3;" (assignment_expression "uVar1 = iVar8 - iVar6 >> 3" identifier = (binary_expression "iVar8 - iVar6 >> 3" (binary_expression "iVar8 - iVar6" identifier - identifier) >> number_literal)) ;) (if_statement "if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0013e160:\n    iVar7 = uVar3 << 3;" statement_identifier : (expression_statement "iVar7 = uVar3 << 3;" (assignment_expression "iVar7 = uVar3 << 3" identifier = (binary_expression "uVar3 << 3" identifier << number_literal)) ;)) (labeled_statement "LAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);" (assignment_expression "iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7)" identifier = (call_expression "(*(code *)PTR_operator_new_004c13a8)(iVar7)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier )))) ;)) (expression_statement "iVar7 = iVar2 + iVar7;" (assignment_expression "iVar7 = iVar2 + iVar7" identifier = (binary_expression "iVar2 + iVar7" identifier + identifier)) ;) }) (else_clause "else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" else (compound_statement "{\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" { (expression_statement "uVar3 = uVar1 << 1;" (assignment_expression "uVar3 = uVar1 << 1" identifier = (binary_expression "uVar1 << 1" identifier << number_literal)) ;) (if_statement "if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }" if (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) (compound_statement "{\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }" { (expression_statement "iVar7 = -8;" (assignment_expression "iVar7 = -8" identifier = number_literal) ;) (goto_statement "goto LAB_0013e02c;" goto statement_identifier ;) })) (expression_statement "iVar7 = -8;" (assignment_expression "iVar7 = -8" identifier = number_literal) ;) (if_statement "if (0x1fffffff < uVar3) goto LAB_0013e02c;" if (parenthesized_expression "(0x1fffffff < uVar3)" ( (binary_expression "0x1fffffff < uVar3" number_literal < identifier) )) (goto_statement "goto LAB_0013e02c;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (uVar3 != 0) goto LAB_0013e160;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0013e160;" goto statement_identifier ;)) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }))) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar5 = iVar2 + iVar9 + 8;" (assignment_expression "iVar5 = iVar2 + iVar9 + 8" identifier = (binary_expression "iVar2 + iVar9 + 8" (binary_expression "iVar2 + iVar9" identifier + identifier) + number_literal)) ;) (expression_statement "((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];" (assignment_expression "((undefined4 *)(iVar2 + iVar9))[1] = param_3[1]" (subscript_expression "((undefined4 *)(iVar2 + iVar9))[1]" (parenthesized_expression "((undefined4 *)(iVar2 + iVar9))" ( (cast_expression "(undefined4 *)(iVar2 + iVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar9)" ( (binary_expression "iVar2 + iVar9" identifier + identifier) ))) )) [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar9) = uVar4;" (assignment_expression "*(undefined4 *)(iVar2 + iVar9) = uVar4" (pointer_expression "*(undefined4 *)(iVar2 + iVar9)" * (cast_expression "(undefined4 *)(iVar2 + iVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar9)" ( (binary_expression "iVar2 + iVar9" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar10 = iVar5 + (iVar8 - param_2);" (assignment_expression "iVar10 = iVar5 + (iVar8 - param_2)" identifier = (binary_expression "iVar5 + (iVar8 - param_2)" identifier + (parenthesized_expression "(iVar8 - param_2)" ( (binary_expression "iVar8 - param_2" identifier - identifier) )))) ;) (if_statement "if (iVar6 == param_2) {\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" if (parenthesized_expression "(iVar6 == param_2)" ( (binary_expression "iVar6 == param_2" identifier == identifier) )) (compound_statement "{\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }" { (if_statement "if (iVar8 != iVar6) goto LAB_0013e094;" if (parenthesized_expression "(iVar8 != iVar6)" ( (binary_expression "iVar8 != iVar6" identifier != identifier) )) (goto_statement "goto LAB_0013e094;" goto statement_identifier ;)) }) (else_clause "else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" else (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" { (expression_statement "(*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);" (call_expression "(*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9)" (parenthesized_expression "(*(code *)PTR_memmove_004c5af8)" ( (pointer_expression "*(code *)PTR_memmove_004c5af8" * (cast_expression "(code *)PTR_memmove_004c5af8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar6,iVar9)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar8 == param_2) goto LAB_0013e0e8;" if (parenthesized_expression "(iVar8 == param_2)" ( (binary_expression "iVar8 == param_2" identifier == identifier) )) (goto_statement "goto LAB_0013e0e8;" goto statement_identifier ;)) (labeled_statement "LAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);" (call_expression "(*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_004c5ba8)" ( (pointer_expression "*(code *)PTR_memcpy_004c5ba8" * (cast_expression "(code *)PTR_memcpy_004c5ba8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_2,iVar8 - param_2)" ( identifier , identifier , (binary_expression "iVar8 - param_2" identifier - identifier) ))) ;)) }))) (if_statement "if (iVar6 == 0) {\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }" { (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + 4) = iVar10;" (assignment_expression "*(int *)(this + 4) = iVar10" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(iVar6);" statement_identifier : (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(iVar6);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(iVar6)" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;)) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + 4) = iVar10;" (assignment_expression "*(int *)(this + 4) = iVar10" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT <) IDENT , (ERROR IDENT : : IDENT < IDENT >> : : IDENT < (function_declarator IDENT (ERROR & >) (parameter_list ( (parameter_declaration TYPE (ERROR <) IDENT) , (parameter_declaration TYPE (ERROR : : IDENT < IDENT >>) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) { IDENT) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) )) [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT - IDENT) ))) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) (ERROR }))
(declaration "void __thiscall\nstd::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint uVar1;" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::vector<" (identifier "std") (: ":") (: ":") (identifier "vector") (< "<")) (identifier "unsigned_long_long") (, ",") (ERROR "std::allocator<unsigned_long_long>>::\n_M_realloc_insert<unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)\n\n{\n  uint" (identifier "std") (: ":") (: ":") (identifier "allocator") (< "<") (identifier "unsigned_long_long") (>> ">>") (: ":") (: ":") (identifier "_M_realloc_insert") (< "<") (function_declarator "unsigned_long_long_const&>\n          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)" (identifier "unsigned_long_long_const") (ERROR "&>" (& "&") (> ">")) (parameter_list "(vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,\n          undefined4 *param_3)" (( "(") (parameter_declaration "vector<unsigned_long_long" (type_identifier "vector") (ERROR "<" (< "<")) (identifier "unsigned_long_long")) (, ",") (parameter_declaration "std::allocator<unsigned_long_long>> *this" (type_identifier "std") (ERROR "::allocator<unsigned_long_long>>" (: ":") (: ":") (identifier "allocator") (< "<") (identifier "unsigned_long_long") (>> ">>")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) ({ "{") (identifier "uint")) (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (expression_statement "iVar8 = *(int *)(this + 4);" (assignment_expression "iVar8 = *(int *)(this + 4)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)this;" (assignment_expression "iVar6 = *(int *)this" (identifier "iVar6") (= "=") (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this")))) (; ";")) (expression_statement "iVar9 = param_2 - iVar6;" (assignment_expression "iVar9 = param_2 - iVar6" (identifier "iVar9") (= "=") (binary_expression "param_2 - iVar6" (identifier "param_2") (- "-") (identifier "iVar6"))) (; ";")) (expression_statement "uVar1 = iVar8 - iVar6 >> 3;" (assignment_expression "uVar1 = iVar8 - iVar6 >> 3" (identifier "uVar1") (= "=") (binary_expression "iVar8 - iVar6 >> 3" (binary_expression "iVar8 - iVar6" (identifier "iVar8") (- "-") (identifier "iVar6")) (>> ">>") (number_literal "3"))) (; ";")) (if_statement "if (uVar1 == 0) {\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }\n  else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 1;\nLAB_0013e160:\n    iVar7 = uVar3 << 3;\nLAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);\n    iVar7 = iVar2 + iVar7;\n  }" ({ "{") (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0013e160:\n    iVar7 = uVar3 << 3;" (statement_identifier "LAB_0013e160") (: ":") (expression_statement "iVar7 = uVar3 << 3;" (assignment_expression "iVar7 = uVar3 << 3" (identifier "iVar7") (= "=") (binary_expression "uVar3 << 3" (identifier "uVar3") (<< "<<") (number_literal "3"))) (; ";"))) (labeled_statement "LAB_0013e02c:\n    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);" (statement_identifier "LAB_0013e02c") (: ":") (expression_statement "iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);" (assignment_expression "iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_operator_new_004c13a8)(iVar7)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" (( "(") (pointer_expression "*(code *)PTR_operator_new_004c13a8" (* "*") (cast_expression "(code *)PTR_operator_new_004c13a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_new_004c13a8"))) () ")")) (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")")))) (; ";"))) (expression_statement "iVar7 = iVar2 + iVar7;" (assignment_expression "iVar7 = iVar2 + iVar7" (identifier "iVar7") (= "=") (binary_expression "iVar2 + iVar7" (identifier "iVar2") (+ "+") (identifier "iVar7"))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" (else "else") (compound_statement "{\n    uVar3 = uVar1 << 1;\n    if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }\n    iVar7 = -8;\n    if (0x1fffffff < uVar3) goto LAB_0013e02c;\n    iVar2 = 0;\n    if (uVar3 != 0) goto LAB_0013e160;\n    iVar7 = 0;\n  }" ({ "{") (expression_statement "uVar3 = uVar1 << 1;" (assignment_expression "uVar3 = uVar1 << 1" (identifier "uVar3") (= "=") (binary_expression "uVar1 << 1" (identifier "uVar1") (<< "<<") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 < uVar1) {\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }" (if "if") (parenthesized_expression "(uVar3 < uVar1)" (( "(") (binary_expression "uVar3 < uVar1" (identifier "uVar3") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n      iVar7 = -8;\n      goto LAB_0013e02c;\n    }" ({ "{") (expression_statement "iVar7 = -8;" (assignment_expression "iVar7 = -8" (identifier "iVar7") (= "=") (number_literal "-8")) (; ";")) (goto_statement "goto LAB_0013e02c;" (goto "goto") (statement_identifier "LAB_0013e02c") (; ";")) (} "}"))) (expression_statement "iVar7 = -8;" (assignment_expression "iVar7 = -8" (identifier "iVar7") (= "=") (number_literal "-8")) (; ";")) (if_statement "if (0x1fffffff < uVar3) goto LAB_0013e02c;" (if "if") (parenthesized_expression "(0x1fffffff < uVar3)" (( "(") (binary_expression "0x1fffffff < uVar3" (number_literal "0x1fffffff") (< "<") (identifier "uVar3")) () ")")) (goto_statement "goto LAB_0013e02c;" (goto "goto") (statement_identifier "LAB_0013e02c") (; ";"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar3 != 0) goto LAB_0013e160;" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0013e160;" (goto "goto") (statement_identifier "LAB_0013e160") (; ";"))) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" (identifier "uVar4") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar5 = iVar2 + iVar9 + 8;" (assignment_expression "iVar5 = iVar2 + iVar9 + 8" (identifier "iVar5") (= "=") (binary_expression "iVar2 + iVar9 + 8" (binary_expression "iVar2 + iVar9" (identifier "iVar2") (+ "+") (identifier "iVar9")) (+ "+") (number_literal "8"))) (; ";")) (expression_statement "((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];" (assignment_expression "((undefined4 *)(iVar2 + iVar9))[1] = param_3[1]" (subscript_expression "((undefined4 *)(iVar2 + iVar9))[1]" (parenthesized_expression "((undefined4 *)(iVar2 + iVar9))" (( "(") (cast_expression "(undefined4 *)(iVar2 + iVar9)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar9)" (( "(") (binary_expression "iVar2 + iVar9" (identifier "iVar2") (+ "+") (identifier "iVar9")) () ")"))) () ")")) ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + iVar9) = uVar4;" (assignment_expression "*(undefined4 *)(iVar2 + iVar9) = uVar4" (pointer_expression "*(undefined4 *)(iVar2 + iVar9)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar9)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar9)" (( "(") (binary_expression "iVar2 + iVar9" (identifier "iVar2") (+ "+") (identifier "iVar9")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "iVar10 = iVar5 + (iVar8 - param_2);" (assignment_expression "iVar10 = iVar5 + (iVar8 - param_2)" (identifier "iVar10") (= "=") (binary_expression "iVar5 + (iVar8 - param_2)" (identifier "iVar5") (+ "+") (parenthesized_expression "(iVar8 - param_2)" (( "(") (binary_expression "iVar8 - param_2" (identifier "iVar8") (- "-") (identifier "param_2")) () ")")))) (; ";")) (if_statement "if (iVar6 == param_2) {\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }\n  else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" (if "if") (parenthesized_expression "(iVar6 == param_2)" (( "(") (binary_expression "iVar6 == param_2" (identifier "iVar6") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    if (iVar8 != iVar6) goto LAB_0013e094;\n  }" ({ "{") (if_statement "if (iVar8 != iVar6) goto LAB_0013e094;" (if "if") (parenthesized_expression "(iVar8 != iVar6)" (( "(") (binary_expression "iVar8 != iVar6" (identifier "iVar8") (!= "!=") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_0013e094;" (goto "goto") (statement_identifier "LAB_0013e094") (; ";"))) (} "}")) (else_clause "else {\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);\n    if (iVar8 == param_2) goto LAB_0013e0e8;\nLAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);\n  }" ({ "{") (expression_statement "(*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);" (call_expression "(*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9)" (parenthesized_expression "(*(code *)PTR_memmove_004c5af8)" (( "(") (pointer_expression "*(code *)PTR_memmove_004c5af8" (* "*") (cast_expression "(code *)PTR_memmove_004c5af8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memmove_004c5af8"))) () ")")) (argument_list "(iVar2,iVar6,iVar9)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar6") (, ",") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (iVar8 == param_2) goto LAB_0013e0e8;" (if "if") (parenthesized_expression "(iVar8 == param_2)" (( "(") (binary_expression "iVar8 == param_2" (identifier "iVar8") (== "==") (identifier "param_2")) () ")")) (goto_statement "goto LAB_0013e0e8;" (goto "goto") (statement_identifier "LAB_0013e0e8") (; ";"))) (labeled_statement "LAB_0013e094:\n    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);" (statement_identifier "LAB_0013e094") (: ":") (expression_statement "(*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);" (call_expression "(*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_004c5ba8)" (( "(") (pointer_expression "*(code *)PTR_memcpy_004c5ba8" (* "*") (cast_expression "(code *)PTR_memcpy_004c5ba8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_004c5ba8"))) () ")")) (argument_list "(iVar5,param_2,iVar8 - param_2)" (( "(") (identifier "iVar5") (, ",") (identifier "param_2") (, ",") (binary_expression "iVar8 - param_2" (identifier "iVar8") (- "-") (identifier "param_2")) () ")"))) (; ";"))) (} "}")))) (if_statement "if (iVar6 == 0) {\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)this = iVar2;\n    *(int *)(this + 4) = iVar10;\n    *(int *)(this + 8) = iVar7;\n    return;\n  }" ({ "{") (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)(this + 4) = iVar10;" (assignment_expression "*(int *)(this + 4) = iVar10" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0013e0e8:\n  (*(code *)PTR_operator_delete_004c12fc)(iVar6);" (statement_identifier "LAB_0013e0e8") (: ":") (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(iVar6);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(iVar6)" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" (( "(") (pointer_expression "*(code *)PTR_operator_delete_004c12fc" (* "*") (cast_expression "(code *)PTR_operator_delete_004c12fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_delete_004c12fc"))) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";"))) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)(this + 4) = iVar10;" (assignment_expression "*(int *)(this + 4) = iVar10" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (return_statement "return;" (return "return") (; ";")) (ERROR "}" (} "}"))

/* DWARF original name: _M_realloc_insert<long long unsigned int const&>
   DWARF original prototype: void
   _M_realloc_insert<long_long_unsigned_int_const&>(vector<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>
   * this, iterator __position, ulonglong * __args#0) */

void __thiscall
std::vector<var_2,_std::var_1<var_2>var_3>::
_M_realloc_insert<long_long_unsigned_int_const&>
          (vector<var_2,_std::var_1<var_2>var_3> *this,
          iterator __position,ulonglong *__args_0)

{
  type_2 var_5;
  type_1 puVar2;
  type_2 var_6;
  type_3 uVar4;
  type_1 var_9;
  int var_7;
  type_1 puVar7;
  type_1 var_10;
  int var_8;
  type_1 puVar10;
  
  var_10 = (this->
           super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
           _M_impl._M_finish;
  var_9 = (this->
           super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
           _M_impl._M_start;
  var_8 = (int)__position._M_current - (int)var_9;
  var_5 = (int)var_10 - (int)var_9 >> 3;
  if (var_5 == 0) {
    var_6 = 1;
LAB_0013e160:
    var_7 = var_6 << 3;
LAB_0013e02c:
    puVar2 = (type_1)(*(type_4 *)PTR_operator_new_004c13a8)(var_7);
    puVar7 = (type_1)((int)puVar2 + var_7);
  }
  else {
    var_6 = var_5 << 1;
    if (var_6 < var_5) {
      var_7 = -8;
      goto LAB_0013e02c;
    }
    var_7 = -8;
    if (0x1fffffff < var_6) goto LAB_0013e02c;
    puVar2 = (type_1)0x0;
    if (var_6 != 0) goto LAB_0013e160;
    puVar7 = (type_1)0x0;
  }
  uVar4 = *(type_3 *)__args_0;
  var_7 = (int)puVar2 + var_8 + 8;
  ((type_3 *)((int)puVar2 + var_8))[1] = (int)*__args_0;
  *(type_3 *)((int)puVar2 + var_8) = uVar4;
  puVar10 = (type_1)(var_7 + ((int)var_10 - (int)__position._M_current));
  if (var_9 == __position._M_current) {
    if (var_10 != var_9) goto LAB_0013e094;
  }
  else {
    (*(type_4 *)PTR_memmove_004c5af8)(puVar2,var_9,var_8);
    if (var_10 == __position._M_current) goto LAB_0013e0e8;
LAB_0013e094:
    (*(type_4 *)PTR_memcpy_004c5ba8)
              (var_7,__position._M_current,(int)var_10 - (int)__position._M_current);
  }
  if (var_9 == (type_1)0x0) {
    (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
    _M_impl._M_start = puVar2;
    (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
    _M_impl._M_finish = puVar10;
    (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
    _M_impl._M_end_of_storage = puVar7;
    return;
  }
LAB_0013e0e8:
  (*(type_4 *)PTR_operator_delete_004c12fc)(var_9);
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
  _M_impl._M_start = puVar2;
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
  _M_impl._M_finish = puVar10;
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4).
  _M_impl._M_end_of_storage = puVar7;
  return;
}


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

/* void std::vector<unsigned long long, std::allocator<unsigned long long>
   >::_M_realloc_insert<unsigned long long const&>(__normal_iterator<unsigned long long*,
   std::vector<unsigned long long, std::allocator<unsigned long long> > >, unsigned long long
   const&) */

void __thiscall
std::vector<unsigned_long_long,std::allocator<unsigned_long_long>>::
MASKED
          (vector<unsigned_long_long,std::allocator<unsigned_long_long>> *this,int param_2,
          undefined4 *param_3)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  
  iVar8 = *(int *)(this + 4);
  iVar6 = *(int *)this;
  iVar9 = param_2 - iVar6;
  uVar1 = iVar8 - iVar6 >> 3;
  if (uVar1 == 0) {
    uVar3 = 1;
LAB_0013e160:
    iVar7 = uVar3 << 3;
LAB_0013e02c:
    iVar2 = (*(code *)PTR_operator_new_004c13a8)(iVar7);
    iVar7 = iVar2 + iVar7;
  }
  else {
    uVar3 = uVar1 << 1;
    if (uVar3 < uVar1) {
      iVar7 = -8;
      goto LAB_0013e02c;
    }
    iVar7 = -8;
    if (0x1fffffff < uVar3) goto LAB_0013e02c;
    iVar2 = 0;
    if (uVar3 != 0) goto LAB_0013e160;
    iVar7 = 0;
  }
  uVar4 = *param_3;
  iVar5 = iVar2 + iVar9 + 8;
  ((undefined4 *)(iVar2 + iVar9))[1] = param_3[1];
  *(undefined4 *)(iVar2 + iVar9) = uVar4;
  iVar10 = iVar5 + (iVar8 - param_2);
  if (iVar6 == param_2) {
    if (iVar8 != iVar6) goto LAB_0013e094;
  }
  else {
    (*(code *)PTR_memmove_004c5af8)(iVar2,iVar6,iVar9);
    if (iVar8 == param_2) goto LAB_0013e0e8;
LAB_0013e094:
    (*(code *)PTR_memcpy_004c5ba8)(iVar5,param_2,iVar8 - param_2);
  }
  if (iVar6 == 0) {
    *(int *)this = iVar2;
    *(int *)(this + 4) = iVar10;
    *(int *)(this + 8) = iVar7;
    return;
  }
LAB_0013e0e8:
  (*(code *)PTR_operator_delete_004c12fc)(iVar6);
  *(int *)this = iVar2;
  *(int *)(this + 4) = iVar10;
  *(int *)(this + 8) = iVar7;
  return;
}

