
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   _M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
   * this, size_type __n) */

void __thiscall
std::vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>::
_M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
                  *this,size_type __n)

{
  pointer ppIVar1;
  pointer __src;
  size_type sVar2;
  uint uVar3;
  pointer ppIVar4;
  uint uVar5;
  int iVar6;
  
  if (__n == 0) {
    return;
  }
  ppIVar4 = (this->
            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
            )._M_impl._M_finish;
  if (__n <= (uint)((int)(this->
                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2)) {
    sVar2 = 0;
    do {
      ppIVar4[sVar2] = (Incremental_library *)0x0;
      sVar2 = sVar2 + 1;
    } while (__n != sVar2);
    (this->
    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).
    _M_impl._M_finish = ppIVar4 + __n;
    return;
  }
  iVar6 = (int)ppIVar4 -
          (int)(this->
               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
               )._M_impl._M_start;
  uVar5 = iVar6 >> 2;
  if (0x3fffffff - uVar5 < __n) {
                    /* WARNING: Subroutine does not return */
    __throw_length_error("vector::_M_default_append");
  }
  uVar3 = uVar5;
  if (uVar5 <= __n) {
    uVar3 = __n;
  }
  uVar3 = uVar3 + uVar5;
  if (0x3fffffff < uVar3) {
    uVar3 = 0x3fffffff;
  }
  ppIVar4 = (pointer)operator_new(uVar3 * 4);
  sVar2 = 0;
  do {
    *(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6) = 0;
    sVar2 = sVar2 + 1;
  } while (__n != sVar2);
  ppIVar1 = (this->
            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
            )._M_impl._M_finish;
  __src = (this->
          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
          )._M_impl._M_start;
  if (ppIVar1 == __src) {
    if (__src == (pointer)0x0) goto LAB_0009dea4;
  }
  else {
    memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src);
  }
  operator_delete(__src);
LAB_0009dea4:
  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
  )._M_impl._M_start = ppIVar4;
  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
  )._M_impl._M_finish = ppIVar4 + uVar5 + sVar2;
  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
  )._M_impl._M_end_of_storage = ppIVar4 + uVar3;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0009ddb0(int *param_1,uint param_2)

{
  int iVar1;
  int iVar2;
  void *__src;
  uint uVar3;
  uint uVar4;
  void *__dest;
  uint uVar5;
  
  if (param_2 == 0) {
    return;
  }
  iVar1 = param_1[1];
  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {
    uVar3 = 0;
    do {
      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;
      uVar3 = uVar3 + 1;
    } while (param_2 != uVar3);
    param_1[1] = iVar1 + param_2 * 4;
    return;
  }
  iVar2 = *param_1;
  uVar3 = iVar1 - iVar2 >> 2;
  if (0x3fffffff - uVar3 < param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_001f1e60("vector::_M_default_append");
  }
  uVar4 = uVar3;
  if (uVar3 <= param_2) {
    uVar4 = param_2;
  }
  uVar4 = uVar4 + uVar3;
  if (0x3fffffff < uVar4) {
    uVar4 = 0x3fffffff;
  }
  __dest = (void *)FUN_001aa8c0(uVar4 * 4);
  uVar5 = 0;
  do {
    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;
    uVar5 = uVar5 + 1;
  } while (param_2 != uVar5);
  __src = (void *)*param_1;
  if ((void *)param_1[1] == __src) {
    if (__src == (void *)0x0) goto LAB_0009dea4;
  }
  else {
    memmove(__dest,__src,param_1[1] - (int)__src);
  }
  FUN_001ac470(__src);
LAB_0009dea4:
  *param_1 = (int)__dest;
  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);
  param_1[2] = (int)((int)__dest + uVar4 * 4);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x2a1247
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x30]
TEST ESI,ESI
JZ 0x0009ddf4
MOV EDI,dword ptr [EBP + 0x4]
MOV EAX,dword ptr [EBP + 0x8]
SUB EAX,EDI
SAR EAX,0x2
CMP ESI,EAX
JA 0x0009de00
XOR EAX,EAX
NOP
MOV dword ptr [EDI + EAX*0x4],0x0
ADD EAX,0x1
CMP ESI,EAX
JNZ 0x0009dde0
LEA EAX,[EDI + ESI*0x4]
MOV dword ptr [EBP + 0x4],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB EDI,dword ptr [EBP]
MOV ECX,0x3fffffff
MOV EDX,EDI
MOV EAX,ECX
SAR EDX,0x2
SUB EAX,EDX
CMP EAX,ESI
JC 0x0009dec6
CMP ESI,EDX
MOV EAX,EDX
MOV dword ptr [ESP + 0x8],EDX
CMOVNC EAX,ESI
ADD EAX,EDX
CMP EAX,0x3fffffff
CMOVA EAX,ECX
SUB ESP,0xc
SHL EAX,0x2
MOV dword ptr [ESP + 0x10],EAX
PUSH EAX
CALL 0x001aa8c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,EAX
LEA EAX,[EAX + EDI*0x1]
XOR EDI,EDI
LEA ESI,[ESI]
MOV dword ptr [EAX + EDI*0x4],0x0
ADD EDI,0x1
CMP ESI,EDI
JNZ 0x0009de50
MOV EAX,dword ptr [EBP + 0x4]
MOV ESI,dword ptr [EBP]
CMP EAX,ESI
JZ 0x0009dec0
MOV dword ptr [ESP + 0xc],EDX
SUB EAX,ESI
SUB ESP,0x4
PUSH EAX
PUSH ESI
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
CALL 0x000288a0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],ECX
PUSH ESI
CALL 0x001ac470
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x8]
ADD EDX,EDI
MOV dword ptr [EBP],ECX
LEA EAX,[ECX + EDX*0x4]
ADD ECX,dword ptr [ESP + 0x4]
MOV dword ptr [EBP + 0x4],EAX
MOV dword ptr [EBP + 0x8],ECX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST ESI,ESI
JZ 0x0009dea4
JMP 0x0009de88
SUB ESP,0xc
LEA EAX,[EBX + 0xfff12c18]
PUSH EAX
CALL 0x001f1e60
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0009ddb0(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}\n\n" comment (function_definition "void FUN_0009ddb0(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}" primitive_type (function_declarator "FUN_0009ddb0(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }" if (parenthesized_expression "(param_2 <= (uint)(param_1[2] - iVar1 >> 2))" ( (binary_expression "param_2 <= (uint)(param_1[2] - iVar1 >> 2)" identifier <= (call_expression "(uint)(param_1[2] - iVar1 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] - iVar1 >> 2)" ( (binary_expression "param_1[2] - iVar1 >> 2" (binary_expression "param_1[2] - iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) - identifier) >> number_literal) )))) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);" do (compound_statement "{\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    }" { (expression_statement "*(undefined4 *)(iVar1 + uVar3 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + uVar3 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar1 + uVar3 * 4)" * (cast_expression "(undefined4 *)(iVar1 + uVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + uVar3 * 4)" ( (binary_expression "iVar1 + uVar3 * 4" identifier + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != uVar3)" ( (binary_expression "param_2 != uVar3" identifier != identifier) )) ;) (expression_statement "param_1[1] = iVar1 + param_2 * 4;" (assignment_expression "param_1[1] = iVar1 + param_2 * 4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = iVar1 - iVar2 >> 2;" (assignment_expression "uVar3 = iVar1 - iVar2 >> 2" identifier = (binary_expression "iVar1 - iVar2 >> 2" (binary_expression "iVar1 - iVar2" identifier - identifier) >> number_literal)) ;) (if_statement "if (0x3fffffff - uVar3 < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001f1e60("vector::_M_default_append");\n  }" if (parenthesized_expression "(0x3fffffff - uVar3 < param_2)" ( (binary_expression "0x3fffffff - uVar3 < param_2" (binary_expression "0x3fffffff - uVar3" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_001f1e60("vector::_M_default_append");\n  }" { comment (expression_statement "FUN_001f1e60("vector::_M_default_append");" (call_expression "FUN_001f1e60("vector::_M_default_append")" identifier (argument_list "("vector::_M_default_append")" ( (string_literal ""vector::_M_default_append"" " string_content ") ))) ;) })) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" identifier = identifier) ;) (if_statement "if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }" if (parenthesized_expression "(uVar3 <= param_2)" ( (binary_expression "uVar3 <= param_2" identifier <= identifier) )) (compound_statement "{\n    uVar4 = param_2;\n  }" { (expression_statement "uVar4 = param_2;" (assignment_expression "uVar4 = param_2" identifier = identifier) ;) })) (expression_statement "uVar4 = uVar4 + uVar3;" (assignment_expression "uVar4 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (if_statement "if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }" if (parenthesized_expression "(0x3fffffff < uVar4)" ( (binary_expression "0x3fffffff < uVar4" number_literal < identifier) )) (compound_statement "{\n    uVar4 = 0x3fffffff;\n  }" { (expression_statement "uVar4 = 0x3fffffff;" (assignment_expression "uVar4 = 0x3fffffff" identifier = number_literal) ;) })) (expression_statement "__dest = (void *)FUN_001aa8c0(uVar4 * 4);" (assignment_expression "__dest = (void *)FUN_001aa8c0(uVar4 * 4)" identifier = (cast_expression "(void *)FUN_001aa8c0(uVar4 * 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(uVar4 * 4)" identifier (argument_list "(uVar4 * 4)" ( (binary_expression "uVar4 * 4" identifier * number_literal) ))))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);" do (compound_statement "{\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  }" { (expression_statement "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;" (assignment_expression "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0" (pointer_expression "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" * (cast_expression "(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" ( (binary_expression "(int)__dest + uVar5 * 4 + (iVar1 - iVar2)" (binary_expression "(int)__dest + uVar5 * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar5 * 4" identifier * number_literal)) + (parenthesized_expression "(iVar1 - iVar2)" ( (binary_expression "iVar1 - iVar2" identifier - identifier) ))) )))) = number_literal) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != uVar5)" ( (binary_expression "param_2 != uVar5" identifier != identifier) )) ;) (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))) ;) (if_statement "if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" if (parenthesized_expression "((void *)param_1[1] == __src)" ( (binary_expression "(void *)param_1[1] == __src" (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }" { (if_statement "if (__src == (void *)0x0) goto LAB_0009dea4;" 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_0009dea4;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" else (compound_statement "{\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" { (expression_statement "memmove(__dest,__src,param_1[1] - (int)__src);" (call_expression "memmove(__dest,__src,param_1[1] - (int)__src)" identifier (argument_list "(__dest,__src,param_1[1] - (int)__src)" ( identifier , identifier , (binary_expression "param_1[1] - (int)__src" (subscript_expression "param_1[1]" identifier [ number_literal ]) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (expression_statement "FUN_001ac470(__src);" (call_expression "FUN_001ac470(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0009dea4:\n  *param_1 = (int)__dest;" statement_identifier : (expression_statement "*param_1 = (int)__dest;" (assignment_expression "*param_1 = (int)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);" (assignment_expression "param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)((int)__dest + (uVar3 + uVar5) * 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)__dest + (uVar3 + uVar5) * 4)" ( (binary_expression "(int)__dest + (uVar3 + uVar5) * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uVar3 + uVar5) * 4" (parenthesized_expression "(uVar3 + uVar5)" ( (binary_expression "uVar3 + uVar5" identifier + identifier) )) * number_literal)) )))) ;) (expression_statement "param_1[2] = (int)((int)__dest + uVar4 * 4);" (assignment_expression "param_1[2] = (int)((int)__dest + uVar4 * 4)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)((int)__dest + uVar4 * 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)__dest + uVar4 * 4)" ( (binary_expression "(int)__dest + uVar4 * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar4 * 4" identifier * number_literal)) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void\n   _M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n   * this, size_type __n) */\n\nvoid __thiscall\nstd::vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>::\n_M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                  *this,size_type __n)\n\n{\n  pointer ppIVar1;\n  pointer __src;\n  size_type sVar2;\n  uint uVar3;\n  pointer ppIVar4;\n  uint uVar5;\n  int iVar6;\n  \n  if (__n == 0) {\n    return;\n  }\n  ppIVar4 = (this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish;\n  if (__n <= (uint)((int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2)) {\n    sVar2 = 0;\n    do {\n      ppIVar4[sVar2] = (Incremental_library *)0x0;\n      sVar2 = sVar2 + 1;\n    } while (__n != sVar2);\n    (this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl._M_finish = ppIVar4 + __n;\n    return;\n  }\n  iVar6 = (int)ppIVar4 -\n          (int)(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl._M_start;\n  uVar5 = iVar6 >> 2;\n  if (0x3fffffff - uVar5 < __n) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_default_append");\n  }\n  uVar3 = uVar5;\n  if (uVar5 <= __n) {\n    uVar3 = __n;\n  }\n  uVar3 = uVar3 + uVar5;\n  if (0x3fffffff < uVar3) {\n    uVar3 = 0x3fffffff;\n  }\n  ppIVar4 = (pointer)operator_new(uVar3 * 4);\n  sVar2 = 0;\n  do {\n    *(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6) = 0;\n    sVar2 = sVar2 + 1;\n  } while (__n != sVar2);\n  ppIVar1 = (this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish;\n  __src = (this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n          )._M_impl._M_start;\n  if (ppIVar1 == __src) {\n    if (__src == (pointer)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src);\n  }\n  operator_delete(__src);\nLAB_0009dea4:\n  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_start = ppIVar4;\n  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_finish = ppIVar4 + uVar5 + sVar2;\n  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_end_of_storage = ppIVar4 + uVar3;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>::\n_M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                  *this,size_type __n)\n\n{\n  pointer ppIVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*" *) , (ERROR "_std::allocator<gold::Incremental_library*>_>::\n_M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                  *this,size_type __n)\n\n{\n  pointer" identifier : : identifier < identifier : : identifier * > identifier > : : (function_declarator "_M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                  *this,size_type __n)" identifier (parameter_list "(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                  *this,size_type __n)" ( (parameter_declaration "vector<gold::Incremental_library*" type_identifier (ERROR "<gold::Incremental_library" < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Incremental_library*>_>\n                  *this" type_identifier (ERROR "::allocator<gold::Incremental_library*>_>" : : identifier < identifier : : identifier * > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "size_type __n" type_identifier identifier) ))) { identifier) identifier ;) (declaration "pointer __src;" type_identifier identifier ;) (declaration "size_type sVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "pointer ppIVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (__n == 0) {\n    return;\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "ppIVar4 = (this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish;" (assignment_expression "ppIVar4 = (this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish" identifier = (field_expression "(this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish" (field_expression "(this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl" (parenthesized_expression "(this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )" ( (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->\n            super__Vector_base<gold" (field_expression "this->\n            super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (__n <= (uint)((int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2)) {\n    sVar2 = 0;\n    do {\n      ppIVar4[sVar2] = (Incremental_library *)0x0;\n      sVar2 = sVar2 + 1;\n    } while (__n != sVar2);\n    (this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl._M_finish = ppIVar4 + __n;\n    return;\n  }" if (parenthesized_expression "(__n <= (uint)((int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2))" ( (binary_expression "__n <= (uint)((int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2)" identifier <= (call_expression "(uint)((int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2)" ( (binary_expression "(int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4 >> 2" (binary_expression "(int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage - (int)ppIVar4" (cast_expression "(int)(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl._M_end_of_storage" (field_expression "(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )._M_impl" (parenthesized_expression "(this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n                         )" ( (binary_expression "this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->\n                         super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->\n                         super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->\n                         super__Vector_base<gold" (field_expression "this->\n                         super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) - (cast_expression "(int)ppIVar4" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    sVar2 = 0;\n    do {\n      ppIVar4[sVar2] = (Incremental_library *)0x0;\n      sVar2 = sVar2 + 1;\n    } while (__n != sVar2);\n    (this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl._M_finish = ppIVar4 + __n;\n    return;\n  }" { (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      ppIVar4[sVar2] = (Incremental_library *)0x0;\n      sVar2 = sVar2 + 1;\n    } while (__n != sVar2);" do (compound_statement "{\n      ppIVar4[sVar2] = (Incremental_library *)0x0;\n      sVar2 = sVar2 + 1;\n    }" { (expression_statement "ppIVar4[sVar2] = (Incremental_library *)0x0;" (assignment_expression "ppIVar4[sVar2] = (Incremental_library *)0x0" (subscript_expression "ppIVar4[sVar2]" identifier [ identifier ]) = (cast_expression "(Incremental_library *)0x0" ( (type_descriptor "Incremental_library *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "sVar2 = sVar2 + 1;" (assignment_expression "sVar2 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(__n != sVar2)" ( (binary_expression "__n != sVar2" identifier != identifier) )) ;) (expression_statement "(this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl._M_finish = ppIVar4 + __n;" (assignment_expression "(this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl._M_finish = ppIVar4 + __n" (field_expression "(this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl._M_finish" (field_expression "(this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>).\n    _M_impl" (parenthesized_expression "(this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>)" ( (binary_expression "this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->\n    super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->\n    super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->\n    super__Vector_base<gold" (field_expression "this->\n    super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "ppIVar4 + __n" identifier + identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "iVar6 = (int)ppIVar4 -\n          (int)(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl._M_start;" (assignment_expression "iVar6 = (int)ppIVar4 -\n          (int)(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl._M_start" identifier = (binary_expression "(int)ppIVar4 -\n          (int)(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl._M_start" (cast_expression "(int)ppIVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl._M_start" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl._M_start" (field_expression "(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )._M_impl" (parenthesized_expression "(this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n               )" ( (binary_expression "this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->\n               super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->\n               super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->\n               super__Vector_base<gold" (field_expression "this->\n               super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)))) ;) (expression_statement "uVar5 = iVar6 >> 2;" (assignment_expression "uVar5 = iVar6 >> 2" identifier = (binary_expression "iVar6 >> 2" identifier >> number_literal)) ;) (if_statement "if (0x3fffffff - uVar5 < __n) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_default_append");\n  }" if (parenthesized_expression "(0x3fffffff - uVar5 < __n)" ( (binary_expression "0x3fffffff - uVar5 < __n" (binary_expression "0x3fffffff - uVar5" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_default_append");\n  }" { comment (expression_statement "__throw_length_error("vector::_M_default_append");" (call_expression "__throw_length_error("vector::_M_default_append")" identifier (argument_list "("vector::_M_default_append")" ( (string_literal ""vector::_M_default_append"" " string_content ") ))) ;) })) (expression_statement "uVar3 = uVar5;" (assignment_expression "uVar3 = uVar5" identifier = identifier) ;) (if_statement "if (uVar5 <= __n) {\n    uVar3 = __n;\n  }" if (parenthesized_expression "(uVar5 <= __n)" ( (binary_expression "uVar5 <= __n" identifier <= identifier) )) (compound_statement "{\n    uVar3 = __n;\n  }" { (expression_statement "uVar3 = __n;" (assignment_expression "uVar3 = __n" identifier = identifier) ;) })) (expression_statement "uVar3 = uVar3 + uVar5;" (assignment_expression "uVar3 = uVar3 + uVar5" identifier = (binary_expression "uVar3 + uVar5" identifier + identifier)) ;) (if_statement "if (0x3fffffff < uVar3) {\n    uVar3 = 0x3fffffff;\n  }" if (parenthesized_expression "(0x3fffffff < uVar3)" ( (binary_expression "0x3fffffff < uVar3" number_literal < identifier) )) (compound_statement "{\n    uVar3 = 0x3fffffff;\n  }" { (expression_statement "uVar3 = 0x3fffffff;" (assignment_expression "uVar3 = 0x3fffffff" identifier = number_literal) ;) })) (expression_statement "ppIVar4 = (pointer)operator_new(uVar3 * 4);" (assignment_expression "ppIVar4 = (pointer)operator_new(uVar3 * 4)" identifier = (cast_expression "(pointer)operator_new(uVar3 * 4)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(uVar3 * 4)" identifier (argument_list "(uVar3 * 4)" ( (binary_expression "uVar3 * 4" identifier * number_literal) ))))) ;) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6) = 0;\n    sVar2 = sVar2 + 1;\n  } while (__n != sVar2);" do (compound_statement "{\n    *(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6) = 0;\n    sVar2 = sVar2 + 1;\n  }" { (expression_statement "*(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6) = 0;" (assignment_expression "*(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6) = 0" (pointer_expression "*(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6)" * (cast_expression "(undefined4 *)((int)ppIVar4 + sVar2 * 4 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppIVar4 + sVar2 * 4 + iVar6)" ( (binary_expression "(int)ppIVar4 + sVar2 * 4 + iVar6" (binary_expression "(int)ppIVar4 + sVar2 * 4" (cast_expression "(int)ppIVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "sVar2 * 4" identifier * number_literal)) + identifier) )))) = number_literal) ;) (expression_statement "sVar2 = sVar2 + 1;" (assignment_expression "sVar2 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(__n != sVar2)" ( (binary_expression "__n != sVar2" identifier != identifier) )) ;) (expression_statement "ppIVar1 = (this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish;" (assignment_expression "ppIVar1 = (this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish" identifier = (field_expression "(this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl._M_finish" (field_expression "(this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )._M_impl" (parenthesized_expression "(this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n            )" ( (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->\n            super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->\n            super__Vector_base<gold" (field_expression "this->\n            super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "__src = (this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n          )._M_impl._M_start;" (assignment_expression "__src = (this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n          )._M_impl._M_start" identifier = (field_expression "(this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n          )._M_impl._M_start" (field_expression "(this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n          )._M_impl" (parenthesized_expression "(this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n          )" ( (binary_expression "this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*" (binary_expression "this->\n          super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->\n          super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->\n          super__Vector_base<gold" (field_expression "this->\n          super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (ppIVar1 == __src) {\n    if (__src == (pointer)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src);\n  }" if (parenthesized_expression "(ppIVar1 == __src)" ( (binary_expression "ppIVar1 == __src" identifier == identifier) )) (compound_statement "{\n    if (__src == (pointer)0x0) goto LAB_0009dea4;\n  }" { (if_statement "if (__src == (pointer)0x0) goto LAB_0009dea4;" 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_0009dea4;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src);\n  }" else (compound_statement "{\n    memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src);\n  }" { (expression_statement "memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src);" (call_expression "memmove(ppIVar4,__src,(int)ppIVar1 - (int)__src)" identifier (argument_list "(ppIVar4,__src,(int)ppIVar1 - (int)__src)" ( identifier , identifier , (binary_expression "(int)ppIVar1 - (int)__src" (cast_expression "(int)ppIVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (expression_statement "operator_delete(__src);" (call_expression "operator_delete(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0009dea4:\n  (this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_start = ppIVar4;" statement_identifier : (expression_statement "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_start = ppIVar4;" (assignment_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_start = ppIVar4" (field_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_start" (field_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )" ( (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;)) (expression_statement "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_finish = ppIVar4 + uVar5 + sVar2;" (assignment_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_finish = ppIVar4 + uVar5 + sVar2" (field_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_finish" (field_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )" ( (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "ppIVar4 + uVar5 + sVar2" (binary_expression "ppIVar4 + uVar5" identifier + identifier) + identifier)) ;) (expression_statement "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_end_of_storage = ppIVar4 + uVar3;" (assignment_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_end_of_storage = ppIVar4 + uVar3" (field_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>\n  )" ( (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Incremental_library*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Incremental_library" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "ppIVar4 + uVar3" identifier + identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0009ddb0(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}\n\n" (function_definition "void FUN_0009ddb0(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}" primitive_type (function_declarator "FUN_0009ddb0(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }" if (parenthesized_expression "(param_2 <= (uint)(param_1[2] - iVar1 >> 2))" ( (binary_expression "param_2 <= (uint)(param_1[2] - iVar1 >> 2)" identifier <= (call_expression "(uint)(param_1[2] - iVar1 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] - iVar1 >> 2)" ( (binary_expression "param_1[2] - iVar1 >> 2" (binary_expression "param_1[2] - iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) - identifier) >> number_literal) )))) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);" do (compound_statement "{\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    }" { (expression_statement "*(undefined4 *)(iVar1 + uVar3 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + uVar3 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar1 + uVar3 * 4)" * (cast_expression "(undefined4 *)(iVar1 + uVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + uVar3 * 4)" ( (binary_expression "iVar1 + uVar3 * 4" identifier + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != uVar3)" ( (binary_expression "param_2 != uVar3" identifier != identifier) )) ;) (expression_statement "param_1[1] = iVar1 + param_2 * 4;" (assignment_expression "param_1[1] = iVar1 + param_2 * 4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = iVar1 - iVar2 >> 2;" (assignment_expression "uVar3 = iVar1 - iVar2 >> 2" identifier = (binary_expression "iVar1 - iVar2 >> 2" (binary_expression "iVar1 - iVar2" identifier - identifier) >> number_literal)) ;) (if_statement "if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }" if (parenthesized_expression "(0x3fffffff - uVar3 < param_2)" ( (binary_expression "0x3fffffff - uVar3 < param_2" (binary_expression "0x3fffffff - uVar3" number_literal - identifier) < identifier) )) (compound_statement "{\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }" { (expression_statement "FUN_001f1e60("vector::_M_default_append");" (call_expression "FUN_001f1e60("vector::_M_default_append")" identifier (argument_list "("vector::_M_default_append")" ( (string_literal ""vector::_M_default_append"" " string_content ") ))) ;) })) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" identifier = identifier) ;) (if_statement "if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }" if (parenthesized_expression "(uVar3 <= param_2)" ( (binary_expression "uVar3 <= param_2" identifier <= identifier) )) (compound_statement "{\n    uVar4 = param_2;\n  }" { (expression_statement "uVar4 = param_2;" (assignment_expression "uVar4 = param_2" identifier = identifier) ;) })) (expression_statement "uVar4 = uVar4 + uVar3;" (assignment_expression "uVar4 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (if_statement "if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }" if (parenthesized_expression "(0x3fffffff < uVar4)" ( (binary_expression "0x3fffffff < uVar4" number_literal < identifier) )) (compound_statement "{\n    uVar4 = 0x3fffffff;\n  }" { (expression_statement "uVar4 = 0x3fffffff;" (assignment_expression "uVar4 = 0x3fffffff" identifier = number_literal) ;) })) (expression_statement "__dest = (void *)FUN_001aa8c0(uVar4 * 4);" (assignment_expression "__dest = (void *)FUN_001aa8c0(uVar4 * 4)" identifier = (cast_expression "(void *)FUN_001aa8c0(uVar4 * 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(uVar4 * 4)" identifier (argument_list "(uVar4 * 4)" ( (binary_expression "uVar4 * 4" identifier * number_literal) ))))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);" do (compound_statement "{\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  }" { (expression_statement "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;" (assignment_expression "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0" (pointer_expression "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" * (cast_expression "(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" ( (binary_expression "(int)__dest + uVar5 * 4 + (iVar1 - iVar2)" (binary_expression "(int)__dest + uVar5 * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar5 * 4" identifier * number_literal)) + (parenthesized_expression "(iVar1 - iVar2)" ( (binary_expression "iVar1 - iVar2" identifier - identifier) ))) )))) = number_literal) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != uVar5)" ( (binary_expression "param_2 != uVar5" identifier != identifier) )) ;) (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))) ;) (if_statement "if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" if (parenthesized_expression "((void *)param_1[1] == __src)" ( (binary_expression "(void *)param_1[1] == __src" (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }" { (if_statement "if (__src == (void *)0x0) goto LAB_0009dea4;" 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_0009dea4;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" else (compound_statement "{\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" { (expression_statement "memmove(__dest,__src,param_1[1] - (int)__src);" (call_expression "memmove(__dest,__src,param_1[1] - (int)__src)" identifier (argument_list "(__dest,__src,param_1[1] - (int)__src)" ( identifier , identifier , (binary_expression "param_1[1] - (int)__src" (subscript_expression "param_1[1]" identifier [ number_literal ]) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (expression_statement "FUN_001ac470(__src);" (call_expression "FUN_001ac470(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0009dea4:\n  *param_1 = (int)__dest;" statement_identifier : (expression_statement "*param_1 = (int)__dest;" (assignment_expression "*param_1 = (int)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);" (assignment_expression "param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)((int)__dest + (uVar3 + uVar5) * 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)__dest + (uVar3 + uVar5) * 4)" ( (binary_expression "(int)__dest + (uVar3 + uVar5) * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uVar3 + uVar5) * 4" (parenthesized_expression "(uVar3 + uVar5)" ( (binary_expression "uVar3 + uVar5" identifier + identifier) )) * number_literal)) )))) ;) (expression_statement "param_1[2] = (int)((int)__dest + uVar4 * 4);" (assignment_expression "param_1[2] = (int)((int)__dest + uVar4 * 4)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)((int)__dest + uVar4 * 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)__dest + uVar4 * 4)" ( (binary_expression "(int)__dest + uVar4 * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar4 * 4" identifier * number_literal)) )))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT) >> LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < 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 ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (compound_statement { (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 (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_0009ddb0(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0009ddb0(int *param_1,uint param_2)" (identifier "FUN_0009ddb0") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  void *__src;\n  uint uVar3;\n  uint uVar4;\n  void *__dest;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  iVar1 = param_1[1];\n  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }\n  iVar2 = *param_1;\n  uVar3 = iVar1 - iVar2 >> 2;\n  if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }\n  uVar4 = uVar3;\n  if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }\n  uVar4 = uVar4 + uVar3;\n  if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }\n  __dest = (void *)FUN_001aa8c0(uVar4 * 4);\n  uVar5 = 0;\n  do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);\n  __src = (void *)*param_1;\n  if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }\n  FUN_001ac470(__src);\nLAB_0009dea4:\n  *param_1 = (int)__dest;\n  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);\n  param_1[2] = (int)((int)__dest + uVar4 * 4);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (if_statement "if (param_2 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 <= (uint)(param_1[2] - iVar1 >> 2))" (( "(") (binary_expression "param_2 <= (uint)(param_1[2] - iVar1 >> 2)" (identifier "param_2") (<= "<=") (call_expression "(uint)(param_1[2] - iVar1 >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[2] - iVar1 >> 2)" (( "(") (binary_expression "param_1[2] - iVar1 >> 2" (binary_expression "param_1[2] - iVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (identifier "iVar1")) (>> ">>") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n    uVar3 = 0;\n    do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);\n    param_1[1] = iVar1 + param_2 * 4;\n    return;\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    } while (param_2 != uVar3);" (do "do") (compound_statement "{\n      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;\n      uVar3 = uVar3 + 1;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + uVar3 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + uVar3 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar1 + uVar3 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + uVar3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + uVar3 * 4)" (( "(") (binary_expression "iVar1 + uVar3 * 4" (identifier "iVar1") (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != uVar3)" (( "(") (binary_expression "param_2 != uVar3" (identifier "param_2") (!= "!=") (identifier "uVar3")) () ")")) (; ";")) (expression_statement "param_1[1] = iVar1 + param_2 * 4;" (assignment_expression "param_1[1] = iVar1 + param_2 * 4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar1 + param_2 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar3 = iVar1 - iVar2 >> 2;" (assignment_expression "uVar3 = iVar1 - iVar2 >> 2" (identifier "uVar3") (= "=") (binary_expression "iVar1 - iVar2 >> 2" (binary_expression "iVar1 - iVar2" (identifier "iVar1") (- "-") (identifier "iVar2")) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (0x3fffffff - uVar3 < param_2) {\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }" (if "if") (parenthesized_expression "(0x3fffffff - uVar3 < param_2)" (( "(") (binary_expression "0x3fffffff - uVar3 < param_2" (binary_expression "0x3fffffff - uVar3" (number_literal "0x3fffffff") (- "-") (identifier "uVar3")) (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_001f1e60("vector::_M_default_append");\n  }" ({ "{") (expression_statement "FUN_001f1e60("vector::_M_default_append");" (call_expression "FUN_001f1e60("vector::_M_default_append")" (identifier "FUN_001f1e60") (argument_list "("vector::_M_default_append")" (( "(") (string_literal ""vector::_M_default_append"" (" """) (string_content "vector::_M_default_append") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" (identifier "uVar4") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (uVar3 <= param_2) {\n    uVar4 = param_2;\n  }" (if "if") (parenthesized_expression "(uVar3 <= param_2)" (( "(") (binary_expression "uVar3 <= param_2" (identifier "uVar3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar4 = param_2;\n  }" ({ "{") (expression_statement "uVar4 = param_2;" (assignment_expression "uVar4 = param_2" (identifier "uVar4") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar4 + uVar3;" (assignment_expression "uVar4 = uVar4 + uVar3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + uVar3" (identifier "uVar4") (+ "+") (identifier "uVar3"))) (; ";")) (if_statement "if (0x3fffffff < uVar4) {\n    uVar4 = 0x3fffffff;\n  }" (if "if") (parenthesized_expression "(0x3fffffff < uVar4)" (( "(") (binary_expression "0x3fffffff < uVar4" (number_literal "0x3fffffff") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n    uVar4 = 0x3fffffff;\n  }" ({ "{") (expression_statement "uVar4 = 0x3fffffff;" (assignment_expression "uVar4 = 0x3fffffff" (identifier "uVar4") (= "=") (number_literal "0x3fffffff")) (; ";")) (} "}"))) (expression_statement "__dest = (void *)FUN_001aa8c0(uVar4 * 4);" (assignment_expression "__dest = (void *)FUN_001aa8c0(uVar4 * 4)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_001aa8c0(uVar4 * 4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(uVar4 * 4)" (identifier "FUN_001aa8c0") (argument_list "(uVar4 * 4)" (( "(") (binary_expression "uVar4 * 4" (identifier "uVar4") (* "*") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  } while (param_2 != uVar5);" (do "do") (compound_statement "{\n    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;\n    uVar5 = uVar5 + 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;" (assignment_expression "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0" (pointer_expression "*(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" (* "*") (cast_expression "(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + uVar5 * 4 + (iVar1 - iVar2))" (( "(") (binary_expression "(int)__dest + uVar5 * 4 + (iVar1 - iVar2)" (binary_expression "(int)__dest + uVar5 * 4" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) (+ "+") (parenthesized_expression "(iVar1 - iVar2)" (( "(") (binary_expression "iVar1 - iVar2" (identifier "iVar1") (- "-") (identifier "iVar2")) () ")"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != uVar5)" (( "(") (binary_expression "param_2 != uVar5" (identifier "param_2") (!= "!=") (identifier "uVar5")) () ")")) (; ";")) (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")))) (; ";")) (if_statement "if ((void *)param_1[1] == __src) {\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }\n  else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" (if "if") (parenthesized_expression "((void *)param_1[1] == __src)" (( "(") (binary_expression "(void *)param_1[1] == __src" (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "__src")) () ")")) (compound_statement "{\n    if (__src == (void *)0x0) goto LAB_0009dea4;\n  }" ({ "{") (if_statement "if (__src == (void *)0x0) goto LAB_0009dea4;" (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_0009dea4;" (goto "goto") (statement_identifier "LAB_0009dea4") (; ";"))) (} "}")) (else_clause "else {\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" (else "else") (compound_statement "{\n    memmove(__dest,__src,param_1[1] - (int)__src);\n  }" ({ "{") (expression_statement "memmove(__dest,__src,param_1[1] - (int)__src);" (call_expression "memmove(__dest,__src,param_1[1] - (int)__src)" (identifier "memmove") (argument_list "(__dest,__src,param_1[1] - (int)__src)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (binary_expression "param_1[1] - (int)__src" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_001ac470(__src);" (call_expression "FUN_001ac470(__src)" (identifier "FUN_001ac470") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_0009dea4:\n  *param_1 = (int)__dest;" (statement_identifier "LAB_0009dea4") (: ":") (expression_statement "*param_1 = (int)__dest;" (assignment_expression "*param_1 = (int)__dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest"))) (; ";"))) (expression_statement "param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);" (assignment_expression "param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)((int)__dest + (uVar3 + uVar5) * 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((int)__dest + (uVar3 + uVar5) * 4)" (( "(") (binary_expression "(int)__dest + (uVar3 + uVar5) * 4" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (binary_expression "(uVar3 + uVar5) * 4" (parenthesized_expression "(uVar3 + uVar5)" (( "(") (binary_expression "uVar3 + uVar5" (identifier "uVar3") (+ "+") (identifier "uVar5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "param_1[2] = (int)((int)__dest + uVar4 * 4);" (assignment_expression "param_1[2] = (int)((int)__dest + uVar4 * 4)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)((int)__dest + uVar4 * 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((int)__dest + uVar4 * 4)" (( "(") (binary_expression "(int)__dest + uVar4 * 4" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (binary_expression "uVar4 * 4" (identifier "uVar4") (* "*") (number_literal "4"))) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   _M_default_append(vector<gold::Incremental_library*,_std::allocator<gold::Incremental_library*>_>
   * this, size_type __n) */

void __thiscall
std::vector<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>::
_M_default_append(vector<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>
                  *this,type_2 var_1)

{
  type_1 var_13;
  type_1 var_14;
  type_2 var_6;
  type_3 var_11;
  type_1 var_7;
  type_3 var_9;
  int var_8;
  
  if (var_1 == 0) {
    return;
  }
  var_7 = (this->
            super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*var_4>var_5>var_4
            )._M_impl._M_finish;
  if (var_1 <= (type_3)((int)(this->
                         super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>var_4
                         )._M_impl._M_end_of_storage - (int)var_7 >> 2)) {
    var_6 = 0;
    do {
      var_7[var_6] = (type_4 *)0x0;
      var_6 = var_6 + 1;
    } while (var_1 != var_6);
    (this->
    super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>var_4).
    _M_impl._M_finish = var_7 + var_1;
    return;
  }
  var_8 = (int)var_7 -
          (int)(this->
               super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>var_4
               )._M_impl._M_start;
  var_9 = var_8 >> 2;
  if (0x3fffffff - var_9 < var_1) {
                    /* WARNING: Subroutine does not return */
    var_10("vector::_M_default_append");
  }
  var_11 = var_9;
  if (var_9 <= var_1) {
    var_11 = var_1;
  }
  var_11 = var_11 + var_9;
  if (0x3fffffff < var_11) {
    var_11 = 0x3fffffff;
  }
  var_7 = (type_1)var_12(var_11 * 4);
  var_6 = 0;
  do {
    *(type_5 *)((int)var_7 + var_6 * 4 + var_8) = 0;
    var_6 = var_6 + 1;
  } while (var_1 != var_6);
  var_13 = (this->
            super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*var_4>var_5>var_4
            )._M_impl._M_finish;
  var_14 = (this->
          super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*var_4>var_5>var_4
          )._M_impl._M_start;
  if (var_13 == var_14) {
    if (var_14 == (type_1)0x0) goto LAB_0009dea4;
  }
  else {
    var_15(var_7,var_14,(int)var_13 - (int)var_14);
  }
  var_16(var_14);
LAB_0009dea4:
  (this->super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*var_4>var_5>var_4
  )._M_impl._M_start = var_7;
  (this->super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>var_4
  )._M_impl._M_finish = var_7 + var_9 + var_6;
  (this->super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_5>var_4
  )._M_impl._M_end_of_storage = var_7 + var_11;
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1,uint param_2)

{
  int iVar1;
  int iVar2;
  void *__src;
  uint uVar3;
  uint uVar4;
  void *__dest;
  uint uVar5;
  
  if (param_2 == 0) {
    return;
  }
  iVar1 = param_1[1];
  if (param_2 <= (uint)(param_1[2] - iVar1 >> 2)) {
    uVar3 = 0;
    do {
      *(undefined4 *)(iVar1 + uVar3 * 4) = 0;
      uVar3 = uVar3 + 1;
    } while (param_2 != uVar3);
    param_1[1] = iVar1 + param_2 * 4;
    return;
  }
  iVar2 = *param_1;
  uVar3 = iVar1 - iVar2 >> 2;
  if (0x3fffffff - uVar3 < param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_001f1e60("vector::_M_default_append");
  }
  uVar4 = uVar3;
  if (uVar3 <= param_2) {
    uVar4 = param_2;
  }
  uVar4 = uVar4 + uVar3;
  if (0x3fffffff < uVar4) {
    uVar4 = 0x3fffffff;
  }
  __dest = (void *)FUN_001aa8c0(uVar4 * 4);
  uVar5 = 0;
  do {
    *(undefined4 *)((int)__dest + uVar5 * 4 + (iVar1 - iVar2)) = 0;
    uVar5 = uVar5 + 1;
  } while (param_2 != uVar5);
  __src = (void *)*param_1;
  if ((void *)param_1[1] == __src) {
    if (__src == (void *)0x0) goto LAB_0009dea4;
  }
  else {
    memmove(__dest,__src,param_1[1] - (int)__src);
  }
  FUN_001ac470(__src);
LAB_0009dea4:
  *param_1 = (int)__dest;
  param_1[1] = (int)((int)__dest + (uVar3 + uVar5) * 4);
  param_1[2] = (int)((int)__dest + uVar4 * 4);
  return;
}

