
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_range_insert<unsigned char*>
   DWARF original prototype: void
   _M_range_insert<unsigned_char*>(vector<unsigned_char,_std::allocator<unsigned_char>_> * this,
   iterator __position, uchar * __first, uchar * __last, forward_iterator_tag param_5) */

void __thiscall
std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>
          (void *this,void *__position,void *__first,void *__last)

{
  uint uVar1;
  uint uVar2;
  size_t sVar3;
  uint uVar4;
  size_t __n;
  void *pvVar5;
  uint __n_00;
  void *local_34;
  void *local_30;
  int local_2c;
  
  if (__first == __last) {
    return;
  }
  pvVar5 = *(void **)((int)this + 4);
  __n_00 = (int)__last - (int)__first;
  if (__n_00 <= (uint)(*(int *)((int)this + 8) - (int)pvVar5)) {
    uVar2 = (int)pvVar5 - (int)__position;
    if (__n_00 < uVar2) {
      memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);
      *(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;
      sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;
      if (sVar3 != 0) {
        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);
      }
      memmove(__position,__first,__n_00);
      return;
    }
    sVar3 = (int)__last - (int)((int)__first + uVar2);
    if (sVar3 != 0) {
      memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);
      pvVar5 = *(void **)((int)this + 4);
    }
    pvVar5 = (void *)((int)pvVar5 + (__n_00 - uVar2));
    *(void **)((int)this + 4) = pvVar5;
    if (uVar2 == 0) {
      return;
    }
    memmove(pvVar5,__position,uVar2);
    *(int *)((int)this + 4) = *(int *)((int)this + 4) + uVar2;
    memmove(__position,__first,uVar2);
    return;
  }
                    /* WARNING: Load size is inaccurate */
  local_34 = *this;
  uVar2 = (int)pvVar5 - (int)local_34;
  if (~uVar2 < __n_00) {
                    /* WARNING: Subroutine does not return */
    __throw_length_error("vector::_M_range_insert");
  }
  uVar4 = uVar2;
  if (uVar2 <= __n_00) {
    uVar4 = __n_00;
  }
  uVar1 = uVar2 + uVar4;
  if (CARRY4(uVar2,uVar4)) {
    uVar1 = 0xffffffff;
LAB_000f9fc5:
    local_30 = operator_new(uVar1);
                    /* WARNING: Load size is inaccurate */
    local_34 = *this;
    pvVar5 = *(void **)((int)this + 4);
    local_2c = uVar1 + (int)local_30;
  }
  else {
    if (uVar1 != 0) goto LAB_000f9fc5;
    local_2c = 0;
    local_30 = (void *)0x0;
  }
  sVar3 = (int)__position - (int)local_34;
  __n = (int)pvVar5 - (int)__position;
  pvVar5 = (void *)(__n_00 + sVar3 + (int)local_30);
  if (sVar3 == 0) {
    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);
    if (__n != 0) {
LAB_000fa078:
      memcpy(pvVar5,__position,__n);
    }
    if (local_34 == (void *)0x0) goto LAB_000f9f47;
  }
  else {
    memmove(local_30,local_34,sVar3);
    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);
    if (__n != 0) goto LAB_000fa078;
  }
  operator_delete(local_34);
LAB_000f9f47:
  *(void **)this = local_30;
  *(size_t *)((int)this + 4) = (int)pvVar5 + __n;
  *(int *)((int)this + 8) = local_2c;
  return;
}



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

void FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)

{
  uint uVar1;
  size_t sVar2;
  uint uVar3;
  size_t __n;
  void *pvVar4;
  uint __n_00;
  void *local_34;
  void *local_30;
  int local_2c;
  
  if (param_3 == param_4) {
    return;
  }
  pvVar4 = (void *)param_1[1];
  __n_00 = (int)param_4 - (int)param_3;
  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {
    uVar1 = (int)pvVar4 - (int)param_2;
    if (__n_00 < uVar1) {
      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);
      param_1[1] = param_1[1] + __n_00;
      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;
      if (sVar2 != 0) {
        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);
      }
      memmove(param_2,param_3,__n_00);
      return;
    }
    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);
    if (sVar2 != 0) {
      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);
      pvVar4 = (void *)param_1[1];
    }
    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));
    param_1[1] = (int)pvVar4;
    if (uVar1 == 0) {
      return;
    }
    memmove(pvVar4,param_2,uVar1);
    param_1[1] = param_1[1] + uVar1;
    memmove(param_2,param_3,uVar1);
    return;
  }
  local_34 = (void *)*param_1;
  uVar1 = (int)pvVar4 - (int)local_34;
  if (~uVar1 < __n_00) {
                    /* WARNING: Subroutine does not return */
    FUN_001c6190("vector::_M_range_insert");
  }
  uVar3 = uVar1;
  if (uVar1 <= __n_00) {
    uVar3 = __n_00;
  }
  local_2c = uVar1 + uVar3;
  if (CARRY4(uVar1,uVar3)) {
    local_2c = -1;
LAB_000f9fc5:
    local_30 = (void *)FUN_0017ebf0(local_2c);
    local_34 = (void *)*param_1;
    pvVar4 = (void *)param_1[1];
    local_2c = local_2c + (int)local_30;
  }
  else {
    if (local_2c != 0) goto LAB_000f9fc5;
    local_2c = 0;
    local_30 = (void *)0x0;
  }
  sVar2 = (int)param_2 - (int)local_34;
  __n = (int)pvVar4 - (int)param_2;
  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);
  if (sVar2 == 0) {
    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);
    if (__n != 0) {
LAB_000fa078:
      memcpy(pvVar4,param_2,__n);
    }
    if (local_34 == (void *)0x0) goto LAB_000f9f47;
  }
  else {
    memmove(local_30,local_34,sVar2);
    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);
    if (__n != 0) goto LAB_000fa078;
  }
  FUN_001807a0(local_34);
LAB_000f9f47:
  *param_1 = (int)local_30;
  param_1[1] = (int)pvVar4 + __n;
  param_1[2] = local_2c;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x2081d7
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESP + 0x4c]
CMP dword ptr [ESP + 0x48],EAX
JZ 0x000f9e9b
MOV EBP,dword ptr [EDI + 0x4]
MOV EDX,dword ptr [EDI + 0x8]
MOV ESI,EAX
SUB ESI,dword ptr [ESP + 0x48]
SUB EDX,EBP
CMP EDX,ESI
JC 0x000f9ea8
MOV EDX,EBP
SUB EDX,dword ptr [ESP + 0x44]
CMP ESI,EDX
JNC 0x000f9f68
MOV EDX,EBP
SUB ESP,0x4
SUB EDX,ESI
PUSH ESI
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
PUSH EBP
CALL 0x000268a0
ADD ESP,0x10
ADD dword ptr [EDI + 0x4],ESI
MOV EDX,dword ptr [ESP + 0x8]
SUB EDX,dword ptr [ESP + 0x44]
JNZ 0x000f9ff8
SUB ESP,0x4
PUSH ESI
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x50]
CALL 0x000268a0
ADD ESP,0x10
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI]
MOV ECX,EAX
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,EBP
SUB EAX,ECX
MOV EDX,EAX
NOT EDX
CMP ESI,EDX
JA 0x000fa08e
CMP ESI,EAX
MOV EDX,EAX
CMOVNC EDX,ESI
ADD EAX,EDX
MOV ECX,EAX
JC 0x000f9fc0
TEST EAX,EAX
JNZ 0x000f9fc5
MOV dword ptr [ESP + 0x10],0x0
MOV dword ptr [ESP + 0xc],0x0
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x44]
MOV EDX,EBP
SUB EAX,dword ptr [ESP + 0x8]
SUB EDX,dword ptr [ESP + 0x44]
LEA EBP,[ECX + EAX*0x1]
MOV dword ptr [ESP + 0x1c],EDX
MOV dword ptr [ESP + 0x18],EBP
LEA EBP,[ESI + EAX*0x1]
ADD EBP,ECX
LEA ECX,[EBP + EDX*0x1]
MOV dword ptr [ESP + 0x14],ECX
TEST EAX,EAX
JNZ 0x000fa030
SUB ESP,0x4
PUSH ESI
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x24]
CALL 0x000265c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
TEST EDX,EDX
JNZ 0x000fa078
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JNZ 0x000fa05d
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [EDI + 0x8],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x48]
ADD ECX,EDX
SUB EAX,ECX
JNZ 0x000fa010
SUB ESI,EDX
ADD EBP,ESI
MOV dword ptr [EDI + 0x4],EBP
TEST EDX,EDX
JZ 0x000f9e9b
SUB ESP,0x4
PUSH EDX
MOV dword ptr [ESP + 0x10],EDX
PUSH dword ptr [ESP + 0x4c]
PUSH EBP
CALL 0x000268a0
MOV EDX,dword ptr [ESP + 0x18]
ADD ESP,0xc
ADD dword ptr [EDI + 0x4],EDX
PUSH EDX
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x50]
CALL 0x000268a0
ADD ESP,0x10
JMP 0x000f9e9b
MOV ECX,0xffffffff
SUB ESP,0xc
PUSH ECX
MOV dword ptr [ESP + 0x20],ECX
CALL 0x0017ebf0
MOV ECX,dword ptr [EDI]
MOV EBP,dword ptr [EDI + 0x4]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x18],ECX
MOV ECX,dword ptr [ESP + 0x20]
ADD ECX,EAX
MOV dword ptr [ESP + 0x20],ECX
ADD ESP,0x10
JMP 0x000f9ee9
SUB ESP,0x4
SUB EBP,EDX
PUSH EDX
PUSH dword ptr [ESP + 0x4c]
PUSH EBP
CALL 0x000268a0
ADD ESP,0x10
JMP 0x000f9e87
MOV dword ptr [ESP + 0x8],EDX
SUB ESP,0x4
PUSH EAX
PUSH ECX
PUSH EBP
CALL 0x000268a0
ADD ESP,0x10
MOV EBP,dword ptr [EDI + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
JMP 0x000f9f76
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x18]
CALL 0x000268a0
ADD ESP,0xc
PUSH ESI
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x24]
CALL 0x000265c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
TEST EDX,EDX
JNZ 0x000fa078
SUB ESP,0xc
PUSH dword ptr [ESP + 0x14]
CALL 0x001807a0
ADD ESP,0x10
JMP 0x000f9f47
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [ESP + 0x4c]
PUSH EBP
CALL 0x000265c0
ADD ESP,0x10
JMP 0x000f9f3b
SUB ESP,0xc
LEA EAX,[EBX + 0xfff2b443]
PUSH EAX
CALL 0x001c6190
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}\n\n" comment (function_definition "void FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}" primitive_type (function_declarator "FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)" identifier (parameter_list "(int *param_1,void *param_2,void *param_3,void *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "void *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "uint __n_00;" type_identifier identifier ;) (declaration "void *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "void *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (if_statement "if (param_3 == param_4) {\n    return;\n  }" if (parenthesized_expression "(param_3 == param_4)" ( (binary_expression "param_3 == param_4" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "__n_00 = (int)param_4 - (int)param_3;" (assignment_expression "__n_00 = (int)param_4 - (int)param_3" identifier = (binary_expression "(int)param_4 - (int)param_3" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }" if (parenthesized_expression "(__n_00 <= (uint)(param_1[2] - (int)pvVar4))" ( (binary_expression "__n_00 <= (uint)(param_1[2] - (int)pvVar4)" identifier <= (call_expression "(uint)(param_1[2] - (int)pvVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] - (int)pvVar4)" ( (binary_expression "param_1[2] - (int)pvVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) (compound_statement "{\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }" { (expression_statement "uVar1 = (int)pvVar4 - (int)param_2;" (assignment_expression "uVar1 = (int)pvVar4 - (int)param_2" identifier = (binary_expression "(int)pvVar4 - (int)param_2" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }" if (parenthesized_expression "(__n_00 < uVar1)" ( (binary_expression "__n_00 < uVar1" identifier < identifier) )) (compound_statement "{\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }" { (expression_statement "memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);" (call_expression "memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00)" identifier (argument_list "(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00)" ( identifier , (cast_expression "(void *)((int)pvVar4 - __n_00)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 - __n_00)" ( (binary_expression "(int)pvVar4 - __n_00" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) , identifier ))) ;) (expression_statement "param_1[1] = param_1[1] + __n_00;" (assignment_expression "param_1[1] = param_1[1] + __n_00" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + __n_00" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;" (assignment_expression "sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2" identifier = (binary_expression "(int)((int)pvVar4 - __n_00) - (int)param_2" (cast_expression "(int)((int)pvVar4 - __n_00)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)pvVar4 - __n_00)" ( (binary_expression "(int)pvVar4 - __n_00" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }" if (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }" { (expression_statement "memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);" (call_expression "memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2)" identifier (argument_list "((void *)((int)pvVar4 - sVar2),param_2,sVar2)" ( (cast_expression "(void *)((int)pvVar4 - sVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 - sVar2)" ( (binary_expression "(int)pvVar4 - sVar2" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) , identifier , identifier ))) ;) })) (expression_statement "memmove(param_2,param_3,__n_00);" (call_expression "memmove(param_2,param_3,__n_00)" identifier (argument_list "(param_2,param_3,__n_00)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);" (assignment_expression "sVar2 = (int)param_4 - (int)((int)param_3 + uVar1)" identifier = (binary_expression "(int)param_4 - (int)((int)param_3 + uVar1)" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((int)param_3 + uVar1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)param_3 + uVar1)" ( (binary_expression "(int)param_3 + uVar1" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }" if (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }" { (expression_statement "memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);" (call_expression "memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2)" identifier (argument_list "(pvVar4,(void *)((int)param_3 + uVar1),sVar2)" ( identifier , (cast_expression "(void *)((int)param_3 + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + uVar1)" ( (binary_expression "(int)param_3 + uVar1" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier ))) ;) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) })) (expression_statement "pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));" (assignment_expression "pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1))" identifier = (cast_expression "(void *)((int)pvVar4 + (__n_00 - uVar1))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + (__n_00 - uVar1))" ( (binary_expression "(int)pvVar4 + (__n_00 - uVar1)" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(__n_00 - uVar1)" ( (binary_expression "__n_00 - uVar1" identifier - identifier) ))) )))) ;) (expression_statement "param_1[1] = (int)pvVar4;" (assignment_expression "param_1[1] = (int)pvVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (uVar1 == 0) {\n      return;\n    }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "memmove(pvVar4,param_2,uVar1);" (call_expression "memmove(pvVar4,param_2,uVar1)" identifier (argument_list "(pvVar4,param_2,uVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[1] = param_1[1] + uVar1;" (assignment_expression "param_1[1] = param_1[1] + uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "memmove(param_2,param_3,uVar1);" (call_expression "memmove(param_2,param_3,uVar1)" identifier (argument_list "(param_2,param_3,uVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_34 = (void *)*param_1;" (assignment_expression "local_34 = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar1 = (int)pvVar4 - (int)local_34;" (assignment_expression "uVar1 = (int)pvVar4 - (int)local_34" identifier = (binary_expression "(int)pvVar4 - (int)local_34" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (~uVar1 < __n_00) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001c6190("vector::_M_range_insert");\n  }" if (parenthesized_expression "(~uVar1 < __n_00)" ( (binary_expression "~uVar1 < __n_00" (unary_expression "~uVar1" ~ identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_001c6190("vector::_M_range_insert");\n  }" { comment (expression_statement "FUN_001c6190("vector::_M_range_insert");" (call_expression "FUN_001c6190("vector::_M_range_insert")" identifier (argument_list "("vector::_M_range_insert")" ( (string_literal ""vector::_M_range_insert"" " string_content ") ))) ;) })) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) (if_statement "if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }" if (parenthesized_expression "(uVar1 <= __n_00)" ( (binary_expression "uVar1 <= __n_00" identifier <= identifier) )) (compound_statement "{\n    uVar3 = __n_00;\n  }" { (expression_statement "uVar3 = __n_00;" (assignment_expression "uVar3 = __n_00" identifier = identifier) ;) })) (expression_statement "local_2c = uVar1 + uVar3;" (assignment_expression "local_2c = uVar1 + uVar3" identifier = (binary_expression "uVar1 + uVar3" identifier + identifier)) ;) (if_statement "if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" if (parenthesized_expression "(CARRY4(uVar1,uVar3))" ( (call_expression "CARRY4(uVar1,uVar3)" identifier (argument_list "(uVar1,uVar3)" ( identifier , identifier ))) )) (compound_statement "{\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }" { (expression_statement "local_2c = -1;" (assignment_expression "local_2c = -1" identifier = number_literal) ;) (labeled_statement "LAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);" statement_identifier : (expression_statement "local_30 = (void *)FUN_0017ebf0(local_2c);" (assignment_expression "local_30 = (void *)FUN_0017ebf0(local_2c)" identifier = (cast_expression "(void *)FUN_0017ebf0(local_2c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(local_2c)" identifier (argument_list "(local_2c)" ( identifier ))))) ;)) (expression_statement "local_34 = (void *)*param_1;" (assignment_expression "local_34 = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_2c = local_2c + (int)local_30;" (assignment_expression "local_2c = local_2c + (int)local_30" identifier = (binary_expression "local_2c + (int)local_30" identifier + (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" else (compound_statement "{\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" { (if_statement "if (local_2c != 0) goto LAB_000f9fc5;" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (goto_statement "goto LAB_000f9fc5;" goto statement_identifier ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_30 = (void *)0x0;" (assignment_expression "local_30 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "sVar2 = (int)param_2 - (int)local_34;" (assignment_expression "sVar2 = (int)param_2 - (int)local_34" identifier = (binary_expression "(int)param_2 - (int)local_34" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "__n = (int)pvVar4 - (int)param_2;" (assignment_expression "__n = (int)pvVar4 - (int)param_2" identifier = (binary_expression "(int)pvVar4 - (int)param_2" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);" (assignment_expression "pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30)" identifier = (cast_expression "(void *)(__n_00 + sVar2 + (int)local_30)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n_00 + sVar2 + (int)local_30)" ( (binary_expression "__n_00 + sVar2 + (int)local_30" (binary_expression "__n_00 + sVar2" identifier + identifier) + (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" if (parenthesized_expression "(sVar2 == 0)" ( (binary_expression "sVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }" { (expression_statement "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00)" identifier (argument_list "((void *)((int)local_30 + sVar2),param_3,__n_00)" ( (cast_expression "(void *)((int)local_30 + sVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + sVar2)" ( (binary_expression "(int)local_30 + sVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (if_statement "if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }" { (labeled_statement "LAB_000fa078:\n      memcpy(pvVar4,param_2,__n);" statement_identifier : (expression_statement "memcpy(pvVar4,param_2,__n);" (call_expression "memcpy(pvVar4,param_2,__n)" identifier (argument_list "(pvVar4,param_2,__n)" ( identifier , identifier , identifier ))) ;)) })) (if_statement "if (local_34 == (void *)0x0) goto LAB_000f9f47;" if (parenthesized_expression "(local_34 == (void *)0x0)" ( (binary_expression "local_34 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000f9f47;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" else (compound_statement "{\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" { (expression_statement "memmove(local_30,local_34,sVar2);" (call_expression "memmove(local_30,local_34,sVar2)" identifier (argument_list "(local_30,local_34,sVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00)" identifier (argument_list "((void *)((int)local_30 + sVar2),param_3,__n_00)" ( (cast_expression "(void *)((int)local_30 + sVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + sVar2)" ( (binary_expression "(int)local_30 + sVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (if_statement "if (__n != 0) goto LAB_000fa078;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_000fa078;" goto statement_identifier ;)) }))) (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (labeled_statement "LAB_000f9f47:\n  *param_1 = (int)local_30;" statement_identifier : (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "param_1[1] = (int)pvVar4 + __n;" (assignment_expression "param_1[1] = (int)pvVar4 + __n" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)pvVar4 + __n" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "param_1[2] = local_2c;" (assignment_expression "param_1[2] = local_2c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: _M_range_insert<unsigned char*>\n   DWARF original prototype: void\n   _M_range_insert<unsigned_char*>(vector<unsigned_char,_std::allocator<unsigned_char>_> * this,\n   iterator __position, uchar * __first, uchar * __last, forward_iterator_tag param_5) */\n\nvoid __thiscall\nstd::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n          (void *this,void *__position,void *__first,void *__last)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  uint uVar4;\n  size_t __n;\n  void *pvVar5;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (__first == __last) {\n    return;\n  }\n  pvVar5 = *(void **)((int)this + 4);\n  __n_00 = (int)__last - (int)__first;\n  if (__n_00 <= (uint)(*(int *)((int)this + 8) - (int)pvVar5)) {\n    uVar2 = (int)pvVar5 - (int)__position;\n    if (__n_00 < uVar2) {\n      memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);\n      *(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;\n      sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;\n      if (sVar3 != 0) {\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }\n      memmove(__position,__first,__n_00);\n      return;\n    }\n    sVar3 = (int)__last - (int)((int)__first + uVar2);\n    if (sVar3 != 0) {\n      memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);\n      pvVar5 = *(void **)((int)this + 4);\n    }\n    pvVar5 = (void *)((int)pvVar5 + (__n_00 - uVar2));\n    *(void **)((int)this + 4) = pvVar5;\n    if (uVar2 == 0) {\n      return;\n    }\n    memmove(pvVar5,__position,uVar2);\n    *(int *)((int)this + 4) = *(int *)((int)this + 4) + uVar2;\n    memmove(__position,__first,uVar2);\n    return;\n  }\n                    /* WARNING: Load size is inaccurate */\n  local_34 = *this;\n  uVar2 = (int)pvVar5 - (int)local_34;\n  if (~uVar2 < __n_00) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_range_insert");\n  }\n  uVar4 = uVar2;\n  if (uVar2 <= __n_00) {\n    uVar4 = __n_00;\n  }\n  uVar1 = uVar2 + uVar4;\n  if (CARRY4(uVar2,uVar4)) {\n    uVar1 = 0xffffffff;\nLAB_000f9fc5:\n    local_30 = operator_new(uVar1);\n                    /* WARNING: Load size is inaccurate */\n    local_34 = *this;\n    pvVar5 = *(void **)((int)this + 4);\n    local_2c = uVar1 + (int)local_30;\n  }\n  else {\n    if (uVar1 != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar3 = (int)__position - (int)local_34;\n  __n = (int)pvVar5 - (int)__position;\n  pvVar5 = (void *)(__n_00 + sVar3 + (int)local_30);\n  if (sVar3 == 0) {\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar5,__position,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar3);\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  operator_delete(local_34);\nLAB_000f9f47:\n  *(void **)this = local_30;\n  *(size_t *)((int)this + 4) = (int)pvVar5 + __n;\n  *(int *)((int)this + 8) = local_2c;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n          (void *this,void *__position,void *__first,void *__last)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n          (void *this,void *__position,void *__first,void *__last)\n\n{\n  uint" identifier : : identifier < identifier > identifier > : : identifier < (function_declarator "unsigned_char*>\n          (void *this,void *__position,void *__first,void *__last)" identifier (ERROR "*>" * >) (parameter_list "(void *this,void *__position,void *__first,void *__last)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) , (parameter_declaration "void *__position" primitive_type (pointer_declarator "*__position" * identifier)) , (parameter_declaration "void *__first" primitive_type (pointer_declarator "*__first" * identifier)) , (parameter_declaration "void *__last" primitive_type (pointer_declarator "*__last" * identifier)) ))) { identifier) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "uint __n_00;" type_identifier identifier ;) (declaration "void *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "void *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (if_statement "if (__first == __last) {\n    return;\n  }" if (parenthesized_expression "(__first == __last)" ( (binary_expression "__first == __last" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pvVar5 = *(void **)((int)this + 4);" (assignment_expression "pvVar5 = *(void **)((int)this + 4)" identifier = (pointer_expression "*(void **)((int)this + 4)" * (cast_expression "(void **)((int)this + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "__n_00 = (int)__last - (int)__first;" (assignment_expression "__n_00 = (int)__last - (int)__first" identifier = (binary_expression "(int)__last - (int)__first" (cast_expression "(int)__last" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n_00 <= (uint)(*(int *)((int)this + 8) - (int)pvVar5)) {\n    uVar2 = (int)pvVar5 - (int)__position;\n    if (__n_00 < uVar2) {\n      memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);\n      *(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;\n      sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;\n      if (sVar3 != 0) {\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }\n      memmove(__position,__first,__n_00);\n      return;\n    }\n    sVar3 = (int)__last - (int)((int)__first + uVar2);\n    if (sVar3 != 0) {\n      memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);\n      pvVar5 = *(void **)((int)this + 4);\n    }\n    pvVar5 = (void *)((int)pvVar5 + (__n_00 - uVar2));\n    *(void **)((int)this + 4) = pvVar5;\n    if (uVar2 == 0) {\n      return;\n    }\n    memmove(pvVar5,__position,uVar2);\n    *(int *)((int)this + 4) = *(int *)((int)this + 4) + uVar2;\n    memmove(__position,__first,uVar2);\n    return;\n  }" if (parenthesized_expression "(__n_00 <= (uint)(*(int *)((int)this + 8) - (int)pvVar5))" ( (binary_expression "__n_00 <= (uint)(*(int *)((int)this + 8) - (int)pvVar5)" identifier <= (call_expression "(uint)(*(int *)((int)this + 8) - (int)pvVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)((int)this + 8) - (int)pvVar5)" ( (binary_expression "*(int *)((int)this + 8) - (int)pvVar5" (pointer_expression "*(int *)((int)this + 8)" * (cast_expression "(int *)((int)this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) (compound_statement "{\n    uVar2 = (int)pvVar5 - (int)__position;\n    if (__n_00 < uVar2) {\n      memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);\n      *(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;\n      sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;\n      if (sVar3 != 0) {\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }\n      memmove(__position,__first,__n_00);\n      return;\n    }\n    sVar3 = (int)__last - (int)((int)__first + uVar2);\n    if (sVar3 != 0) {\n      memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);\n      pvVar5 = *(void **)((int)this + 4);\n    }\n    pvVar5 = (void *)((int)pvVar5 + (__n_00 - uVar2));\n    *(void **)((int)this + 4) = pvVar5;\n    if (uVar2 == 0) {\n      return;\n    }\n    memmove(pvVar5,__position,uVar2);\n    *(int *)((int)this + 4) = *(int *)((int)this + 4) + uVar2;\n    memmove(__position,__first,uVar2);\n    return;\n  }" { (expression_statement "uVar2 = (int)pvVar5 - (int)__position;" (assignment_expression "uVar2 = (int)pvVar5 - (int)__position" identifier = (binary_expression "(int)pvVar5 - (int)__position" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__position" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n_00 < uVar2) {\n      memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);\n      *(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;\n      sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;\n      if (sVar3 != 0) {\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }\n      memmove(__position,__first,__n_00);\n      return;\n    }" if (parenthesized_expression "(__n_00 < uVar2)" ( (binary_expression "__n_00 < uVar2" identifier < identifier) )) (compound_statement "{\n      memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);\n      *(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;\n      sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;\n      if (sVar3 != 0) {\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }\n      memmove(__position,__first,__n_00);\n      return;\n    }" { (expression_statement "memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00);" (call_expression "memmove(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00)" identifier (argument_list "(pvVar5,(void *)((int)pvVar5 - __n_00),__n_00)" ( identifier , (cast_expression "(void *)((int)pvVar5 - __n_00)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 - __n_00)" ( (binary_expression "(int)pvVar5 - __n_00" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) , identifier ))) ;) (expression_statement "*(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00;" (assignment_expression "*(int *)((int)this + 4) = *(int *)((int)this + 4) + __n_00" (pointer_expression "*(int *)((int)this + 4)" * (cast_expression "(int *)((int)this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(int *)((int)this + 4) + __n_00" (pointer_expression "*(int *)((int)this + 4)" * (cast_expression "(int *)((int)this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + identifier)) ;) (expression_statement "sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position;" (assignment_expression "sVar3 = (int)((int)pvVar5 - __n_00) - (int)__position" identifier = (binary_expression "(int)((int)pvVar5 - __n_00) - (int)__position" (cast_expression "(int)((int)pvVar5 - __n_00)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)pvVar5 - __n_00)" ( (binary_expression "(int)pvVar5 - __n_00" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) - (cast_expression "(int)__position" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (sVar3 != 0) {\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }" if (parenthesized_expression "(sVar3 != 0)" ( (binary_expression "sVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);\n      }" { (expression_statement "memmove((void *)((int)pvVar5 - sVar3),__position,sVar3);" (call_expression "memmove((void *)((int)pvVar5 - sVar3),__position,sVar3)" identifier (argument_list "((void *)((int)pvVar5 - sVar3),__position,sVar3)" ( (cast_expression "(void *)((int)pvVar5 - sVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 - sVar3)" ( (binary_expression "(int)pvVar5 - sVar3" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) , identifier , identifier ))) ;) })) (expression_statement "memmove(__position,__first,__n_00);" (call_expression "memmove(__position,__first,__n_00)" identifier (argument_list "(__position,__first,__n_00)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "sVar3 = (int)__last - (int)((int)__first + uVar2);" (assignment_expression "sVar3 = (int)__last - (int)((int)__first + uVar2)" identifier = (binary_expression "(int)__last - (int)((int)__first + uVar2)" (cast_expression "(int)__last" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((int)__first + uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)__first + uVar2)" ( (binary_expression "(int)__first + uVar2" (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (sVar3 != 0) {\n      memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);\n      pvVar5 = *(void **)((int)this + 4);\n    }" if (parenthesized_expression "(sVar3 != 0)" ( (binary_expression "sVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);\n      pvVar5 = *(void **)((int)this + 4);\n    }" { (expression_statement "memmove(pvVar5,(void *)((int)__first + uVar2),sVar3);" (call_expression "memmove(pvVar5,(void *)((int)__first + uVar2),sVar3)" identifier (argument_list "(pvVar5,(void *)((int)__first + uVar2),sVar3)" ( identifier , (cast_expression "(void *)((int)__first + uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__first + uVar2)" ( (binary_expression "(int)__first + uVar2" (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier ))) ;) (expression_statement "pvVar5 = *(void **)((int)this + 4);" (assignment_expression "pvVar5 = *(void **)((int)this + 4)" identifier = (pointer_expression "*(void **)((int)this + 4)" * (cast_expression "(void **)((int)this + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "pvVar5 = (void *)((int)pvVar5 + (__n_00 - uVar2));" (assignment_expression "pvVar5 = (void *)((int)pvVar5 + (__n_00 - uVar2))" identifier = (cast_expression "(void *)((int)pvVar5 + (__n_00 - uVar2))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 + (__n_00 - uVar2))" ( (binary_expression "(int)pvVar5 + (__n_00 - uVar2)" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(__n_00 - uVar2)" ( (binary_expression "__n_00 - uVar2" identifier - identifier) ))) )))) ;) (expression_statement "*(void **)((int)this + 4) = pvVar5;" (assignment_expression "*(void **)((int)this + 4) = pvVar5" (pointer_expression "*(void **)((int)this + 4)" * (cast_expression "(void **)((int)this + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (uVar2 == 0) {\n      return;\n    }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "memmove(pvVar5,__position,uVar2);" (call_expression "memmove(pvVar5,__position,uVar2)" identifier (argument_list "(pvVar5,__position,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(int *)((int)this + 4) = *(int *)((int)this + 4) + uVar2;" (assignment_expression "*(int *)((int)this + 4) = *(int *)((int)this + 4) + uVar2" (pointer_expression "*(int *)((int)this + 4)" * (cast_expression "(int *)((int)this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(int *)((int)this + 4) + uVar2" (pointer_expression "*(int *)((int)this + 4)" * (cast_expression "(int *)((int)this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + identifier)) ;) (expression_statement "memmove(__position,__first,uVar2);" (call_expression "memmove(__position,__first,uVar2)" identifier (argument_list "(__position,__first,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "local_34 = *this;" (assignment_expression "local_34 = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "uVar2 = (int)pvVar5 - (int)local_34;" (assignment_expression "uVar2 = (int)pvVar5 - (int)local_34" identifier = (binary_expression "(int)pvVar5 - (int)local_34" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (~uVar2 < __n_00) {\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_range_insert");\n  }" if (parenthesized_expression "(~uVar2 < __n_00)" ( (binary_expression "~uVar2 < __n_00" (unary_expression "~uVar2" ~ identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __throw_length_error("vector::_M_range_insert");\n  }" { comment (expression_statement "__throw_length_error("vector::_M_range_insert");" (call_expression "__throw_length_error("vector::_M_range_insert")" identifier (argument_list "("vector::_M_range_insert")" ( (string_literal ""vector::_M_range_insert"" " string_content ") ))) ;) })) (expression_statement "uVar4 = uVar2;" (assignment_expression "uVar4 = uVar2" identifier = identifier) ;) (if_statement "if (uVar2 <= __n_00) {\n    uVar4 = __n_00;\n  }" if (parenthesized_expression "(uVar2 <= __n_00)" ( (binary_expression "uVar2 <= __n_00" identifier <= identifier) )) (compound_statement "{\n    uVar4 = __n_00;\n  }" { (expression_statement "uVar4 = __n_00;" (assignment_expression "uVar4 = __n_00" identifier = identifier) ;) })) (expression_statement "uVar1 = uVar2 + uVar4;" (assignment_expression "uVar1 = uVar2 + uVar4" identifier = (binary_expression "uVar2 + uVar4" identifier + identifier)) ;) (if_statement "if (CARRY4(uVar2,uVar4)) {\n    uVar1 = 0xffffffff;\nLAB_000f9fc5:\n    local_30 = operator_new(uVar1);\n                    /* WARNING: Load size is inaccurate */\n    local_34 = *this;\n    pvVar5 = *(void **)((int)this + 4);\n    local_2c = uVar1 + (int)local_30;\n  }\n  else {\n    if (uVar1 != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" if (parenthesized_expression "(CARRY4(uVar2,uVar4))" ( (call_expression "CARRY4(uVar2,uVar4)" identifier (argument_list "(uVar2,uVar4)" ( identifier , identifier ))) )) (compound_statement "{\n    uVar1 = 0xffffffff;\nLAB_000f9fc5:\n    local_30 = operator_new(uVar1);\n                    /* WARNING: Load size is inaccurate */\n    local_34 = *this;\n    pvVar5 = *(void **)((int)this + 4);\n    local_2c = uVar1 + (int)local_30;\n  }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (labeled_statement "LAB_000f9fc5:\n    local_30 = operator_new(uVar1);" statement_identifier : (expression_statement "local_30 = operator_new(uVar1);" (assignment_expression "local_30 = operator_new(uVar1)" identifier = (call_expression "operator_new(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;)) comment (expression_statement "local_34 = *this;" (assignment_expression "local_34 = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "pvVar5 = *(void **)((int)this + 4);" (assignment_expression "pvVar5 = *(void **)((int)this + 4)" identifier = (pointer_expression "*(void **)((int)this + 4)" * (cast_expression "(void **)((int)this + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "local_2c = uVar1 + (int)local_30;" (assignment_expression "local_2c = uVar1 + (int)local_30" identifier = (binary_expression "uVar1 + (int)local_30" identifier + (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    if (uVar1 != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" else (compound_statement "{\n    if (uVar1 != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" { (if_statement "if (uVar1 != 0) goto LAB_000f9fc5;" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000f9fc5;" goto statement_identifier ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_30 = (void *)0x0;" (assignment_expression "local_30 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "sVar3 = (int)__position - (int)local_34;" (assignment_expression "sVar3 = (int)__position - (int)local_34" identifier = (binary_expression "(int)__position - (int)local_34" (cast_expression "(int)__position" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "__n = (int)pvVar5 - (int)__position;" (assignment_expression "__n = (int)pvVar5 - (int)__position" identifier = (binary_expression "(int)pvVar5 - (int)__position" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__position" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pvVar5 = (void *)(__n_00 + sVar3 + (int)local_30);" (assignment_expression "pvVar5 = (void *)(__n_00 + sVar3 + (int)local_30)" identifier = (cast_expression "(void *)(__n_00 + sVar3 + (int)local_30)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n_00 + sVar3 + (int)local_30)" ( (binary_expression "__n_00 + sVar3 + (int)local_30" (binary_expression "__n_00 + sVar3" identifier + identifier) + (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (sVar3 == 0) {\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar5,__position,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar3);\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" if (parenthesized_expression "(sVar3 == 0)" ( (binary_expression "sVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar5,__position,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }" { (expression_statement "memcpy((void *)((int)local_30 + sVar3),__first,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar3),__first,__n_00)" identifier (argument_list "((void *)((int)local_30 + sVar3),__first,__n_00)" ( (cast_expression "(void *)((int)local_30 + sVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + sVar3)" ( (binary_expression "(int)local_30 + sVar3" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (if_statement "if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar5,__position,__n);\n    }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fa078:\n      memcpy(pvVar5,__position,__n);\n    }" { (labeled_statement "LAB_000fa078:\n      memcpy(pvVar5,__position,__n);" statement_identifier : (expression_statement "memcpy(pvVar5,__position,__n);" (call_expression "memcpy(pvVar5,__position,__n)" identifier (argument_list "(pvVar5,__position,__n)" ( identifier , identifier , identifier ))) ;)) })) (if_statement "if (local_34 == (void *)0x0) goto LAB_000f9f47;" if (parenthesized_expression "(local_34 == (void *)0x0)" ( (binary_expression "local_34 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000f9f47;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(local_30,local_34,sVar3);\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" else (compound_statement "{\n    memmove(local_30,local_34,sVar3);\n    memcpy((void *)((int)local_30 + sVar3),__first,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" { (expression_statement "memmove(local_30,local_34,sVar3);" (call_expression "memmove(local_30,local_34,sVar3)" identifier (argument_list "(local_30,local_34,sVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "memcpy((void *)((int)local_30 + sVar3),__first,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar3),__first,__n_00)" identifier (argument_list "((void *)((int)local_30 + sVar3),__first,__n_00)" ( (cast_expression "(void *)((int)local_30 + sVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + sVar3)" ( (binary_expression "(int)local_30 + sVar3" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (if_statement "if (__n != 0) goto LAB_000fa078;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_000fa078;" goto statement_identifier ;)) }))) (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (labeled_statement "LAB_000f9f47:\n  *(void **)this = local_30;" statement_identifier : (expression_statement "*(void **)this = local_30;" (assignment_expression "*(void **)this = local_30" (pointer_expression "*(void **)this" * (cast_expression "(void **)this" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;)) (expression_statement "*(size_t *)((int)this + 4) = (int)pvVar5 + __n;" (assignment_expression "*(size_t *)((int)this + 4) = (int)pvVar5 + __n" (pointer_expression "*(size_t *)((int)this + 4)" * (cast_expression "(size_t *)((int)this + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(int)pvVar5 + __n" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "*(int *)((int)this + 8) = local_2c;" (assignment_expression "*(int *)((int)this + 8) = local_2c" (pointer_expression "*(int *)((int)this + 8)" * (cast_expression "(int *)((int)this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}\n\n" (function_definition "void FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}" primitive_type (function_declarator "FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)" identifier (parameter_list "(int *param_1,void *param_2,void *param_3,void *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "void *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "uint __n_00;" type_identifier identifier ;) (declaration "void *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "void *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (if_statement "if (param_3 == param_4) {\n    return;\n  }" if (parenthesized_expression "(param_3 == param_4)" ( (binary_expression "param_3 == param_4" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "__n_00 = (int)param_4 - (int)param_3;" (assignment_expression "__n_00 = (int)param_4 - (int)param_3" identifier = (binary_expression "(int)param_4 - (int)param_3" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }" if (parenthesized_expression "(__n_00 <= (uint)(param_1[2] - (int)pvVar4))" ( (binary_expression "__n_00 <= (uint)(param_1[2] - (int)pvVar4)" identifier <= (call_expression "(uint)(param_1[2] - (int)pvVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] - (int)pvVar4)" ( (binary_expression "param_1[2] - (int)pvVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) (compound_statement "{\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }" { (expression_statement "uVar1 = (int)pvVar4 - (int)param_2;" (assignment_expression "uVar1 = (int)pvVar4 - (int)param_2" identifier = (binary_expression "(int)pvVar4 - (int)param_2" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }" if (parenthesized_expression "(__n_00 < uVar1)" ( (binary_expression "__n_00 < uVar1" identifier < identifier) )) (compound_statement "{\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }" { (expression_statement "memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);" (call_expression "memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00)" identifier (argument_list "(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00)" ( identifier , (cast_expression "(void *)((int)pvVar4 - __n_00)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 - __n_00)" ( (binary_expression "(int)pvVar4 - __n_00" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) , identifier ))) ;) (expression_statement "param_1[1] = param_1[1] + __n_00;" (assignment_expression "param_1[1] = param_1[1] + __n_00" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + __n_00" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;" (assignment_expression "sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2" identifier = (binary_expression "(int)((int)pvVar4 - __n_00) - (int)param_2" (cast_expression "(int)((int)pvVar4 - __n_00)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)pvVar4 - __n_00)" ( (binary_expression "(int)pvVar4 - __n_00" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }" if (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }" { (expression_statement "memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);" (call_expression "memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2)" identifier (argument_list "((void *)((int)pvVar4 - sVar2),param_2,sVar2)" ( (cast_expression "(void *)((int)pvVar4 - sVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 - sVar2)" ( (binary_expression "(int)pvVar4 - sVar2" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) , identifier , identifier ))) ;) })) (expression_statement "memmove(param_2,param_3,__n_00);" (call_expression "memmove(param_2,param_3,__n_00)" identifier (argument_list "(param_2,param_3,__n_00)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);" (assignment_expression "sVar2 = (int)param_4 - (int)((int)param_3 + uVar1)" identifier = (binary_expression "(int)param_4 - (int)((int)param_3 + uVar1)" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((int)param_3 + uVar1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)param_3 + uVar1)" ( (binary_expression "(int)param_3 + uVar1" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }" if (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }" { (expression_statement "memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);" (call_expression "memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2)" identifier (argument_list "(pvVar4,(void *)((int)param_3 + uVar1),sVar2)" ( identifier , (cast_expression "(void *)((int)param_3 + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + uVar1)" ( (binary_expression "(int)param_3 + uVar1" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier ))) ;) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) })) (expression_statement "pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));" (assignment_expression "pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1))" identifier = (cast_expression "(void *)((int)pvVar4 + (__n_00 - uVar1))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + (__n_00 - uVar1))" ( (binary_expression "(int)pvVar4 + (__n_00 - uVar1)" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(__n_00 - uVar1)" ( (binary_expression "__n_00 - uVar1" identifier - identifier) ))) )))) ;) (expression_statement "param_1[1] = (int)pvVar4;" (assignment_expression "param_1[1] = (int)pvVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (uVar1 == 0) {\n      return;\n    }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "memmove(pvVar4,param_2,uVar1);" (call_expression "memmove(pvVar4,param_2,uVar1)" identifier (argument_list "(pvVar4,param_2,uVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[1] = param_1[1] + uVar1;" (assignment_expression "param_1[1] = param_1[1] + uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "memmove(param_2,param_3,uVar1);" (call_expression "memmove(param_2,param_3,uVar1)" identifier (argument_list "(param_2,param_3,uVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_34 = (void *)*param_1;" (assignment_expression "local_34 = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar1 = (int)pvVar4 - (int)local_34;" (assignment_expression "uVar1 = (int)pvVar4 - (int)local_34" identifier = (binary_expression "(int)pvVar4 - (int)local_34" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }" if (parenthesized_expression "(~uVar1 < __n_00)" ( (binary_expression "~uVar1 < __n_00" (unary_expression "~uVar1" ~ identifier) < identifier) )) (compound_statement "{\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }" { (expression_statement "FUN_001c6190("vector::_M_range_insert");" (call_expression "FUN_001c6190("vector::_M_range_insert")" identifier (argument_list "("vector::_M_range_insert")" ( (string_literal ""vector::_M_range_insert"" " string_content ") ))) ;) })) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) (if_statement "if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }" if (parenthesized_expression "(uVar1 <= __n_00)" ( (binary_expression "uVar1 <= __n_00" identifier <= identifier) )) (compound_statement "{\n    uVar3 = __n_00;\n  }" { (expression_statement "uVar3 = __n_00;" (assignment_expression "uVar3 = __n_00" identifier = identifier) ;) })) (expression_statement "local_2c = uVar1 + uVar3;" (assignment_expression "local_2c = uVar1 + uVar3" identifier = (binary_expression "uVar1 + uVar3" identifier + identifier)) ;) (if_statement "if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" if (parenthesized_expression "(CARRY4(uVar1,uVar3))" ( (call_expression "CARRY4(uVar1,uVar3)" identifier (argument_list "(uVar1,uVar3)" ( identifier , identifier ))) )) (compound_statement "{\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }" { (expression_statement "local_2c = -1;" (assignment_expression "local_2c = -1" identifier = number_literal) ;) (labeled_statement "LAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);" statement_identifier : (expression_statement "local_30 = (void *)FUN_0017ebf0(local_2c);" (assignment_expression "local_30 = (void *)FUN_0017ebf0(local_2c)" identifier = (cast_expression "(void *)FUN_0017ebf0(local_2c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(local_2c)" identifier (argument_list "(local_2c)" ( identifier ))))) ;)) (expression_statement "local_34 = (void *)*param_1;" (assignment_expression "local_34 = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_2c = local_2c + (int)local_30;" (assignment_expression "local_2c = local_2c + (int)local_30" identifier = (binary_expression "local_2c + (int)local_30" identifier + (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" else (compound_statement "{\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" { (if_statement "if (local_2c != 0) goto LAB_000f9fc5;" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (goto_statement "goto LAB_000f9fc5;" goto statement_identifier ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_30 = (void *)0x0;" (assignment_expression "local_30 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "sVar2 = (int)param_2 - (int)local_34;" (assignment_expression "sVar2 = (int)param_2 - (int)local_34" identifier = (binary_expression "(int)param_2 - (int)local_34" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "__n = (int)pvVar4 - (int)param_2;" (assignment_expression "__n = (int)pvVar4 - (int)param_2" identifier = (binary_expression "(int)pvVar4 - (int)param_2" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);" (assignment_expression "pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30)" identifier = (cast_expression "(void *)(__n_00 + sVar2 + (int)local_30)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n_00 + sVar2 + (int)local_30)" ( (binary_expression "__n_00 + sVar2 + (int)local_30" (binary_expression "__n_00 + sVar2" identifier + identifier) + (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" if (parenthesized_expression "(sVar2 == 0)" ( (binary_expression "sVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }" { (expression_statement "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00)" identifier (argument_list "((void *)((int)local_30 + sVar2),param_3,__n_00)" ( (cast_expression "(void *)((int)local_30 + sVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + sVar2)" ( (binary_expression "(int)local_30 + sVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (if_statement "if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }" { (labeled_statement "LAB_000fa078:\n      memcpy(pvVar4,param_2,__n);" statement_identifier : (expression_statement "memcpy(pvVar4,param_2,__n);" (call_expression "memcpy(pvVar4,param_2,__n)" identifier (argument_list "(pvVar4,param_2,__n)" ( identifier , identifier , identifier ))) ;)) })) (if_statement "if (local_34 == (void *)0x0) goto LAB_000f9f47;" if (parenthesized_expression "(local_34 == (void *)0x0)" ( (binary_expression "local_34 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000f9f47;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" else (compound_statement "{\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" { (expression_statement "memmove(local_30,local_34,sVar2);" (call_expression "memmove(local_30,local_34,sVar2)" identifier (argument_list "(local_30,local_34,sVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00)" identifier (argument_list "((void *)((int)local_30 + sVar2),param_3,__n_00)" ( (cast_expression "(void *)((int)local_30 + sVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + sVar2)" ( (binary_expression "(int)local_30 + sVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (if_statement "if (__n != 0) goto LAB_000fa078;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_000fa078;" goto statement_identifier ;)) }))) (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (labeled_statement "LAB_000f9f47:\n  *param_1 = (int)local_30;" statement_identifier : (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "param_1[1] = (int)pvVar4 + __n;" (assignment_expression "param_1[1] = (int)pvVar4 + __n" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)pvVar4 + __n" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "param_1[2] = local_2c;" (assignment_expression "param_1[2] = local_2c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) ))) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) ))) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) ))) , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (unary_expression ~ 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 ( (call_expression IDENT (argument_list ( IDENT , IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))) , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) })) (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 , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))) , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (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 ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000f9e20(int *param_1,void *param_2,void *param_3,void *param_4)" (identifier "FUN_000f9e20") (parameter_list "(int *param_1,void *param_2,void *param_3,void *param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "void *param_3" (primitive_type "void") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "void *param_4" (primitive_type "void") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  uint uVar3;\n  size_t __n;\n  void *pvVar4;\n  uint __n_00;\n  void *local_34;\n  void *local_30;\n  int local_2c;\n  \n  if (param_3 == param_4) {\n    return;\n  }\n  pvVar4 = (void *)param_1[1];\n  __n_00 = (int)param_4 - (int)param_3;\n  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }\n  local_34 = (void *)*param_1;\n  uVar1 = (int)pvVar4 - (int)local_34;\n  if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }\n  uVar3 = uVar1;\n  if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }\n  local_2c = uVar1 + uVar3;\n  if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }\n  sVar2 = (int)param_2 - (int)local_34;\n  __n = (int)pvVar4 - (int)param_2;\n  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);\n  if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }\n  FUN_001807a0(local_34);\nLAB_000f9f47:\n  *param_1 = (int)local_30;\n  param_1[1] = (int)pvVar4 + __n;\n  param_1[2] = local_2c;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "void *pvVar4;" (primitive_type "void") (pointer_declarator "*pvVar4" (* "*") (identifier "pvVar4")) (; ";")) (declaration "uint __n_00;" (type_identifier "uint") (identifier "__n_00") (; ";")) (declaration "void *local_34;" (primitive_type "void") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "void *local_30;" (primitive_type "void") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (if_statement "if (param_3 == param_4) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == param_4)" (( "(") (binary_expression "param_3 == param_4" (identifier "param_3") (== "==") (identifier "param_4")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" (identifier "pvVar4") (= "=") (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") (] "]")))) (; ";")) (expression_statement "__n_00 = (int)param_4 - (int)param_3;" (assignment_expression "__n_00 = (int)param_4 - (int)param_3" (identifier "__n_00") (= "=") (binary_expression "(int)param_4 - (int)param_3" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (- "-") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")))) (; ";")) (if_statement "if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(__n_00 <= (uint)(param_1[2] - (int)pvVar4))" (( "(") (binary_expression "__n_00 <= (uint)(param_1[2] - (int)pvVar4)" (identifier "__n_00") (<= "<=") (call_expression "(uint)(param_1[2] - (int)pvVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[2] - (int)pvVar4)" (( "(") (binary_expression "param_1[2] - (int)pvVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4"))) () ")")))) () ")")) (compound_statement "{\n    uVar1 = (int)pvVar4 - (int)param_2;\n    if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }\n    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);\n    if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }\n    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));\n    param_1[1] = (int)pvVar4;\n    if (uVar1 == 0) {\n      return;\n    }\n    memmove(pvVar4,param_2,uVar1);\n    param_1[1] = param_1[1] + uVar1;\n    memmove(param_2,param_3,uVar1);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = (int)pvVar4 - (int)param_2;" (assignment_expression "uVar1 = (int)pvVar4 - (int)param_2" (identifier "uVar1") (= "=") (binary_expression "(int)pvVar4 - (int)param_2" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (if_statement "if (__n_00 < uVar1) {\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }" (if "if") (parenthesized_expression "(__n_00 < uVar1)" (( "(") (binary_expression "__n_00 < uVar1" (identifier "__n_00") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);\n      param_1[1] = param_1[1] + __n_00;\n      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;\n      if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }\n      memmove(param_2,param_3,__n_00);\n      return;\n    }" ({ "{") (expression_statement "memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);" (call_expression "memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00)" (identifier "memmove") (argument_list "(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00)" (( "(") (identifier "pvVar4") (, ",") (cast_expression "(void *)((int)pvVar4 - __n_00)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar4 - __n_00)" (( "(") (binary_expression "(int)pvVar4 - __n_00" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (identifier "__n_00")) () ")"))) (, ",") (identifier "__n_00") () ")"))) (; ";")) (expression_statement "param_1[1] = param_1[1] + __n_00;" (assignment_expression "param_1[1] = param_1[1] + __n_00" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] + __n_00" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "__n_00"))) (; ";")) (expression_statement "sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;" (assignment_expression "sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2" (identifier "sVar2") (= "=") (binary_expression "(int)((int)pvVar4 - __n_00) - (int)param_2" (cast_expression "(int)((int)pvVar4 - __n_00)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((int)pvVar4 - __n_00)" (( "(") (binary_expression "(int)pvVar4 - __n_00" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (identifier "__n_00")) () ")"))) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (if_statement "if (sVar2 != 0) {\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }" (if "if") (parenthesized_expression "(sVar2 != 0)" (( "(") (binary_expression "sVar2 != 0" (identifier "sVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);\n      }" ({ "{") (expression_statement "memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);" (call_expression "memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2)" (identifier "memmove") (argument_list "((void *)((int)pvVar4 - sVar2),param_2,sVar2)" (( "(") (cast_expression "(void *)((int)pvVar4 - sVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar4 - sVar2)" (( "(") (binary_expression "(int)pvVar4 - sVar2" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (identifier "sVar2")) () ")"))) (, ",") (identifier "param_2") (, ",") (identifier "sVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "memmove(param_2,param_3,__n_00);" (call_expression "memmove(param_2,param_3,__n_00)" (identifier "memmove") (argument_list "(param_2,param_3,__n_00)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "__n_00") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);" (assignment_expression "sVar2 = (int)param_4 - (int)((int)param_3 + uVar1)" (identifier "sVar2") (= "=") (binary_expression "(int)param_4 - (int)((int)param_3 + uVar1)" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (- "-") (cast_expression "(int)((int)param_3 + uVar1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((int)param_3 + uVar1)" (( "(") (binary_expression "(int)param_3 + uVar1" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (identifier "uVar1")) () ")"))))) (; ";")) (if_statement "if (sVar2 != 0) {\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }" (if "if") (parenthesized_expression "(sVar2 != 0)" (( "(") (binary_expression "sVar2 != 0" (identifier "sVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);\n      pvVar4 = (void *)param_1[1];\n    }" ({ "{") (expression_statement "memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);" (call_expression "memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2)" (identifier "memmove") (argument_list "(pvVar4,(void *)((int)param_3 + uVar1),sVar2)" (( "(") (identifier "pvVar4") (, ",") (cast_expression "(void *)((int)param_3 + uVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + uVar1)" (( "(") (binary_expression "(int)param_3 + uVar1" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (identifier "uVar1")) () ")"))) (, ",") (identifier "sVar2") () ")"))) (; ";")) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" (identifier "pvVar4") (= "=") (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") (] "]")))) (; ";")) (} "}"))) (expression_statement "pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));" (assignment_expression "pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1))" (identifier "pvVar4") (= "=") (cast_expression "(void *)((int)pvVar4 + (__n_00 - uVar1))" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar4 + (__n_00 - uVar1))" (( "(") (binary_expression "(int)pvVar4 + (__n_00 - uVar1)" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (+ "+") (parenthesized_expression "(__n_00 - uVar1)" (( "(") (binary_expression "__n_00 - uVar1" (identifier "__n_00") (- "-") (identifier "uVar1")) () ")"))) () ")")))) (; ";")) (expression_statement "param_1[1] = (int)pvVar4;" (assignment_expression "param_1[1] = (int)pvVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4"))) (; ";")) (if_statement "if (uVar1 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "memmove(pvVar4,param_2,uVar1);" (call_expression "memmove(pvVar4,param_2,uVar1)" (identifier "memmove") (argument_list "(pvVar4,param_2,uVar1)" (( "(") (identifier "pvVar4") (, ",") (identifier "param_2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "param_1[1] = param_1[1] + uVar1;" (assignment_expression "param_1[1] = param_1[1] + uVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] + uVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "uVar1"))) (; ";")) (expression_statement "memmove(param_2,param_3,uVar1);" (call_expression "memmove(param_2,param_3,uVar1)" (identifier "memmove") (argument_list "(param_2,param_3,uVar1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_34 = (void *)*param_1;" (assignment_expression "local_34 = (void *)*param_1" (identifier "local_34") (= "=") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar1 = (int)pvVar4 - (int)local_34;" (assignment_expression "uVar1 = (int)pvVar4 - (int)local_34" (identifier "uVar1") (= "=") (binary_expression "(int)pvVar4 - (int)local_34" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")))) (; ";")) (if_statement "if (~uVar1 < __n_00) {\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }" (if "if") (parenthesized_expression "(~uVar1 < __n_00)" (( "(") (binary_expression "~uVar1 < __n_00" (unary_expression "~uVar1" (~ "~") (identifier "uVar1")) (< "<") (identifier "__n_00")) () ")")) (compound_statement "{\n                    \n    FUN_001c6190("vector::_M_range_insert");\n  }" ({ "{") (expression_statement "FUN_001c6190("vector::_M_range_insert");" (call_expression "FUN_001c6190("vector::_M_range_insert")" (identifier "FUN_001c6190") (argument_list "("vector::_M_range_insert")" (( "(") (string_literal ""vector::_M_range_insert"" (" """) (string_content "vector::_M_range_insert") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" (identifier "uVar3") (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (uVar1 <= __n_00) {\n    uVar3 = __n_00;\n  }" (if "if") (parenthesized_expression "(uVar1 <= __n_00)" (( "(") (binary_expression "uVar1 <= __n_00" (identifier "uVar1") (<= "<=") (identifier "__n_00")) () ")")) (compound_statement "{\n    uVar3 = __n_00;\n  }" ({ "{") (expression_statement "uVar3 = __n_00;" (assignment_expression "uVar3 = __n_00" (identifier "uVar3") (= "=") (identifier "__n_00")) (; ";")) (} "}"))) (expression_statement "local_2c = uVar1 + uVar3;" (assignment_expression "local_2c = uVar1 + uVar3" (identifier "local_2c") (= "=") (binary_expression "uVar1 + uVar3" (identifier "uVar1") (+ "+") (identifier "uVar3"))) (; ";")) (if_statement "if (CARRY4(uVar1,uVar3)) {\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }\n  else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" (if "if") (parenthesized_expression "(CARRY4(uVar1,uVar3))" (( "(") (call_expression "CARRY4(uVar1,uVar3)" (identifier "CARRY4") (argument_list "(uVar1,uVar3)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar3") () ")"))) () ")")) (compound_statement "{\n    local_2c = -1;\nLAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);\n    local_34 = (void *)*param_1;\n    pvVar4 = (void *)param_1[1];\n    local_2c = local_2c + (int)local_30;\n  }" ({ "{") (expression_statement "local_2c = -1;" (assignment_expression "local_2c = -1" (identifier "local_2c") (= "=") (number_literal "-1")) (; ";")) (labeled_statement "LAB_000f9fc5:\n    local_30 = (void *)FUN_0017ebf0(local_2c);" (statement_identifier "LAB_000f9fc5") (: ":") (expression_statement "local_30 = (void *)FUN_0017ebf0(local_2c);" (assignment_expression "local_30 = (void *)FUN_0017ebf0(local_2c)" (identifier "local_30") (= "=") (cast_expression "(void *)FUN_0017ebf0(local_2c)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017ebf0(local_2c)" (identifier "FUN_0017ebf0") (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")"))))) (; ";"))) (expression_statement "local_34 = (void *)*param_1;" (assignment_expression "local_34 = (void *)*param_1" (identifier "local_34") (= "=") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "pvVar4 = (void *)param_1[1];" (assignment_expression "pvVar4 = (void *)param_1[1]" (identifier "pvVar4") (= "=") (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") (] "]")))) (; ";")) (expression_statement "local_2c = local_2c + (int)local_30;" (assignment_expression "local_2c = local_2c + (int)local_30" (identifier "local_2c") (= "=") (binary_expression "local_2c + (int)local_30" (identifier "local_2c") (+ "+") (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")))) (; ";")) (} "}")) (else_clause "else {\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" (else "else") (compound_statement "{\n    if (local_2c != 0) goto LAB_000f9fc5;\n    local_2c = 0;\n    local_30 = (void *)0x0;\n  }" ({ "{") (if_statement "if (local_2c != 0) goto LAB_000f9fc5;" (if "if") (parenthesized_expression "(local_2c != 0)" (( "(") (binary_expression "local_2c != 0" (identifier "local_2c") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000f9fc5;" (goto "goto") (statement_identifier "LAB_000f9fc5") (; ";"))) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = (void *)0x0;" (assignment_expression "local_30 = (void *)0x0" (identifier "local_30") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (expression_statement "sVar2 = (int)param_2 - (int)local_34;" (assignment_expression "sVar2 = (int)param_2 - (int)local_34" (identifier "sVar2") (= "=") (binary_expression "(int)param_2 - (int)local_34" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")))) (; ";")) (expression_statement "__n = (int)pvVar4 - (int)param_2;" (assignment_expression "__n = (int)pvVar4 - (int)param_2" (identifier "__n") (= "=") (binary_expression "(int)pvVar4 - (int)param_2" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (expression_statement "pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);" (assignment_expression "pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30)" (identifier "pvVar4") (= "=") (cast_expression "(void *)(__n_00 + sVar2 + (int)local_30)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(__n_00 + sVar2 + (int)local_30)" (( "(") (binary_expression "__n_00 + sVar2 + (int)local_30" (binary_expression "__n_00 + sVar2" (identifier "__n_00") (+ "+") (identifier "sVar2")) (+ "+") (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30"))) () ")")))) (; ";")) (if_statement "if (sVar2 == 0) {\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }\n  else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" (if "if") (parenthesized_expression "(sVar2 == 0)" (( "(") (binary_expression "sVar2 == 0" (identifier "sVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }\n    if (local_34 == (void *)0x0) goto LAB_000f9f47;\n  }" ({ "{") (expression_statement "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00)" (identifier "memcpy") (argument_list "((void *)((int)local_30 + sVar2),param_3,__n_00)" (( "(") (cast_expression "(void *)((int)local_30 + sVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_30 + sVar2)" (( "(") (binary_expression "(int)local_30 + sVar2" (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")) (+ "+") (identifier "sVar2")) () ")"))) (, ",") (identifier "param_3") (, ",") (identifier "__n_00") () ")"))) (; ";")) (if_statement "if (__n != 0) {\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000fa078:\n      memcpy(pvVar4,param_2,__n);\n    }" ({ "{") (labeled_statement "LAB_000fa078:\n      memcpy(pvVar4,param_2,__n);" (statement_identifier "LAB_000fa078") (: ":") (expression_statement "memcpy(pvVar4,param_2,__n);" (call_expression "memcpy(pvVar4,param_2,__n)" (identifier "memcpy") (argument_list "(pvVar4,param_2,__n)" (( "(") (identifier "pvVar4") (, ",") (identifier "param_2") (, ",") (identifier "__n") () ")"))) (; ";"))) (} "}"))) (if_statement "if (local_34 == (void *)0x0) goto LAB_000f9f47;" (if "if") (parenthesized_expression "(local_34 == (void *)0x0)" (( "(") (binary_expression "local_34 == (void *)0x0" (identifier "local_34") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000f9f47;" (goto "goto") (statement_identifier "LAB_000f9f47") (; ";"))) (} "}")) (else_clause "else {\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" (else "else") (compound_statement "{\n    memmove(local_30,local_34,sVar2);\n    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);\n    if (__n != 0) goto LAB_000fa078;\n  }" ({ "{") (expression_statement "memmove(local_30,local_34,sVar2);" (call_expression "memmove(local_30,local_34,sVar2)" (identifier "memmove") (argument_list "(local_30,local_34,sVar2)" (( "(") (identifier "local_30") (, ",") (identifier "local_34") (, ",") (identifier "sVar2") () ")"))) (; ";")) (expression_statement "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);" (call_expression "memcpy((void *)((int)local_30 + sVar2),param_3,__n_00)" (identifier "memcpy") (argument_list "((void *)((int)local_30 + sVar2),param_3,__n_00)" (( "(") (cast_expression "(void *)((int)local_30 + sVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_30 + sVar2)" (( "(") (binary_expression "(int)local_30 + sVar2" (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")) (+ "+") (identifier "sVar2")) () ")"))) (, ",") (identifier "param_3") (, ",") (identifier "__n_00") () ")"))) (; ";")) (if_statement "if (__n != 0) goto LAB_000fa078;" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000fa078;" (goto "goto") (statement_identifier "LAB_000fa078") (; ";"))) (} "}")))) (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" (identifier "FUN_001807a0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (labeled_statement "LAB_000f9f47:\n  *param_1 = (int)local_30;" (statement_identifier "LAB_000f9f47") (: ":") (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30"))) (; ";"))) (expression_statement "param_1[1] = (int)pvVar4 + __n;" (assignment_expression "param_1[1] = (int)pvVar4 + __n" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)pvVar4 + __n" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (+ "+") (identifier "__n"))) (; ";")) (expression_statement "param_1[2] = local_2c;" (assignment_expression "param_1[2] = local_2c" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_range_insert<unsigned char*>
   DWARF original prototype: void
   _M_range_insert<unsigned_char*>(vector<unsigned_char,_std::allocator<unsigned_char>_> * this,
   iterator __position, uchar * __first, uchar * __last, forward_iterator_tag param_5) */

void __thiscall
std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>
          (void *this,void *__position,void *var_1,void *var_2)

{
  type_1 var_11;
  type_1 var_4;
  size_t var_6;
  type_1 var_8;
  size_t var_13;
  void *pvVar5;
  type_1 var_3;
  void *var_14;
  void *local_30;
  int local_2c;
  
  if (var_1 == var_2) {
    return;
  }
  pvVar5 = *(void **)((int)this + 4);
  var_3 = (int)var_2 - (int)var_1;
  if (var_3 <= (type_1)(*(int *)((int)this + 8) - (int)pvVar5)) {
    var_4 = (int)pvVar5 - (int)__position;
    if (var_3 < var_4) {
      var_5(pvVar5,(void *)((int)pvVar5 - var_3),var_3);
      *(int *)((int)this + 4) = *(int *)((int)this + 4) + var_3;
      var_6 = (int)((int)pvVar5 - var_3) - (int)__position;
      if (var_6 != 0) {
        var_5((void *)((int)pvVar5 - var_6),__position,var_6);
      }
      var_5(__position,var_1,var_3);
      return;
    }
    var_6 = (int)var_2 - (int)((int)var_1 + var_4);
    if (var_6 != 0) {
      var_5(pvVar5,(void *)((int)var_1 + var_4),var_6);
      pvVar5 = *(void **)((int)this + 4);
    }
    pvVar5 = (void *)((int)pvVar5 + (var_3 - var_4));
    *(void **)((int)this + 4) = pvVar5;
    if (var_4 == 0) {
      return;
    }
    var_5(pvVar5,__position,var_4);
    *(int *)((int)this + 4) = *(int *)((int)this + 4) + var_4;
    var_5(__position,var_1,var_4);
    return;
  }
                    /* WARNING: Load size is inaccurate */
  var_14 = *this;
  var_4 = (int)pvVar5 - (int)var_14;
  if (~var_4 < var_3) {
                    /* WARNING: Subroutine does not return */
    var_7("vector::_M_range_insert");
  }
  var_8 = var_4;
  if (var_4 <= var_3) {
    var_8 = var_3;
  }
  var_11 = var_4 + var_8;
  if (var_9(var_4,var_8)) {
    var_11 = 0xffffffff;
LAB_000f9fc5:
    local_30 = var_10(var_11);
                    /* WARNING: Load size is inaccurate */
    var_14 = *this;
    pvVar5 = *(void **)((int)this + 4);
    local_2c = var_11 + (int)local_30;
  }
  else {
    if (var_11 != 0) goto LAB_000f9fc5;
    local_2c = 0;
    local_30 = (void *)0x0;
  }
  var_6 = (int)__position - (int)var_14;
  var_13 = (int)pvVar5 - (int)__position;
  pvVar5 = (void *)(var_3 + var_6 + (int)local_30);
  if (var_6 == 0) {
    var_12((void *)((int)local_30 + var_6),var_1,var_3);
    if (var_13 != 0) {
LAB_000fa078:
      var_12(pvVar5,__position,var_13);
    }
    if (var_14 == (void *)0x0) goto LAB_000f9f47;
  }
  else {
    var_5(local_30,var_14,var_6);
    var_12((void *)((int)local_30 + var_6),var_1,var_3);
    if (var_13 != 0) goto LAB_000fa078;
  }
  var_15(var_14);
LAB_000f9f47:
  *(void **)this = local_30;
  *(size_t *)((int)this + 4) = (int)pvVar5 + var_13;
  *(int *)((int)this + 8) = local_2c;
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (identifier)))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) 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: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (unary_expression argument: (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))))) (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) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

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

void MASKED(int *param_1,void *param_2,void *param_3,void *param_4)

{
  uint uVar1;
  size_t sVar2;
  uint uVar3;
  size_t __n;
  void *pvVar4;
  uint __n_00;
  void *local_34;
  void *local_30;
  int local_2c;
  
  if (param_3 == param_4) {
    return;
  }
  pvVar4 = (void *)param_1[1];
  __n_00 = (int)param_4 - (int)param_3;
  if (__n_00 <= (uint)(param_1[2] - (int)pvVar4)) {
    uVar1 = (int)pvVar4 - (int)param_2;
    if (__n_00 < uVar1) {
      memmove(pvVar4,(void *)((int)pvVar4 - __n_00),__n_00);
      param_1[1] = param_1[1] + __n_00;
      sVar2 = (int)((int)pvVar4 - __n_00) - (int)param_2;
      if (sVar2 != 0) {
        memmove((void *)((int)pvVar4 - sVar2),param_2,sVar2);
      }
      memmove(param_2,param_3,__n_00);
      return;
    }
    sVar2 = (int)param_4 - (int)((int)param_3 + uVar1);
    if (sVar2 != 0) {
      memmove(pvVar4,(void *)((int)param_3 + uVar1),sVar2);
      pvVar4 = (void *)param_1[1];
    }
    pvVar4 = (void *)((int)pvVar4 + (__n_00 - uVar1));
    param_1[1] = (int)pvVar4;
    if (uVar1 == 0) {
      return;
    }
    memmove(pvVar4,param_2,uVar1);
    param_1[1] = param_1[1] + uVar1;
    memmove(param_2,param_3,uVar1);
    return;
  }
  local_34 = (void *)*param_1;
  uVar1 = (int)pvVar4 - (int)local_34;
  if (~uVar1 < __n_00) {
                    /* WARNING: Subroutine does not return */
    FUN_001c6190("vector::_M_range_insert");
  }
  uVar3 = uVar1;
  if (uVar1 <= __n_00) {
    uVar3 = __n_00;
  }
  local_2c = uVar1 + uVar3;
  if (CARRY4(uVar1,uVar3)) {
    local_2c = -1;
LAB_000f9fc5:
    local_30 = (void *)FUN_0017ebf0(local_2c);
    local_34 = (void *)*param_1;
    pvVar4 = (void *)param_1[1];
    local_2c = local_2c + (int)local_30;
  }
  else {
    if (local_2c != 0) goto LAB_000f9fc5;
    local_2c = 0;
    local_30 = (void *)0x0;
  }
  sVar2 = (int)param_2 - (int)local_34;
  __n = (int)pvVar4 - (int)param_2;
  pvVar4 = (void *)(__n_00 + sVar2 + (int)local_30);
  if (sVar2 == 0) {
    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);
    if (__n != 0) {
LAB_000fa078:
      memcpy(pvVar4,param_2,__n);
    }
    if (local_34 == (void *)0x0) goto LAB_000f9f47;
  }
  else {
    memmove(local_30,local_34,sVar2);
    memcpy((void *)((int)local_30 + sVar2),param_3,__n_00);
    if (__n != 0) goto LAB_000fa078;
  }
  FUN_001807a0(local_34);
LAB_000f9f47:
  *param_1 = (int)local_30;
  param_1[1] = (int)pvVar4 + __n;
  param_1[2] = local_2c;
  return;
}

