
/* DWARF original name: emplace_back<unsigned char>
   DWARF original prototype: void
   emplace_back<unsigned_char>(vector<unsigned_char,_std::allocator<unsigned_char>_> * this, uchar *
   __args#0) */

void __thiscall
std::vector<unsigned_char,_std::allocator<unsigned_char>_>::emplace_back<unsigned_char>
          (vector<unsigned_char,_std::allocator<unsigned_char>_> *this,uchar *__args_0)

{
  pointer *ppuVar1;
  uchar *puVar2;
  pointer __src;
  pointer __dest;
  size_t __n;
  pointer puVar3;
  ulong uVar4;
  
  puVar2 = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.
           _M_finish;
  if (puVar2 != (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.
                _M_end_of_storage) {
    *puVar2 = *__args_0;
    ppuVar1 = &(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.
               _M_finish;
    *ppuVar1 = *ppuVar1 + 1;
    return;
  }
  __src = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start
  ;
  __n = (long)puVar2 - (long)__src;
  if (__n == 0xffffffffffffffff) {
                    /* WARNING: Subroutine does not return */
    __throw_length_error("vector::_M_realloc_insert");
  }
  uVar4 = 1;
  if ((__n != 0) && (uVar4 = __n * 2, uVar4 < __n)) {
    uVar4 = 0xffffffffffffffff;
  }
  __dest = (pointer)operator_new(uVar4);
  __dest[__n] = *__args_0;
  if (__n == 0) {
    puVar3 = __dest + 1;
    if (__src == (pointer)0x0) goto LAB_00172021;
  }
  else {
    puVar3 = __dest + __n + 1;
    memmove(__dest,__src,__n);
  }
  operator_delete(__src);
LAB_00172021:
  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start =
       __dest;
  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_finish =
       puVar3;
  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.
  _M_end_of_storage = __dest + uVar4;
  return;
}



void FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)

{
  undefined1 *puVar1;
  void *__src;
  void *__dest;
  size_t __n;
  long lVar2;
  ulong uVar3;
  
  puVar1 = (undefined1 *)param_1[1];
  if (puVar1 != (undefined1 *)param_1[2]) {
    *puVar1 = *param_2;
    param_1[1] = param_1[1] + 1;
    return;
  }
  __src = (void *)*param_1;
  __n = (long)puVar1 - (long)__src;
  if (__n == 0xffffffffffffffff) {
                    /* WARNING: Subroutine does not return */
    FUN_0032e880("vector::_M_realloc_insert");
  }
  uVar3 = 1;
  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {
    uVar3 = 0xffffffffffffffff;
  }
  __dest = (void *)FUN_002ee780(uVar3);
  *(undefined1 *)((long)__dest + __n) = *param_2;
  if (__n == 0) {
    lVar2 = (long)__dest + 1;
    if (__src == (void *)0x0) goto LAB_00172021;
  }
  else {
    lVar2 = (long)__dest + __n + 1;
    memmove(__dest,__src,__n);
  }
  FUN_002eff50(__src);
LAB_00172021:
  *param_1 = __dest;
  param_1[1] = lVar2;
  param_1[2] = uVar3 + (long)__dest;
  return;
}


MOV RDX,qword ptr [RDI + 0x8]
CMP RDX,qword ptr [RDI + 0x10]
JZ 0x00171fb8
MOVZX EAX,byte ptr [RSI]
MOV byte ptr [RDX],AL
ADD qword ptr [RDI + 0x8],0x1
RET
PUSH R15
PUSH R14
PUSH R13
PUSH R12
MOV R12,RSI
PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV R15,qword ptr [RDI]
SUB RDX,R15
MOV RBP,RDX
CMP RDX,-0x1
JZ 0x0017205d
MOV R13D,0x1
TEST RDX,RDX
JZ 0x00171ffc
LEA R13,[RDX + RDX*0x1]
MOV RAX,-0x1
CMP RDX,R13
CMOVA R13,RAX
MOV RDI,R13
CALL 0x002ee780
MOV R14,RAX
ADD R13,RAX
MOVZX EAX,byte ptr [R12]
MOV byte ptr [R14 + RBP*0x1],AL
TEST RBP,RBP
JNZ 0x00172040
LEA RBP,[R14 + 0x1]
TEST R15,R15
JNZ 0x00172053
MOV qword ptr [RBX],R14
MOV qword ptr [RBX + 0x8],RBP
MOV qword ptr [RBX + 0x10],R13
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDX,RBP
MOV RSI,R15
LEA RBP,[R14 + RBP*0x1 + 0x1]
MOV RDI,R14
CALL 0x001496d0
MOV RDI,R15
CALL 0x002eff50
JMP 0x00172021
LEA RDI,[0x38841d]
CALL 0x0032e880
(translation_unit "void FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}\n\n" (function_definition "void FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}" primitive_type (function_declarator "FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined1 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined1 *)param_1[1];" (assignment_expression "puVar1 = (undefined1 *)param_1[1]" identifier = (cast_expression "(undefined1 *)param_1[1]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (undefined1 *)param_1[2])" ( (binary_expression "puVar1 != (undefined1 *)param_1[2]" identifier != (cast_expression "(undefined1 *)param_1[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[1] = param_1[1] + 1;" (assignment_expression "param_1[1] = param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__n = (long)puVar1 - (long)__src;" (assignment_expression "__n = (long)puVar1 - (long)__src" identifier = (binary_expression "(long)puVar1 - (long)__src" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n == 0xffffffffffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0032e880("vector::_M_realloc_insert");\n  }" if (parenthesized_expression "(__n == 0xffffffffffffffff)" ( (binary_expression "__n == 0xffffffffffffffff" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0032e880("vector::_M_realloc_insert");\n  }" { comment (expression_statement "FUN_0032e880("vector::_M_realloc_insert");" (call_expression "FUN_0032e880("vector::_M_realloc_insert")" identifier (argument_list "("vector::_M_realloc_insert")" ( (string_literal ""vector::_M_realloc_insert"" " string_content ") ))) ;) })) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (if_statement "if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }" if (parenthesized_expression "((__n != 0) && (uVar3 = __n * 2, uVar3 < __n))" ( (binary_expression "(__n != 0) && (uVar3 = __n * 2, uVar3 < __n)" (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar3 = __n * 2, uVar3 < __n)" ( (comma_expression "uVar3 = __n * 2, uVar3 < __n" (assignment_expression "uVar3 = __n * 2" identifier = (binary_expression "__n * 2" identifier * number_literal)) , (binary_expression "uVar3 < __n" identifier < identifier)) ))) )) (compound_statement "{\n    uVar3 = 0xffffffffffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" identifier = number_literal) ;) })) (expression_statement "__dest = (void *)FUN_002ee780(uVar3);" (assignment_expression "__dest = (void *)FUN_002ee780(uVar3)" identifier = (cast_expression "(void *)FUN_002ee780(uVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002ee780(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))))) ;) (expression_statement "*(undefined1 *)((long)__dest + __n) = *param_2;" (assignment_expression "*(undefined1 *)((long)__dest + __n) = *param_2" (pointer_expression "*(undefined1 *)((long)__dest + __n)" * (cast_expression "(undefined1 *)((long)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + __n)" ( (binary_expression "(long)__dest + __n" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }" { (expression_statement "lVar2 = (long)__dest + 1;" (assignment_expression "lVar2 = (long)__dest + 1" identifier = (binary_expression "(long)__dest + 1" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal)) ;) (if_statement "if (__src == (void *)0x0) goto LAB_00172021;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00172021;" goto statement_identifier ;)) }) (else_clause "else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" else (compound_statement "{\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" { (expression_statement "lVar2 = (long)__dest + __n + 1;" (assignment_expression "lVar2 = (long)__dest + __n + 1" identifier = (binary_expression "(long)__dest + __n + 1" (binary_expression "(long)__dest + __n" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal)) ;) (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "FUN_002eff50(__src);" (call_expression "FUN_002eff50(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_00172021:\n  *param_1 = __dest;" statement_identifier : (expression_statement "*param_1 = __dest;" (assignment_expression "*param_1 = __dest" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = lVar2;" (assignment_expression "param_1[1] = lVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = uVar3 + (long)__dest;" (assignment_expression "param_1[2] = uVar3 + (long)__dest" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar3 + (long)__dest" identifier + (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original name: emplace_back<unsigned char>\n   DWARF original prototype: void\n   emplace_back<unsigned_char>(vector<unsigned_char,_std::allocator<unsigned_char>_> * this, uchar *\n   __args#0) */\n\nvoid __thiscall\nstd::vector<unsigned_char,_std::allocator<unsigned_char>_>::emplace_back<unsigned_char>\n          (vector<unsigned_char,_std::allocator<unsigned_char>_> *this,uchar *__args_0)\n\n{\n  pointer *ppuVar1;\n  uchar *puVar2;\n  pointer __src;\n  pointer __dest;\n  size_t __n;\n  pointer puVar3;\n  ulong uVar4;\n  \n  puVar2 = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n           _M_finish;\n  if (puVar2 != (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n                _M_end_of_storage) {\n    *puVar2 = *__args_0;\n    ppuVar1 = &(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish;\n    *ppuVar1 = *ppuVar1 + 1;\n    return;\n  }\n  __src = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start\n  ;\n  __n = (long)puVar2 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_realloc_insert");\n  }\n  uVar4 = 1;\n  if ((__n != 0) && (uVar4 = __n * 2, uVar4 < __n)) {\n    uVar4 = 0xffffffffffffffff;\n  }\n  __dest = (pointer)operator_new(uVar4);\n  __dest[__n] = *__args_0;\n  if (__n == 0) {\n    puVar3 = __dest + 1;\n    if (__src == (pointer)0x0) goto LAB_00172021;\n  }\n  else {\n    puVar3 = __dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  operator_delete(__src);\nLAB_00172021:\n  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start =\n       __dest;\n  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_finish =\n       puVar3;\n  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n  _M_end_of_storage = __dest + uVar4;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<unsigned_char,_std::allocator<unsigned_char>_>::emplace_back<unsigned_char>\n          (vector<unsigned_char,_std::allocator<unsigned_char>_> *this,uchar *__args_0)\n\n{\n  pointer *ppuVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "_std::allocator<unsigned_char>_>::emplace_back<unsigned_char>\n          (vector<unsigned_char,_std::allocator<unsigned_char>_> *this,uchar *__args_0)\n\n{\n  pointer" identifier : : identifier < identifier > identifier > : : identifier < (function_declarator "unsigned_char>\n          (vector<unsigned_char,_std::allocator<unsigned_char>_> *this,uchar *__args_0)" identifier (ERROR ">" >) (parameter_list "(vector<unsigned_char,_std::allocator<unsigned_char>_> *this,uchar *__args_0)" ( (parameter_declaration "vector<unsigned_char" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "_std::allocator<unsigned_char>_> *this" type_identifier (ERROR "::allocator<unsigned_char>_>" : : identifier < identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *__args_0" type_identifier (pointer_declarator "*__args_0" * identifier)) ))) { identifier) (pointer_declarator "*ppuVar1" * identifier) ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "pointer __src;" type_identifier identifier ;) (declaration "pointer __dest;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "pointer puVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "puVar2 = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n           _M_finish;" (assignment_expression "puVar2 = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n           _M_finish" identifier = (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n           _M_finish" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (puVar2 != (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n                _M_end_of_storage) {\n    *puVar2 = *__args_0;\n    ppuVar1 = &(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish;\n    *ppuVar1 = *ppuVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar2 != (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n                _M_end_of_storage)" ( (binary_expression "puVar2 != (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n                _M_end_of_storage" identifier != (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n                _M_end_of_storage" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    *puVar2 = *__args_0;\n    ppuVar1 = &(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish;\n    *ppuVar1 = *ppuVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar2 = *__args_0;" (assignment_expression "*puVar2 = *__args_0" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*__args_0" * identifier)) ;) (expression_statement "ppuVar1 = &(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish;" (assignment_expression "ppuVar1 = &(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish" identifier = (pointer_expression "&(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish" & (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n               _M_finish" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*ppuVar1 = *ppuVar1 + 1;" (assignment_expression "*ppuVar1 = *ppuVar1 + 1" (pointer_expression "*ppuVar1" * identifier) = (binary_expression "*ppuVar1 + 1" (pointer_expression "*ppuVar1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__src = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start\n  ;" (assignment_expression "__src = (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start" identifier = (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "__n = (long)puVar2 - (long)__src;" (assignment_expression "__n = (long)puVar2 - (long)__src" identifier = (binary_expression "(long)puVar2 - (long)__src" (cast_expression "(long)puVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n == 0xffffffffffffffff) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_realloc_insert");\n  }" if (parenthesized_expression "(__n == 0xffffffffffffffff)" ( (binary_expression "__n == 0xffffffffffffffff" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_realloc_insert");\n  }" { comment (expression_statement "__throw_length_error("vector::_M_realloc_insert");" (call_expression "__throw_length_error("vector::_M_realloc_insert")" identifier (argument_list "("vector::_M_realloc_insert")" ( (string_literal ""vector::_M_realloc_insert"" " string_content ") ))) ;) })) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (if_statement "if ((__n != 0) && (uVar4 = __n * 2, uVar4 < __n)) {\n    uVar4 = 0xffffffffffffffff;\n  }" if (parenthesized_expression "((__n != 0) && (uVar4 = __n * 2, uVar4 < __n))" ( (binary_expression "(__n != 0) && (uVar4 = __n * 2, uVar4 < __n)" (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar4 = __n * 2, uVar4 < __n)" ( (comma_expression "uVar4 = __n * 2, uVar4 < __n" (assignment_expression "uVar4 = __n * 2" identifier = (binary_expression "__n * 2" identifier * number_literal)) , (binary_expression "uVar4 < __n" identifier < identifier)) ))) )) (compound_statement "{\n    uVar4 = 0xffffffffffffffff;\n  }" { (expression_statement "uVar4 = 0xffffffffffffffff;" (assignment_expression "uVar4 = 0xffffffffffffffff" identifier = number_literal) ;) })) (expression_statement "__dest = (pointer)operator_new(uVar4);" (assignment_expression "__dest = (pointer)operator_new(uVar4)" identifier = (cast_expression "(pointer)operator_new(uVar4)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))))) ;) (expression_statement "__dest[__n] = *__args_0;" (assignment_expression "__dest[__n] = *__args_0" (subscript_expression "__dest[__n]" identifier [ identifier ]) = (pointer_expression "*__args_0" * identifier)) ;) (if_statement "if (__n == 0) {\n    puVar3 = __dest + 1;\n    if (__src == (pointer)0x0) goto LAB_00172021;\n  }\n  else {\n    puVar3 = __dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = __dest + 1;\n    if (__src == (pointer)0x0) goto LAB_00172021;\n  }" { (expression_statement "puVar3 = __dest + 1;" (assignment_expression "puVar3 = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (__src == (pointer)0x0) goto LAB_00172021;" if (parenthesized_expression "(__src == (pointer)0x0)" ( (binary_expression "__src == (pointer)0x0" identifier == (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_00172021;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar3 = __dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" else (compound_statement "{\n    puVar3 = __dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" { (expression_statement "puVar3 = __dest + __n + 1;" (assignment_expression "puVar3 = __dest + __n + 1" identifier = (binary_expression "__dest + __n + 1" (binary_expression "__dest + __n" identifier + identifier) + number_literal)) ;) (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "operator_delete(__src);" (call_expression "operator_delete(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_00172021:\n  (this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start =\n       __dest;" statement_identifier : (expression_statement "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start =\n       __dest;" (assignment_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start =\n       __dest" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;)) (expression_statement "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_finish =\n       puVar3;" (assignment_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_finish =\n       puVar3" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n  _M_end_of_storage = __dest + uVar4;" (assignment_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n  _M_end_of_storage = __dest + uVar4" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl.\n  _M_end_of_storage" (field_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "this->super__Vector_base<unsigned_char,_std::" (comma_expression "this->super__Vector_base<unsigned_char,_std" (binary_expression "this->super__Vector_base<unsigned_char" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "__dest + uVar4" identifier + identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}\n\n" (function_definition "void FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}" primitive_type (function_declarator "FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined1 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined1 *)param_1[1];" (assignment_expression "puVar1 = (undefined1 *)param_1[1]" identifier = (cast_expression "(undefined1 *)param_1[1]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (undefined1 *)param_1[2])" ( (binary_expression "puVar1 != (undefined1 *)param_1[2]" identifier != (cast_expression "(undefined1 *)param_1[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[1] = param_1[1] + 1;" (assignment_expression "param_1[1] = param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__n = (long)puVar1 - (long)__src;" (assignment_expression "__n = (long)puVar1 - (long)__src" identifier = (binary_expression "(long)puVar1 - (long)__src" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }" if (parenthesized_expression "(__n == 0xffffffffffffffff)" ( (binary_expression "__n == 0xffffffffffffffff" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }" { (expression_statement "FUN_0032e880("vector::_M_realloc_insert");" (call_expression "FUN_0032e880("vector::_M_realloc_insert")" identifier (argument_list "("vector::_M_realloc_insert")" ( (string_literal ""vector::_M_realloc_insert"" " string_content ") ))) ;) })) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (if_statement "if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }" if (parenthesized_expression "((__n != 0) && (uVar3 = __n * 2, uVar3 < __n))" ( (binary_expression "(__n != 0) && (uVar3 = __n * 2, uVar3 < __n)" (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar3 = __n * 2, uVar3 < __n)" ( (comma_expression "uVar3 = __n * 2, uVar3 < __n" (assignment_expression "uVar3 = __n * 2" identifier = (binary_expression "__n * 2" identifier * number_literal)) , (binary_expression "uVar3 < __n" identifier < identifier)) ))) )) (compound_statement "{\n    uVar3 = 0xffffffffffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" identifier = number_literal) ;) })) (expression_statement "__dest = (void *)FUN_002ee780(uVar3);" (assignment_expression "__dest = (void *)FUN_002ee780(uVar3)" identifier = (cast_expression "(void *)FUN_002ee780(uVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002ee780(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))))) ;) (expression_statement "*(undefined1 *)((long)__dest + __n) = *param_2;" (assignment_expression "*(undefined1 *)((long)__dest + __n) = *param_2" (pointer_expression "*(undefined1 *)((long)__dest + __n)" * (cast_expression "(undefined1 *)((long)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + __n)" ( (binary_expression "(long)__dest + __n" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }" { (expression_statement "lVar2 = (long)__dest + 1;" (assignment_expression "lVar2 = (long)__dest + 1" identifier = (binary_expression "(long)__dest + 1" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal)) ;) (if_statement "if (__src == (void *)0x0) goto LAB_00172021;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00172021;" goto statement_identifier ;)) }) (else_clause "else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" else (compound_statement "{\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" { (expression_statement "lVar2 = (long)__dest + __n + 1;" (assignment_expression "lVar2 = (long)__dest + __n + 1" identifier = (binary_expression "(long)__dest + __n + 1" (binary_expression "(long)__dest + __n" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal)) ;) (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "FUN_002eff50(__src);" (call_expression "FUN_002eff50(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_00172021:\n  *param_1 = __dest;" statement_identifier : (expression_statement "*param_1 = __dest;" (assignment_expression "*param_1 = __dest" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = lVar2;" (assignment_expression "param_1[1] = lVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = uVar3 + (long)__dest;" (assignment_expression "param_1[2] = uVar3 + (long)__dest" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar3 + (long)__dest" identifier + (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT * LIT)) , (binary_expression IDENT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (return_statement return ;) })))
(function_definition "void FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00171fa0(undefined8 *param_1,undefined1 *param_2)" (identifier "FUN_00171fa0") (parameter_list "(undefined8 *param_1,undefined1 *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  void *__src;\n  void *__dest;\n  size_t __n;\n  long lVar2;\n  ulong uVar3;\n  \n  puVar1 = (undefined1 *)param_1[1];\n  if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }\n  __src = (void *)*param_1;\n  __n = (long)puVar1 - (long)__src;\n  if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }\n  uVar3 = 1;\n  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }\n  __dest = (void *)FUN_002ee780(uVar3);\n  *(undefined1 *)((long)__dest + __n) = *param_2;\n  if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }\n  FUN_002eff50(__src);\nLAB_00172021:\n  *param_1 = __dest;\n  param_1[1] = lVar2;\n  param_1[2] = uVar3 + (long)__dest;\n  return;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (expression_statement "puVar1 = (undefined1 *)param_1[1];" (assignment_expression "puVar1 = (undefined1 *)param_1[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)param_1[1]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar1 != (undefined1 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != (undefined1 *)param_1[2])" (( "(") (binary_expression "puVar1 != (undefined1 *)param_1[2]" (identifier "puVar1") (!= "!=") (cast_expression "(undefined1 *)param_1[2]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    *puVar1 = *param_2;\n    param_1[1] = param_1[1] + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_1[1] = param_1[1] + 1;" (assignment_expression "param_1[1] = param_1[1] + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" (identifier "__src") (= "=") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "__n = (long)puVar1 - (long)__src;" (assignment_expression "__n = (long)puVar1 - (long)__src" (identifier "__n") (= "=") (binary_expression "(long)puVar1 - (long)__src" (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1")) (- "-") (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src")))) (; ";")) (if_statement "if (__n == 0xffffffffffffffff) {\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }" (if "if") (parenthesized_expression "(__n == 0xffffffffffffffff)" (( "(") (binary_expression "__n == 0xffffffffffffffff" (identifier "__n") (== "==") (number_literal "0xffffffffffffffff")) () ")")) (compound_statement "{\n                    \n    FUN_0032e880("vector::_M_realloc_insert");\n  }" ({ "{") (expression_statement "FUN_0032e880("vector::_M_realloc_insert");" (call_expression "FUN_0032e880("vector::_M_realloc_insert")" (identifier "FUN_0032e880") (argument_list "("vector::_M_realloc_insert")" (( "(") (string_literal ""vector::_M_realloc_insert"" (" """) (string_content "vector::_M_realloc_insert") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (if_statement "if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {\n    uVar3 = 0xffffffffffffffff;\n  }" (if "if") (parenthesized_expression "((__n != 0) && (uVar3 = __n * 2, uVar3 < __n))" (( "(") (binary_expression "(__n != 0) && (uVar3 = __n * 2, uVar3 < __n)" (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = __n * 2, uVar3 < __n)" (( "(") (comma_expression "uVar3 = __n * 2, uVar3 < __n" (assignment_expression "uVar3 = __n * 2" (identifier "uVar3") (= "=") (binary_expression "__n * 2" (identifier "__n") (* "*") (number_literal "2"))) (, ",") (binary_expression "uVar3 < __n" (identifier "uVar3") (< "<") (identifier "__n"))) () ")"))) () ")")) (compound_statement "{\n    uVar3 = 0xffffffffffffffff;\n  }" ({ "{") (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (} "}"))) (expression_statement "__dest = (void *)FUN_002ee780(uVar3);" (assignment_expression "__dest = (void *)FUN_002ee780(uVar3)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_002ee780(uVar3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002ee780(uVar3)" (identifier "FUN_002ee780") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((long)__dest + __n) = *param_2;" (assignment_expression "*(undefined1 *)((long)__dest + __n) = *param_2" (pointer_expression "*(undefined1 *)((long)__dest + __n)" (* "*") (cast_expression "(undefined1 *)((long)__dest + __n)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)__dest + __n)" (( "(") (binary_expression "(long)__dest + __n" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (__n == 0) {\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }\n  else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" (if "if") (parenthesized_expression "(__n == 0)" (( "(") (binary_expression "__n == 0" (identifier "__n") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar2 = (long)__dest + 1;\n    if (__src == (void *)0x0) goto LAB_00172021;\n  }" ({ "{") (expression_statement "lVar2 = (long)__dest + 1;" (assignment_expression "lVar2 = (long)__dest + 1" (identifier "lVar2") (= "=") (binary_expression "(long)__dest + 1" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (__src == (void *)0x0) goto LAB_00172021;" (if "if") (parenthesized_expression "(__src == (void *)0x0)" (( "(") (binary_expression "__src == (void *)0x0" (identifier "__src") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00172021;" (goto "goto") (statement_identifier "LAB_00172021") (; ";"))) (} "}")) (else_clause "else {\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" (else "else") (compound_statement "{\n    lVar2 = (long)__dest + __n + 1;\n    memmove(__dest,__src,__n);\n  }" ({ "{") (expression_statement "lVar2 = (long)__dest + __n + 1;" (assignment_expression "lVar2 = (long)__dest + __n + 1" (identifier "lVar2") (= "=") (binary_expression "(long)__dest + __n + 1" (binary_expression "(long)__dest + __n" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" (identifier "memmove") (argument_list "(__dest,__src,__n)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_002eff50(__src);" (call_expression "FUN_002eff50(__src)" (identifier "FUN_002eff50") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_00172021:\n  *param_1 = __dest;" (statement_identifier "LAB_00172021") (: ":") (expression_statement "*param_1 = __dest;" (assignment_expression "*param_1 = __dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "__dest")) (; ";"))) (expression_statement "param_1[1] = lVar2;" (assignment_expression "param_1[1] = lVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "param_1[2] = uVar3 + (long)__dest;" (assignment_expression "param_1[2] = uVar3 + (long)__dest" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar3 + (long)__dest" (identifier "uVar3") (+ "+") (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original name: emplace_back<unsigned char>
   DWARF original prototype: void
   emplace_back<unsigned_char>(vector<unsigned_char,_std::allocator<unsigned_char>_> * this, uchar *
   __args#0) */

void __thiscall
std::vector<var_2,_std::var_1<var_2>var_3>::emplace_back<var_2>
          (vector<var_2,_std::var_1<var_2>var_3> *this,type_1 *__args_0)

{
  type_2 *ppuVar1;
  type_1 *var_5;
  type_2 var_11;
  type_2 var_10;
  size_t var_6;
  type_2 puVar3;
  type_3 var_8;
  
  var_5 = (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl.
           _M_finish;
  if (var_5 != (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl.
                _M_end_of_storage) {
    *var_5 = *__args_0;
    ppuVar1 = &(this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl.
               _M_finish;
    *ppuVar1 = *ppuVar1 + 1;
    return;
  }
  var_11 = (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_start
  ;
  var_6 = (long)var_5 - (long)var_11;
  if (var_6 == 0xffffffffffffffff) {
                    /* WARNING: Subroutine does not return */
    var_7("vector::_M_realloc_insert");
  }
  var_8 = 1;
  if ((var_6 != 0) && (var_8 = var_6 * 2, var_8 < var_6)) {
    var_8 = 0xffffffffffffffff;
  }
  var_10 = (type_2)var_9(var_8);
  var_10[var_6] = *__args_0;
  if (var_6 == 0) {
    puVar3 = var_10 + 1;
    if (var_11 == (type_2)0x0) goto LAB_00172021;
  }
  else {
    puVar3 = var_10 + var_6 + 1;
    var_12(var_10,var_11,var_6);
  }
  var_13(var_11);
LAB_00172021:
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_start =
       var_10;
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_finish =
       puVar3;
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl.
  _M_end_of_storage = var_10 + var_8;
  return;
}


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

void MASKED(undefined8 *param_1,undefined1 *param_2)

{
  undefined1 *puVar1;
  void *__src;
  void *__dest;
  size_t __n;
  long lVar2;
  ulong uVar3;
  
  puVar1 = (undefined1 *)param_1[1];
  if (puVar1 != (undefined1 *)param_1[2]) {
    *puVar1 = *param_2;
    param_1[1] = param_1[1] + 1;
    return;
  }
  __src = (void *)*param_1;
  __n = (long)puVar1 - (long)__src;
  if (__n == 0xffffffffffffffff) {
                    /* WARNING: Subroutine does not return */
    FUN_0032e880("vector::_M_realloc_insert");
  }
  uVar3 = 1;
  if ((__n != 0) && (uVar3 = __n * 2, uVar3 < __n)) {
    uVar3 = 0xffffffffffffffff;
  }
  __dest = (void *)FUN_002ee780(uVar3);
  *(undefined1 *)((long)__dest + __n) = *param_2;
  if (__n == 0) {
    lVar2 = (long)__dest + 1;
    if (__src == (void *)0x0) goto LAB_00172021;
  }
  else {
    lVar2 = (long)__dest + __n + 1;
    memmove(__dest,__src,__n);
  }
  FUN_002eff50(__src);
LAB_00172021:
  *param_1 = __dest;
  param_1[1] = lVar2;
  param_1[2] = uVar3 + (long)__dest;
  return;
}

