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

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

{
  pointer puVar1;
  pointer puVar2;
  int iVar3;
  pointer puVar4;
  pointer puVar5;
  
  if (0x3fffffff < __n) {
    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);
    return;
  }
  puVar2 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start;
  if (__n <= (uint)((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).
                         _M_impl._M_end_of_storage - (int)puVar2 >> 2)) {
    return;
  }
  puVar4 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish
  ;
  iVar3 = (int)puVar4 - (int)puVar2;
  if (__n == 0) {
    puVar1 = (pointer)0x0;
    puVar5 = puVar2;
  }
  else {
    puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4);
    puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.
             _M_start;
  }
  if (puVar4 != puVar2) {
    (*(code *)PTR_memmove_004c5af8)(puVar1,puVar2,iVar3);
  }
  if (puVar5 != (pointer)0x0) {
    (*(code *)PTR_operator_delete_004c12fc)(puVar5);
  }
  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = puVar1;
  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =
       (pointer)((int)puVar1 + iVar3);
  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage
       = puVar1 + __n;
  return;
}



/* std::vector<unsigned int, std::allocator<unsigned int> >::reserve(unsigned int) */

void __thiscall
std::vector<unsigned_int,std::allocator<unsigned_int>>::reserve
          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  
  if (0x3fffffff < param_1) {
    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);
    return;
  }
  iVar2 = *(int *)this;
  if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {
    return;
  }
  iVar4 = *(int *)(this + 4);
  iVar3 = iVar4 - iVar2;
  if (param_1 == 0) {
    iVar1 = 0;
    iVar5 = iVar2;
  }
  else {
    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);
    iVar5 = *(int *)this;
  }
  if (iVar4 != iVar2) {
    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);
  }
  if (iVar5 != 0) {
    (*(code *)PTR_operator_delete_004c12fc)(iVar5);
  }
  *(int *)this = iVar1;
  *(int *)(this + 4) = iVar1 + iVar3;
  *(uint *)(this + 8) = iVar1 + param_1 * 4;
  return;
}


lui gp,0x2f
addiu gp,gp,-0x784
addu gp,gp,t9
addiu sp,sp,-0x38
lui v0,0x4000
sw gp,0x10(sp)
sltu v0,a1,v0
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
beq v0,zero,0x001d9ae4
_sw s0,0x18(sp)
lw s1,0x0(a0)
lw v0,0x8(a0)
subu v0,v0,s1
sra v0,v0,0x2
sltu v0,v0,a1
bne v0,zero,0x001d9a48
_or s0,a0,zero
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
lw s4,0x4(a0)
sll s5,a1,0x2
beq a1,zero,0x001d9ad8
_subu s3,s4,s1
lw t9,-0x7e98(gp)
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
or s2,v0,zero
lw s6,0x0(s0)
beq s4,s1,0x001d9a8c
_lw t9,-0x3748(gp)
or a2,s3,zero
or a1,s1,zero
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
beq s6,zero,0x001d9a9c
_lw t9,-0x7f44(gp)
jalr t9
_or a0,s6,zero
lw ra,0x34(sp)
addu s3,s2,s3
lw s6,0x30(sp)
lw s4,0x28(sp)
lw s1,0x1c(sp)
sw s2,0x0(s0)
addu s2,s2,s5
sw s3,0x4(s0)
sw s2,0x8(s0)
lw s5,0x2c(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
or s2,zero,zero
b 0x001d9a70
_or s6,s1,zero
lw a0,-0x77f0(gp)
lw t9,-0x73cc(gp)
jalr t9
_addiu a0,a0,-0xda4
(translation_unit "/* std::vector<unsigned int, std::allocator<unsigned int> >::reserve(unsigned int) */\n\nvoid __thiscall\nstd::vector<unsigned_int,std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  \n  if (0x3fffffff < param_1) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }\n  iVar2 = *(int *)this;\n  if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {\n    return;\n  }\n  iVar4 = *(int *)(this + 4);\n  iVar3 = iVar4 - iVar2;\n  if (param_1 == 0) {\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }\n  else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }\n  if (iVar4 != iVar2) {\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }\n  if (iVar5 != 0) {\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }\n  *(int *)this = iVar1;\n  *(int *)(this + 4) = iVar1 + iVar3;\n  *(uint *)(this + 8) = iVar1 + param_1 * 4;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<unsigned_int,std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int" identifier : : identifier < identifier >> : : (function_declarator "reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)" identifier (parameter_list "(vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)" ( (parameter_declaration "vector<unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::allocator<unsigned_int>> *this" type_identifier (ERROR "::allocator<unsigned_int>>" : : identifier < identifier >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) { primitive_type) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (0x3fffffff < param_1) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" if (parenthesized_expression "(0x3fffffff < param_1)" ( (binary_expression "0x3fffffff < param_1" number_literal < identifier) )) (compound_statement "{\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" { (expression_statement "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);" (call_expression "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" ( (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" * (cast_expression "(code *)PTR___throw_length_error_004c1e74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0xda4)" ( (binary_expression "PTR_s__s_004c1a50 + -0xda4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = *(int *)this;" (assignment_expression "iVar2 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {\n    return;\n  }" if (parenthesized_expression "(param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2))" ( (binary_expression "param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)" identifier <= (call_expression "(uint)(*(int *)(this + 8) - iVar2 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(this + 8) - iVar2 >> 2)" ( (binary_expression "*(int *)(this + 8) - iVar2 >> 2" (binary_expression "*(int *)(this + 8) - iVar2" (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) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = *(int *)(this + 4);" (assignment_expression "iVar4 = *(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 "iVar3 = iVar4 - iVar2;" (assignment_expression "iVar3 = iVar4 - iVar2" identifier = (binary_expression "iVar4 - iVar2" identifier - identifier)) ;) (if_statement "if (param_1 == 0) {\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }\n  else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);" (assignment_expression "iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4)" identifier = (call_expression "(*(code *)PTR_operator_new_004c13a8)(param_1 * 4)" (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 "(param_1 * 4)" ( (binary_expression "param_1 * 4" identifier * number_literal) )))) ;) (expression_statement "iVar5 = *(int *)this;" (assignment_expression "iVar5 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }))) (if_statement "if (iVar4 != iVar2) {\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }" { (expression_statement "(*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);" (call_expression "(*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3)" (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 "(iVar1,iVar2,iVar3)" ( identifier , identifier , identifier ))) ;) })) (if_statement "if (iVar5 != 0) {\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(iVar5);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(iVar5)" (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 "(iVar5)" ( identifier ))) ;) })) (expression_statement "*(int *)this = iVar1;" (assignment_expression "*(int *)this = iVar1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + 4) = iVar1 + iVar3;" (assignment_expression "*(int *)(this + 4) = iVar1 + iVar3" (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) )))) = (binary_expression "iVar1 + iVar3" identifier + identifier)) ;) (expression_statement "*(uint *)(this + 8) = iVar1 + param_1 * 4;" (assignment_expression "*(uint *)(this + 8) = iVar1 + param_1 * 4" (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "iVar1 + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "/* DWARF original prototype: void reserve(vector<unsigned_int,_std::allocator<unsigned_int>_> *\n   this, size_type __n) */\n\nvoid __thiscall\nstd::vector<unsigned_int,_std::allocator<unsigned_int>_>::reserve\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,size_type __n)\n\n{\n  pointer puVar1;\n  pointer puVar2;\n  int iVar3;\n  pointer puVar4;\n  pointer puVar5;\n  \n  if (0x3fffffff < __n) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }\n  puVar2 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start;\n  if (__n <= (uint)((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2)) {\n    return;\n  }\n  puVar4 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish\n  ;\n  iVar3 = (int)puVar4 - (int)puVar2;\n  if (__n == 0) {\n    puVar1 = (pointer)0x0;\n    puVar5 = puVar2;\n  }\n  else {\n    puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4);\n    puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start;\n  }\n  if (puVar4 != puVar2) {\n    (*(code *)PTR_memmove_004c5af8)(puVar1,puVar2,iVar3);\n  }\n  if (puVar5 != (pointer)0x0) {\n    (*(code *)PTR_operator_delete_004c12fc)(puVar5);\n  }\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = puVar1;\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n       (pointer)((int)puVar1 + iVar3);\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage\n       = puVar1 + __n;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<unsigned_int,_std::allocator<unsigned_int>_>::reserve\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,size_type __n)\n\n{\n  pointer puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "_std::allocator<unsigned_int>_>::reserve\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,size_type __n)\n\n{\n  pointer" identifier : : identifier < identifier > identifier > : : (function_declarator "reserve\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,size_type __n)" identifier (parameter_list "(vector<unsigned_int,_std::allocator<unsigned_int>_> *this,size_type __n)" ( (parameter_declaration "vector<unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "_std::allocator<unsigned_int>_> *this" type_identifier (ERROR "::allocator<unsigned_int>_>" : : identifier < identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "size_type __n" type_identifier identifier) ))) { identifier) identifier ;) (declaration "pointer puVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "pointer puVar4;" type_identifier identifier ;) (declaration "pointer puVar5;" type_identifier identifier ;) (if_statement "if (0x3fffffff < __n) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" if (parenthesized_expression "(0x3fffffff < __n)" ( (binary_expression "0x3fffffff < __n" number_literal < identifier) )) (compound_statement "{\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" { (expression_statement "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);" (call_expression "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" ( (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" * (cast_expression "(code *)PTR___throw_length_error_004c1e74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0xda4)" ( (binary_expression "PTR_s__s_004c1a50 + -0xda4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "puVar2 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start;" (assignment_expression "puVar2 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start" identifier = (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (__n <= (uint)((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2)) {\n    return;\n  }" if (parenthesized_expression "(__n <= (uint)((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2))" ( (binary_expression "__n <= (uint)((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2)" identifier <= (call_expression "(uint)((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2)" ( (binary_expression "(int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2 >> 2" (binary_expression "(int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage - (int)puVar2" (cast_expression "(int)(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>).\n                         _M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar4 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish\n  ;" (assignment_expression "puVar4 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" identifier = (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "iVar3 = (int)puVar4 - (int)puVar2;" (assignment_expression "iVar3 = (int)puVar4 - (int)puVar2" identifier = (binary_expression "(int)puVar4 - (int)puVar2" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n == 0) {\n    puVar1 = (pointer)0x0;\n    puVar5 = puVar2;\n  }\n  else {\n    puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4);\n    puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start;\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    puVar1 = (pointer)0x0;\n    puVar5 = puVar2;\n  }" { (expression_statement "puVar1 = (pointer)0x0;" (assignment_expression "puVar1 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "puVar5 = puVar2;" (assignment_expression "puVar5 = puVar2" identifier = identifier) ;) }) (else_clause "else {\n    puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4);\n    puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start;\n  }" else (compound_statement "{\n    puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4);\n    puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start;\n  }" { (expression_statement "puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4);" (assignment_expression "puVar1 = (pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4)" identifier = (call_expression "(pointer)(*(code *)PTR_operator_new_004c13a8)(__n * 4)" (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 "(__n * 4)" ( (binary_expression "__n * 4" identifier * number_literal) )))) ;) (expression_statement "puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start;" (assignment_expression "puVar5 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start" identifier = (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n             _M_start" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) }))) (if_statement "if (puVar4 != puVar2) {\n    (*(code *)PTR_memmove_004c5af8)(puVar1,puVar2,iVar3);\n  }" if (parenthesized_expression "(puVar4 != puVar2)" ( (binary_expression "puVar4 != puVar2" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(puVar1,puVar2,iVar3);\n  }" { (expression_statement "(*(code *)PTR_memmove_004c5af8)(puVar1,puVar2,iVar3);" (call_expression "(*(code *)PTR_memmove_004c5af8)(puVar1,puVar2,iVar3)" (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 "(puVar1,puVar2,iVar3)" ( identifier , identifier , identifier ))) ;) })) (if_statement "if (puVar5 != (pointer)0x0) {\n    (*(code *)PTR_operator_delete_004c12fc)(puVar5);\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    (*(code *)PTR_operator_delete_004c12fc)(puVar5);\n  }" { (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<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = puVar1;" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = puVar1" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n       (pointer)((int)puVar1 + iVar3);" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n       (pointer)((int)puVar1 + iVar3)" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = (call_expression "(pointer)((int)puVar1 + iVar3)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "((int)puVar1 + iVar3)" ( (binary_expression "(int)puVar1 + iVar3" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage\n       = puVar1 + __n;" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage\n       = puVar1 + __n" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "puVar1 + __n" identifier + identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void __thiscall\nstd::vector<unsigned_int,std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  \n  if (0x3fffffff < param_1) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }\n  iVar2 = *(int *)this;\n  if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {\n    return;\n  }\n  iVar4 = *(int *)(this + 4);\n  iVar3 = iVar4 - iVar2;\n  if (param_1 == 0) {\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }\n  else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }\n  if (iVar4 != iVar2) {\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }\n  if (iVar5 != 0) {\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }\n  *(int *)this = iVar1;\n  *(int *)(this + 4) = iVar1 + iVar3;\n  *(uint *)(this + 8) = iVar1 + param_1 * 4;\n  return;\n}\n\n" (declaration "void __thiscall\nstd::vector<unsigned_int,std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int" identifier : : identifier < identifier >> : : (function_declarator "reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)" identifier (parameter_list "(vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)" ( (parameter_declaration "vector<unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::allocator<unsigned_int>> *this" type_identifier (ERROR "::allocator<unsigned_int>>" : : identifier < identifier >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) { primitive_type) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (0x3fffffff < param_1) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" if (parenthesized_expression "(0x3fffffff < param_1)" ( (binary_expression "0x3fffffff < param_1" number_literal < identifier) )) (compound_statement "{\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" { (expression_statement "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);" (call_expression "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" ( (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" * (cast_expression "(code *)PTR___throw_length_error_004c1e74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0xda4)" ( (binary_expression "PTR_s__s_004c1a50 + -0xda4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = *(int *)this;" (assignment_expression "iVar2 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {\n    return;\n  }" if (parenthesized_expression "(param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2))" ( (binary_expression "param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)" identifier <= (call_expression "(uint)(*(int *)(this + 8) - iVar2 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(this + 8) - iVar2 >> 2)" ( (binary_expression "*(int *)(this + 8) - iVar2 >> 2" (binary_expression "*(int *)(this + 8) - iVar2" (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) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = *(int *)(this + 4);" (assignment_expression "iVar4 = *(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 "iVar3 = iVar4 - iVar2;" (assignment_expression "iVar3 = iVar4 - iVar2" identifier = (binary_expression "iVar4 - iVar2" identifier - identifier)) ;) (if_statement "if (param_1 == 0) {\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }\n  else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);" (assignment_expression "iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4)" identifier = (call_expression "(*(code *)PTR_operator_new_004c13a8)(param_1 * 4)" (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 "(param_1 * 4)" ( (binary_expression "param_1 * 4" identifier * number_literal) )))) ;) (expression_statement "iVar5 = *(int *)this;" (assignment_expression "iVar5 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }))) (if_statement "if (iVar4 != iVar2) {\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }" { (expression_statement "(*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);" (call_expression "(*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3)" (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 "(iVar1,iVar2,iVar3)" ( identifier , identifier , identifier ))) ;) })) (if_statement "if (iVar5 != 0) {\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(iVar5);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(iVar5)" (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 "(iVar5)" ( identifier ))) ;) })) (expression_statement "*(int *)this = iVar1;" (assignment_expression "*(int *)this = iVar1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + 4) = iVar1 + iVar3;" (assignment_expression "*(int *)(this + 4) = iVar1 + iVar3" (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) )))) = (binary_expression "iVar1 + iVar3" identifier + identifier)) ;) (expression_statement "*(uint *)(this + 8) = iVar1 + param_1 * 4;" (assignment_expression "*(uint *)(this + 8) = iVar1 + param_1 * 4" (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "iVar1 + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT <) IDENT , (ERROR IDENT : : IDENT < IDENT >> : : (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (ERROR <) IDENT) , (parameter_declaration TYPE (ERROR : : IDENT < IDENT >>) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) { TYPE) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) >> LIT) )))) )) (compound_statement { (return_statement return ;) })) (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 = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (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 != LIT) )) (compound_statement { (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) )))) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (return_statement return ;) (ERROR }))
(declaration "void __thiscall\nstd::vector<unsigned_int,std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int iVar1;" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::vector<" (identifier "std") (: ":") (: ":") (identifier "vector") (< "<")) (identifier "unsigned_int") (, ",") (ERROR "std::allocator<unsigned_int>>::reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)\n\n{\n  int" (identifier "std") (: ":") (: ":") (identifier "allocator") (< "<") (identifier "unsigned_int") (>> ">>") (: ":") (: ":") (function_declarator "reserve\n          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)" (identifier "reserve") (parameter_list "(vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)" (( "(") (parameter_declaration "vector<unsigned_int" (type_identifier "vector") (ERROR "<" (< "<")) (identifier "unsigned_int")) (, ",") (parameter_declaration "std::allocator<unsigned_int>> *this" (type_identifier "std") (ERROR "::allocator<unsigned_int>>" (: ":") (: ":") (identifier "allocator") (< "<") (identifier "unsigned_int") (>> ">>")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) ({ "{") (primitive_type "int")) (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (if_statement "if (0x3fffffff < param_1) {\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" (if "if") (parenthesized_expression "(0x3fffffff < param_1)" (( "(") (binary_expression "0x3fffffff < param_1" (number_literal "0x3fffffff") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);" (call_expression "(*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" (( "(") (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" (* "*") (cast_expression "(code *)PTR___throw_length_error_004c1e74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___throw_length_error_004c1e74"))) () ")")) (argument_list "(PTR_s__s_004c1a50 + -0xda4)" (( "(") (binary_expression "PTR_s__s_004c1a50 + -0xda4" (identifier "PTR_s__s_004c1a50") (+ "+") (number_literal "-0xda4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)this;" (assignment_expression "iVar2 = *(int *)this" (identifier "iVar2") (= "=") (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this")))) (; ";")) (if_statement "if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2))" (( "(") (binary_expression "param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)" (identifier "param_1") (<= "<=") (call_expression "(uint)(*(int *)(this + 8) - iVar2 >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(this + 8) - iVar2 >> 2)" (( "(") (binary_expression "*(int *)(this + 8) - iVar2 >> 2" (binary_expression "*(int *)(this + 8) - iVar2" (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 "iVar2")) (>> ">>") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(this + 4);" (assignment_expression "iVar4 = *(int *)(this + 4)" (identifier "iVar4") (= "=") (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 "iVar3 = iVar4 - iVar2;" (assignment_expression "iVar3 = iVar4 - iVar2" (identifier "iVar3") (= "=") (binary_expression "iVar4 - iVar2" (identifier "iVar4") (- "-") (identifier "iVar2"))) (; ";")) (if_statement "if (param_1 == 0) {\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }\n  else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 0;\n    iVar5 = iVar2;\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" (identifier "iVar5") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);\n    iVar5 = *(int *)this;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);" (assignment_expression "iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_operator_new_004c13a8)(param_1 * 4)" (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 "(param_1 * 4)" (( "(") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4")) () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)this;" (assignment_expression "iVar5 = *(int *)this" (identifier "iVar5") (= "=") (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this")))) (; ";")) (} "}")))) (if_statement "if (iVar4 != iVar2) {\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }" (if "if") (parenthesized_expression "(iVar4 != iVar2)" (( "(") (binary_expression "iVar4 != iVar2" (identifier "iVar4") (!= "!=") (identifier "iVar2")) () ")")) (compound_statement "{\n    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);\n  }" ({ "{") (expression_statement "(*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);" (call_expression "(*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3)" (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 "(iVar1,iVar2,iVar3)" (( "(") (identifier "iVar1") (, ",") (identifier "iVar2") (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar5 != 0) {\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)(iVar5);\n  }" ({ "{") (expression_statement "(*(code *)PTR_operator_delete_004c12fc)(iVar5);" (call_expression "(*(code *)PTR_operator_delete_004c12fc)(iVar5)" (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 "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)this = iVar1;" (assignment_expression "*(int *)this = iVar1" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(int *)(this + 4) = iVar1 + iVar3;" (assignment_expression "*(int *)(this + 4) = iVar1 + iVar3" (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")) () ")")))) (= "=") (binary_expression "iVar1 + iVar3" (identifier "iVar1") (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "*(uint *)(this + 8) = iVar1 + param_1 * 4;" (assignment_expression "*(uint *)(this + 8) = iVar1 + param_1 * 4" (pointer_expression "*(uint *)(this + 8)" (* "*") (cast_expression "(uint *)(this + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "iVar1 + param_1 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (ERROR "}" (} "}"))

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

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

{
  type_1 var_11;
  type_1 var_8;
  int var_10;
  type_1 var_7;
  type_1 var_9;
  
  if (0x3fffffff < var_1) {
    (*(type_2 *)PTR___throw_length_error_004c1e74)(var_2 + -0xda4);
    return;
  }
  var_8 = (this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6)._M_impl._M_start;
  if (var_1 <= (uint)((int)(this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6).
                         _M_impl._M_end_of_storage - (int)var_8 >> 2)) {
    return;
  }
  var_7 = (this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6)._M_impl._M_finish
  ;
  var_10 = (int)var_7 - (int)var_8;
  if (var_1 == 0) {
    var_11 = (type_1)0x0;
    var_9 = var_8;
  }
  else {
    var_11 = (type_1)(*(type_2 *)PTR_operator_new_004c13a8)(var_1 * 4);
    var_9 = (this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6)._M_impl.
             _M_start;
  }
  if (var_7 != var_8) {
    (*(type_2 *)PTR_memmove_004c5af8)(var_11,var_8,var_10);
  }
  if (var_9 != (type_1)0x0) {
    (*(type_2 *)PTR_operator_delete_004c12fc)(var_9);
  }
  (this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6)._M_impl._M_start = var_11;
  (this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6)._M_impl._M_finish =
       (type_1)((int)var_11 + var_10);
  (this->super__Vector_base<var_4,_std::var_3<var_4>var_5>var_6)._M_impl._M_end_of_storage
       = var_11 + var_1;
  return;
}


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

/* std::vector<unsigned int, std::allocator<unsigned int> >::MASKED(unsigned int) */

void __thiscall
std::vector<unsigned_int,std::allocator<unsigned_int>>::MASKED
          (vector<unsigned_int,std::allocator<unsigned_int>> *this,uint param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  
  if (0x3fffffff < param_1) {
    (*(code *)PTR___throw_length_error_004c1e74)(PTR_s__s_004c1a50 + -0xda4);
    return;
  }
  iVar2 = *(int *)this;
  if (param_1 <= (uint)(*(int *)(this + 8) - iVar2 >> 2)) {
    return;
  }
  iVar4 = *(int *)(this + 4);
  iVar3 = iVar4 - iVar2;
  if (param_1 == 0) {
    iVar1 = 0;
    iVar5 = iVar2;
  }
  else {
    iVar1 = (*(code *)PTR_operator_new_004c13a8)(param_1 * 4);
    iVar5 = *(int *)this;
  }
  if (iVar4 != iVar2) {
    (*(code *)PTR_memmove_004c5af8)(iVar1,iVar2,iVar3);
  }
  if (iVar5 != 0) {
    (*(code *)PTR_operator_delete_004c12fc)(iVar5);
  }
  *(int *)this = iVar1;
  *(int *)(this + 4) = iVar1 + iVar3;
  *(uint *)(this + 8) = iVar1 + param_1 * 4;
  return;
}

