
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_realloc_insert<gold::Cie* const&>
   DWARF original prototype: void
   _M_realloc_insert<gold::Cie*_const&>(vector<gold::Cie*,_std::allocator<gold::Cie*>_> * this,
   iterator __position, Cie * * __args#0) */

void __thiscall
std::vector<gold::Cie*,_std::allocator<gold::Cie*>_>::_M_realloc_insert<gold::Cie*_const&>
          (vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)

{
  void *__dest;
  pointer __src;
  pointer ppCVar1;
  uint uVar2;
  pointer __dest_00;
  uint uVar3;
  uint uVar4;
  size_t __n;
  pointer local_28;
  
  __src = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start;
  ppCVar1 = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish;
  __n = (int)__position._M_current - (int)__src;
  uVar2 = (int)ppCVar1 - (int)__src >> 2;
  if (uVar2 == 0) {
    uVar3 = 1;
LAB_0017f675:
    uVar4 = uVar3 * 4;
LAB_0017f585:
    __dest_00 = (pointer)operator_new(uVar4);
    local_28 = (pointer)((int)__dest_00 + uVar4);
  }
  else {
    uVar3 = uVar2 * 2;
    uVar4 = 0xfffffffc;
    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;
    local_28 = (pointer)0x0;
    __dest_00 = (pointer)0x0;
    if (uVar3 != 0) goto LAB_0017f675;
  }
  *(Cie **)((int)__dest_00 + __n) = *__args_0;
  __dest = (void *)((int)__dest_00 + __n + 4);
  if (__position._M_current == __src) {
    if (__position._M_current != ppCVar1) goto LAB_0017f5f7;
LAB_0017f608:
    if (__src == (pointer)0x0) goto LAB_0017f60c;
  }
  else {
    memmove(__dest_00,__src,__n);
    if (__position._M_current != ppCVar1) {
LAB_0017f5f7:
      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);
      goto LAB_0017f608;
    }
  }
  operator_delete(__src);
LAB_0017f60c:
  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start = __dest_00;
  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish =
       (pointer)((int)__dest + ((int)ppCVar1 - (int)__position._M_current));
  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_end_of_storage =
       local_28;
  return;
}



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

void FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)

{
  void *__dest;
  void *__src;
  void *pvVar1;
  uint uVar2;
  void *__dest_00;
  uint uVar3;
  size_t __n;
  int local_28;
  
  __src = (void *)*param_1;
  pvVar1 = (void *)param_1[1];
  __n = (int)param_2 - (int)__src;
  uVar2 = (int)pvVar1 - (int)__src >> 2;
  if (uVar2 == 0) {
    uVar3 = 1;
LAB_0017f675:
    local_28 = uVar3 * 4;
LAB_0017f585:
    __dest_00 = (void *)FUN_001aa8c0(local_28);
    local_28 = (int)__dest_00 + local_28;
  }
  else {
    uVar3 = uVar2 * 2;
    local_28 = -4;
    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;
    local_28 = 0;
    __dest_00 = (void *)0x0;
    if (uVar3 != 0) goto LAB_0017f675;
  }
  *(undefined4 *)((int)__dest_00 + __n) = *param_3;
  __dest = (void *)((int)__dest_00 + __n + 4);
  if (param_2 == __src) {
    if (param_2 != pvVar1) goto LAB_0017f5f7;
LAB_0017f608:
    if (__src == (void *)0x0) goto LAB_0017f60c;
  }
  else {
    memmove(__dest_00,__src,__n);
    if (param_2 != pvVar1) {
LAB_0017f5f7:
      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);
      goto LAB_0017f608;
    }
  }
  FUN_001ac470(__src);
LAB_0017f60c:
  *param_1 = __dest_00;
  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);
  param_1[2] = local_28;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1bfab7
SUB ESP,0x2c
MOV EBP,dword ptr [ESP + 0x40]
MOV EDI,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [EBP]
MOV EAX,dword ptr [EBP + 0x4]
MOV dword ptr [ESP + 0xc],EAX
SUB EAX,ESI
SUB EDI,ESI
SAR EAX,0x2
MOV dword ptr [ESP + 0x8],EDI
JZ 0x0017f670
LEA ECX,[EAX + EAX*0x1]
MOV EDX,0xfffffffc
CMP EAX,ECX
JBE 0x0017f640
SUB ESP,0xc
PUSH EDX
MOV dword ptr [ESP + 0x20],EDX
CALL 0x001aa8c0
MOV EDX,dword ptr [ESP + 0x20]
MOV EDI,EAX
LEA EAX,[EAX + EDX*0x1]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x48]
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
SUB EDX,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EAX]
MOV dword ptr [EDI + ECX*0x1],EAX
LEA ECX,[EDI + ECX*0x1 + 0x4]
LEA EAX,[ECX + EDX*0x1]
MOV dword ptr [ESP + 0x10],EAX
CMP dword ptr [ESP + 0x44],ESI
JZ 0x0017f660
MOV dword ptr [ESP + 0x1c],ECX
SUB ESP,0x4
MOV dword ptr [ESP + 0x1c],EDX
PUSH dword ptr [ESP + 0xc]
PUSH ESI
PUSH EDI
CALL 0x000288a0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x1c]
CMP dword ptr [ESP + 0x44],EDX
MOV EDX,dword ptr [ESP + 0x18]
JZ 0x0017f628
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [ESP + 0x4c]
PUSH ECX
CALL 0x000285c0
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x0017f628
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [EBP],EDI
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EBP + 0x8],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL 0x001ac470
ADD ESP,0x10
JMP 0x0017f60c
CMP ECX,0x3fffffff
JA 0x0017f585
MOV dword ptr [ESP + 0x14],0x0
XOR EDI,EDI
TEST ECX,ECX
JZ 0x0017f5a2
JMP 0x0017f675
MOV EAX,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x44],EAX
JNZ 0x0017f5f7
JMP 0x0017f608
MOV ECX,0x1
LEA EDX,[ECX*0x4 + 0x0]
JMP 0x0017f585
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}\n\n" comment (function_definition "void FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" primitive_type (function_declarator "FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,void *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" { (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "void *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pvVar1 = (void *)param_1[1];" (assignment_expression "pvVar1 = (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 = (int)param_2 - (int)__src;" (assignment_expression "__n = (int)param_2 - (int)__src" identifier = (binary_expression "(int)param_2 - (int)__src" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar2 = (int)pvVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)pvVar1 - (int)__src >> 2" identifier = (binary_expression "(int)pvVar1 - (int)__src >> 2" (binary_expression "(int)pvVar1 - (int)__src" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0017f675:\n    local_28 = uVar3 * 4;" statement_identifier : (expression_statement "local_28 = uVar3 * 4;" (assignment_expression "local_28 = uVar3 * 4" identifier = (binary_expression "uVar3 * 4" identifier * number_literal)) ;)) (labeled_statement "LAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);" statement_identifier : (expression_statement "__dest_00 = (void *)FUN_001aa8c0(local_28);" (assignment_expression "__dest_00 = (void *)FUN_001aa8c0(local_28)" identifier = (cast_expression "(void *)FUN_001aa8c0(local_28)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;)) (expression_statement "local_28 = (int)__dest_00 + local_28;" (assignment_expression "local_28 = (int)__dest_00 + local_28" identifier = (binary_expression "(int)__dest_00 + local_28" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" else (compound_statement "{\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" { (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "local_28 = -4;" (assignment_expression "local_28 = -4" identifier = number_literal) ;) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;" if (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" ( (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar3)" ( (binary_expression "0x3fffffff < uVar3" number_literal < identifier) ))) )) (goto_statement "goto LAB_0017f585;" goto statement_identifier ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__dest_00 = (void *)0x0;" (assignment_expression "__dest_00 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar3 != 0) goto LAB_0017f675;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0017f675;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)((int)__dest_00 + __n) = *param_3;" (assignment_expression "*(undefined4 *)((int)__dest_00 + __n) = *param_3" (pointer_expression "*(undefined4 *)((int)__dest_00 + __n)" * (cast_expression "(undefined4 *)((int)__dest_00 + __n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n)" ( (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" identifier = (cast_expression "(void *)((int)__dest_00 + __n + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n + 4)" ( (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" if (parenthesized_expression "(param_2 == __src)" ( (binary_expression "param_2 == __src" identifier == identifier) )) (compound_statement "{\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }" { (if_statement "if (param_2 != pvVar1) goto LAB_0017f5f7;" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (goto_statement "goto LAB_0017f5f7;" goto statement_identifier ;)) (labeled_statement "LAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;" statement_identifier : (if_statement "if (__src == (void *)0x0) goto LAB_0017f60c;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017f60c;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" else (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" { (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" identifier (argument_list "(__dest_00,__src,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (compound_statement "{\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }" { (labeled_statement "LAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" statement_identifier : (expression_statement "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2)" identifier (argument_list "(__dest,param_2,(int)pvVar1 - (int)param_2)" ( identifier , identifier , (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;)) (goto_statement "goto LAB_0017f608;" goto statement_identifier ;) })) }))) (expression_statement "FUN_001ac470(__src);" (call_expression "FUN_001ac470(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0017f60c:\n  *param_1 = __dest_00;" statement_identifier : (expression_statement "*param_1 = __dest_00;" (assignment_expression "*param_1 = __dest_00" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + ((int)pvVar1 - (int)param_2)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)pvVar1 - (int)param_2)" ( (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (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_realloc_insert<gold::Cie* const&>\n   DWARF original prototype: void\n   _M_realloc_insert<gold::Cie*_const&>(vector<gold::Cie*,_std::allocator<gold::Cie*>_> * this,\n   iterator __position, Cie * * __args#0) */\n\nvoid __thiscall\nstd::vector<gold::Cie*,_std::allocator<gold::Cie*>_>::_M_realloc_insert<gold::Cie*_const&>\n          (vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)\n\n{\n  void *__dest;\n  pointer __src;\n  pointer ppCVar1;\n  uint uVar2;\n  pointer __dest_00;\n  uint uVar3;\n  uint uVar4;\n  size_t __n;\n  pointer local_28;\n  \n  __src = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start;\n  ppCVar1 = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish;\n  __n = (int)__position._M_current - (int)__src;\n  uVar2 = (int)ppCVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    uVar4 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (pointer)operator_new(uVar4);\n    local_28 = (pointer)((int)__dest_00 + uVar4);\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = (pointer)0x0;\n    __dest_00 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(Cie **)((int)__dest_00 + __n) = *__args_0;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (__position._M_current == __src) {\n    if (__position._M_current != ppCVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (pointer)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (__position._M_current != ppCVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);\n      goto LAB_0017f608;\n    }\n  }\n  operator_delete(__src);\nLAB_0017f60c:\n  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start = __dest_00;\n  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish =\n       (pointer)((int)__dest + ((int)ppCVar1 - (int)__position._M_current));\n  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_end_of_storage =\n       local_28;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::vector<gold::Cie*,_std::allocator<gold::Cie*>_>::_M_realloc_insert<gold::Cie*_const&>\n          (vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)\n\n{\n  void *__dest;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*" *) , (ERROR "_std::allocator<gold::Cie*>_>::_M_realloc_insert<gold::Cie*_const&>\n          (vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)\n\n{\n  void" identifier : : identifier < identifier : : identifier * > identifier > : : identifier < identifier : : identifier (pointer_declarator "*_const&>\n          (vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)" * (function_declarator "_const&>\n          (vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)" identifier (ERROR "&>" & >) (parameter_list "(vector<gold::Cie*,_std::allocator<gold::Cie*>_> *this,iterator __position,Cie **__args_0)" ( (parameter_declaration "vector<gold::Cie*" type_identifier (ERROR "<gold::Cie" < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Cie*>_> *this" type_identifier (ERROR "::allocator<gold::Cie*>_>" : : identifier < identifier : : identifier * > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "Cie **__args_0" type_identifier (pointer_declarator "**__args_0" * (pointer_declarator "*__args_0" * identifier))) )))) { primitive_type) (pointer_declarator "*__dest" * identifier) ;) (declaration "pointer __src;" type_identifier identifier ;) (declaration "pointer ppCVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "pointer __dest_00;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "pointer local_28;" type_identifier identifier ;) (expression_statement "__src = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start;" (assignment_expression "__src = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start" identifier = (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)" ( (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Cie*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Cie" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "ppCVar1 = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish;" (assignment_expression "ppCVar1 = (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish" identifier = (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)" ( (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Cie*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Cie" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "__n = (int)__position._M_current - (int)__src;" (assignment_expression "__n = (int)__position._M_current - (int)__src" identifier = (binary_expression "(int)__position._M_current - (int)__src" (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier)) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar2 = (int)ppCVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)ppCVar1 - (int)__src >> 2" identifier = (binary_expression "(int)ppCVar1 - (int)__src >> 2" (binary_expression "(int)ppCVar1 - (int)__src" (cast_expression "(int)ppCVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    uVar4 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (pointer)operator_new(uVar4);\n    local_28 = (pointer)((int)__dest_00 + uVar4);\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = (pointer)0x0;\n    __dest_00 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_0017f675:\n    uVar4 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (pointer)operator_new(uVar4);\n    local_28 = (pointer)((int)__dest_00 + uVar4);\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0017f675:\n    uVar4 = uVar3 * 4;" statement_identifier : (expression_statement "uVar4 = uVar3 * 4;" (assignment_expression "uVar4 = uVar3 * 4" identifier = (binary_expression "uVar3 * 4" identifier * number_literal)) ;)) (labeled_statement "LAB_0017f585:\n    __dest_00 = (pointer)operator_new(uVar4);" statement_identifier : (expression_statement "__dest_00 = (pointer)operator_new(uVar4);" (assignment_expression "__dest_00 = (pointer)operator_new(uVar4)" identifier = (cast_expression "(pointer)operator_new(uVar4)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))))) ;)) (expression_statement "local_28 = (pointer)((int)__dest_00 + uVar4);" (assignment_expression "local_28 = (pointer)((int)__dest_00 + uVar4)" identifier = (call_expression "(pointer)((int)__dest_00 + uVar4)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "((int)__dest_00 + uVar4)" ( (binary_expression "(int)__dest_00 + uVar4" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = (pointer)0x0;\n    __dest_00 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" else (compound_statement "{\n    uVar3 = uVar2 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = (pointer)0x0;\n    __dest_00 = (pointer)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" { (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar4 = 0xfffffffc;" (assignment_expression "uVar4 = 0xfffffffc" identifier = number_literal) ;) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;" if (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" ( (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar3)" ( (binary_expression "0x3fffffff < uVar3" number_literal < identifier) ))) )) (goto_statement "goto LAB_0017f585;" goto statement_identifier ;)) (expression_statement "local_28 = (pointer)0x0;" (assignment_expression "local_28 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "__dest_00 = (pointer)0x0;" (assignment_expression "__dest_00 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (if_statement "if (uVar3 != 0) goto LAB_0017f675;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0017f675;" goto statement_identifier ;)) }))) (expression_statement "*(Cie **)((int)__dest_00 + __n) = *__args_0;" (assignment_expression "*(Cie **)((int)__dest_00 + __n) = *__args_0" (pointer_expression "*(Cie **)((int)__dest_00 + __n)" * (cast_expression "(Cie **)((int)__dest_00 + __n)" ( (type_descriptor "Cie **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__dest_00 + __n)" ( (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*__args_0" * identifier)) ;) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" identifier = (cast_expression "(void *)((int)__dest_00 + __n + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n + 4)" ( (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (__position._M_current == __src) {\n    if (__position._M_current != ppCVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (pointer)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (__position._M_current != ppCVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);\n      goto LAB_0017f608;\n    }\n  }" if (parenthesized_expression "(__position._M_current == __src)" ( (binary_expression "__position._M_current == __src" (field_expression "__position._M_current" identifier . field_identifier) == identifier) )) (compound_statement "{\n    if (__position._M_current != ppCVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (pointer)0x0) goto LAB_0017f60c;\n  }" { (if_statement "if (__position._M_current != ppCVar1) goto LAB_0017f5f7;" if (parenthesized_expression "(__position._M_current != ppCVar1)" ( (binary_expression "__position._M_current != ppCVar1" (field_expression "__position._M_current" identifier . field_identifier) != identifier) )) (goto_statement "goto LAB_0017f5f7;" goto statement_identifier ;)) (labeled_statement "LAB_0017f608:\n    if (__src == (pointer)0x0) goto LAB_0017f60c;" statement_identifier : (if_statement "if (__src == (pointer)0x0) goto LAB_0017f60c;" if (parenthesized_expression "(__src == (pointer)0x0)" ( (binary_expression "__src == (pointer)0x0" identifier == (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_0017f60c;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (__position._M_current != ppCVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);\n      goto LAB_0017f608;\n    }\n  }" else (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (__position._M_current != ppCVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);\n      goto LAB_0017f608;\n    }\n  }" { (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" identifier (argument_list "(__dest_00,__src,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (__position._M_current != ppCVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);\n      goto LAB_0017f608;\n    }" if (parenthesized_expression "(__position._M_current != ppCVar1)" ( (binary_expression "__position._M_current != ppCVar1" (field_expression "__position._M_current" identifier . field_identifier) != identifier) )) (compound_statement "{\nLAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);\n      goto LAB_0017f608;\n    }" { (labeled_statement "LAB_0017f5f7:\n      memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);" statement_identifier : (expression_statement "memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current);" (call_expression "memcpy(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current)" identifier (argument_list "(__dest,__position._M_current,(int)ppCVar1 - (int)__position._M_current)" ( identifier , (field_expression "__position._M_current" identifier . field_identifier) , (binary_expression "(int)ppCVar1 - (int)__position._M_current" (cast_expression "(int)ppCVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier))) ))) ;)) (goto_statement "goto LAB_0017f608;" goto statement_identifier ;) })) }))) (expression_statement "operator_delete(__src);" (call_expression "operator_delete(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0017f60c:\n  (this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start = __dest_00;" statement_identifier : (expression_statement "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start = __dest_00;" (assignment_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start = __dest_00" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)" ( (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Cie*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Cie" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;)) (expression_statement "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish =\n       (pointer)((int)__dest + ((int)ppCVar1 - (int)__position._M_current));" (assignment_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish =\n       (pointer)((int)__dest + ((int)ppCVar1 - (int)__position._M_current))" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)" ( (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Cie*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (call_expression "(pointer)((int)__dest + ((int)ppCVar1 - (int)__position._M_current))" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "((int)__dest + ((int)ppCVar1 - (int)__position._M_current))" ( (binary_expression "(int)__dest + ((int)ppCVar1 - (int)__position._M_current)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)ppCVar1 - (int)__position._M_current)" ( (binary_expression "(int)ppCVar1 - (int)__position._M_current" (cast_expression "(int)ppCVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier))) ))) )))) ;) (expression_statement "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_end_of_storage =\n       local_28;" (assignment_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_end_of_storage =\n       local_28" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>)" ( (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_>" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold::Cie*>_" (binary_expression "this->super__Vector_base<gold::Cie*,_std::allocator<gold" (binary_expression "this->super__Vector_base<gold::Cie*,_std" (binary_expression "this->super__Vector_base<gold" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Cie" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}\n\n" (function_definition "void FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" primitive_type (function_declarator "FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,void *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" { (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "void *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pvVar1 = (void *)param_1[1];" (assignment_expression "pvVar1 = (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 = (int)param_2 - (int)__src;" (assignment_expression "__n = (int)param_2 - (int)__src" identifier = (binary_expression "(int)param_2 - (int)__src" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar2 = (int)pvVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)pvVar1 - (int)__src >> 2" identifier = (binary_expression "(int)pvVar1 - (int)__src >> 2" (binary_expression "(int)pvVar1 - (int)__src" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0017f675:\n    local_28 = uVar3 * 4;" statement_identifier : (expression_statement "local_28 = uVar3 * 4;" (assignment_expression "local_28 = uVar3 * 4" identifier = (binary_expression "uVar3 * 4" identifier * number_literal)) ;)) (labeled_statement "LAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);" statement_identifier : (expression_statement "__dest_00 = (void *)FUN_001aa8c0(local_28);" (assignment_expression "__dest_00 = (void *)FUN_001aa8c0(local_28)" identifier = (cast_expression "(void *)FUN_001aa8c0(local_28)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;)) (expression_statement "local_28 = (int)__dest_00 + local_28;" (assignment_expression "local_28 = (int)__dest_00 + local_28" identifier = (binary_expression "(int)__dest_00 + local_28" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" else (compound_statement "{\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" { (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "local_28 = -4;" (assignment_expression "local_28 = -4" identifier = number_literal) ;) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;" if (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" ( (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar3)" ( (binary_expression "0x3fffffff < uVar3" number_literal < identifier) ))) )) (goto_statement "goto LAB_0017f585;" goto statement_identifier ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__dest_00 = (void *)0x0;" (assignment_expression "__dest_00 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar3 != 0) goto LAB_0017f675;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0017f675;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)((int)__dest_00 + __n) = *param_3;" (assignment_expression "*(undefined4 *)((int)__dest_00 + __n) = *param_3" (pointer_expression "*(undefined4 *)((int)__dest_00 + __n)" * (cast_expression "(undefined4 *)((int)__dest_00 + __n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n)" ( (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" identifier = (cast_expression "(void *)((int)__dest_00 + __n + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n + 4)" ( (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" if (parenthesized_expression "(param_2 == __src)" ( (binary_expression "param_2 == __src" identifier == identifier) )) (compound_statement "{\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }" { (if_statement "if (param_2 != pvVar1) goto LAB_0017f5f7;" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (goto_statement "goto LAB_0017f5f7;" goto statement_identifier ;)) (labeled_statement "LAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;" statement_identifier : (if_statement "if (__src == (void *)0x0) goto LAB_0017f60c;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017f60c;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" else (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" { (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" identifier (argument_list "(__dest_00,__src,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (compound_statement "{\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }" { (labeled_statement "LAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" statement_identifier : (expression_statement "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2)" identifier (argument_list "(__dest,param_2,(int)pvVar1 - (int)param_2)" ( identifier , identifier , (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;)) (goto_statement "goto LAB_0017f608;" goto statement_identifier ;) })) }))) (expression_statement "FUN_001ac470(__src);" (call_expression "FUN_001ac470(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0017f60c:\n  *param_1 = __dest_00;" statement_identifier : (expression_statement "*param_1 = __dest_00;" (assignment_expression "*param_1 = __dest_00" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + ((int)pvVar1 - (int)param_2)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)pvVar1 - (int)param_2)" ( (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (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)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0017f540(undefined4 *param_1,void *param_2,undefined4 *param_3)" (identifier "FUN_0017f540") (parameter_list "(undefined4 *param_1,void *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }\n  FUN_001ac470(__src);\nLAB_0017f60c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" ({ "{") (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "void *__dest_00;" (primitive_type "void") (pointer_declarator "*__dest_00" (* "*") (identifier "__dest_00")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" (identifier "__src") (= "=") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "pvVar1 = (void *)param_1[1];" (assignment_expression "pvVar1 = (void *)param_1[1]" (identifier "pvVar1") (= "=") (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 = (int)param_2 - (int)__src;" (assignment_expression "__n = (int)param_2 - (int)__src" (identifier "__n") (= "=") (binary_expression "(int)param_2 - (int)__src" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")))) (; ";")) (expression_statement "uVar2 = (int)pvVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)pvVar1 - (int)__src >> 2" (identifier "uVar2") (= "=") (binary_expression "(int)pvVar1 - (int)__src >> 2" (binary_expression "(int)pvVar1 - (int)__src" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 1;\nLAB_0017f675:\n    local_28 = uVar3 * 4;\nLAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }" ({ "{") (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0017f675:\n    local_28 = uVar3 * 4;" (statement_identifier "LAB_0017f675") (: ":") (expression_statement "local_28 = uVar3 * 4;" (assignment_expression "local_28 = uVar3 * 4" (identifier "local_28") (= "=") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) (; ";"))) (labeled_statement "LAB_0017f585:\n    __dest_00 = (void *)FUN_001aa8c0(local_28);" (statement_identifier "LAB_0017f585") (: ":") (expression_statement "__dest_00 = (void *)FUN_001aa8c0(local_28);" (assignment_expression "__dest_00 = (void *)FUN_001aa8c0(local_28)" (identifier "__dest_00") (= "=") (cast_expression "(void *)FUN_001aa8c0(local_28)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(local_28)" (identifier "FUN_001aa8c0") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))))) (; ";"))) (expression_statement "local_28 = (int)__dest_00 + local_28;" (assignment_expression "local_28 = (int)__dest_00 + local_28" (identifier "local_28") (= "=") (binary_expression "(int)__dest_00 + local_28" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "local_28"))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" (else "else") (compound_statement "{\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_0017f675;\n  }" ({ "{") (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" (identifier "uVar3") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "local_28 = -4;" (assignment_expression "local_28 = -4" (identifier "local_28") (= "=") (number_literal "-4")) (; ";")) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;" (if "if") (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" (( "(") (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" (( "(") (binary_expression "uVar3 < uVar2" (identifier "uVar3") (< "<") (identifier "uVar2")) () ")")) (|| "||") (parenthesized_expression "(0x3fffffff < uVar3)" (( "(") (binary_expression "0x3fffffff < uVar3" (number_literal "0x3fffffff") (< "<") (identifier "uVar3")) () ")"))) () ")")) (goto_statement "goto LAB_0017f585;" (goto "goto") (statement_identifier "LAB_0017f585") (; ";"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "__dest_00 = (void *)0x0;" (assignment_expression "__dest_00 = (void *)0x0" (identifier "__dest_00") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (uVar3 != 0) goto LAB_0017f675;" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0017f675;" (goto "goto") (statement_identifier "LAB_0017f675") (; ";"))) (} "}")))) (expression_statement "*(undefined4 *)((int)__dest_00 + __n) = *param_3;" (assignment_expression "*(undefined4 *)((int)__dest_00 + __n) = *param_3" (pointer_expression "*(undefined4 *)((int)__dest_00 + __n)" (* "*") (cast_expression "(undefined4 *)((int)__dest_00 + __n)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest_00 + __n)" (( "(") (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "__n")) () ")")))) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" (identifier "__dest") (= "=") (cast_expression "(void *)((int)__dest_00 + __n + 4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest_00 + __n + 4)" (( "(") (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "__n")) (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == __src)" (( "(") (binary_expression "param_2 == __src" (identifier "param_2") (== "==") (identifier "__src")) () ")")) (compound_statement "{\n    if (param_2 != pvVar1) goto LAB_0017f5f7;\nLAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;\n  }" ({ "{") (if_statement "if (param_2 != pvVar1) goto LAB_0017f5f7;" (if "if") (parenthesized_expression "(param_2 != pvVar1)" (( "(") (binary_expression "param_2 != pvVar1" (identifier "param_2") (!= "!=") (identifier "pvVar1")) () ")")) (goto_statement "goto LAB_0017f5f7;" (goto "goto") (statement_identifier "LAB_0017f5f7") (; ";"))) (labeled_statement "LAB_0017f608:\n    if (__src == (void *)0x0) goto LAB_0017f60c;" (statement_identifier "LAB_0017f608") (: ":") (if_statement "if (__src == (void *)0x0) goto LAB_0017f60c;" (if "if") (parenthesized_expression "(__src == (void *)0x0)" (( "(") (binary_expression "__src == (void *)0x0" (identifier "__src") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0017f60c;" (goto "goto") (statement_identifier "LAB_0017f60c") (; ";")))) (} "}")) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" (else "else") (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }\n  }" ({ "{") (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" (identifier "memmove") (argument_list "(__dest_00,__src,__n)" (( "(") (identifier "__dest_00") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (if_statement "if (param_2 != pvVar1) {\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }" (if "if") (parenthesized_expression "(param_2 != pvVar1)" (( "(") (binary_expression "param_2 != pvVar1" (identifier "param_2") (!= "!=") (identifier "pvVar1")) () ")")) (compound_statement "{\nLAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_0017f608;\n    }" ({ "{") (labeled_statement "LAB_0017f5f7:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (statement_identifier "LAB_0017f5f7") (: ":") (expression_statement "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2)" (identifier "memcpy") (argument_list "(__dest,param_2,(int)pvVar1 - (int)param_2)" (( "(") (identifier "__dest") (, ",") (identifier "param_2") (, ",") (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (; ";"))) (goto_statement "goto LAB_0017f608;" (goto "goto") (statement_identifier "LAB_0017f608") (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_001ac470(__src);" (call_expression "FUN_001ac470(__src)" (identifier "FUN_001ac470") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_0017f60c:\n  *param_1 = __dest_00;" (statement_identifier "LAB_0017f60c") (: ":") (expression_statement "*param_1 = __dest_00;" (assignment_expression "*param_1 = __dest_00" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "__dest_00")) (; ";"))) (expression_statement "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)__dest + ((int)pvVar1 - (int)param_2)" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (parenthesized_expression "((int)pvVar1 - (int)param_2)" (( "(") (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")))) (; ";")) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_28")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_realloc_insert<gold::Cie* const&>
   DWARF original prototype: void
   _M_realloc_insert<gold::Cie*_const&>(vector<gold::Cie*,_std::allocator<gold::Cie*>_> * this,
   iterator __position, Cie * * __args#0) */

void __thiscall
std::vector<var_1::type_3*,var_2::allocator<var_1::type_3*>var_4>::_M_realloc_insert<var_1::type_3*_const&>
          (vector<var_1::type_3*,var_2::allocator<var_1::type_3*>var_4> *this,iterator __position,type_3 **__args_0)

{
  void *__dest;
  type_1 var_10;
  type_1 var_11;
  type_2 var_5;
  type_1 __dest_00;
  type_2 var_6;
  type_2 var_8;
  size_t var_9;
  type_1 local_28;
  
  var_10 = (this->super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*var_3>var_4>var_3)._M_impl._M_start;
  var_11 = (this->super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*var_3>var_4>var_3)._M_impl._M_finish;
  var_9 = (int)__position._M_current - (int)var_10;
  var_5 = (int)var_11 - (int)var_10 >> 2;
  if (var_5 == 0) {
    var_6 = 1;
LAB_0017f675:
    var_8 = var_6 * 4;
LAB_0017f585:
    __dest_00 = (type_1)var_7(var_8);
    local_28 = (type_1)((int)__dest_00 + var_8);
  }
  else {
    var_6 = var_5 * 2;
    var_8 = 0xfffffffc;
    if ((var_6 < var_5) || (0x3fffffff < var_6)) goto LAB_0017f585;
    local_28 = (type_1)0x0;
    __dest_00 = (type_1)0x0;
    if (var_6 != 0) goto LAB_0017f675;
  }
  *(type_3 **)((int)__dest_00 + var_9) = *__args_0;
  __dest = (void *)((int)__dest_00 + var_9 + 4);
  if (__position._M_current == var_10) {
    if (__position._M_current != var_11) goto LAB_0017f5f7;
LAB_0017f608:
    if (var_10 == (type_1)0x0) goto LAB_0017f60c;
  }
  else {
    var_12(__dest_00,var_10,var_9);
    if (__position._M_current != var_11) {
LAB_0017f5f7:
      var_13(__dest,__position._M_current,(int)var_11 - (int)__position._M_current);
      goto LAB_0017f608;
    }
  }
  var_14(var_10);
LAB_0017f60c:
  (this->super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*var_3>var_4>var_3)._M_impl._M_start = __dest_00;
  (this->super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_4>var_3)._M_impl._M_finish =
       (type_1)((int)__dest + ((int)var_11 - (int)__position._M_current));
  (this->super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_4>var_3)._M_impl._M_end_of_storage =
       local_28;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) 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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (pointer_expression argument: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (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: (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: (parenthesized_expression (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: (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(undefined4 *param_1,void *param_2,undefined4 *param_3)

{
  void *__dest;
  void *__src;
  void *pvVar1;
  uint uVar2;
  void *__dest_00;
  uint uVar3;
  size_t __n;
  int local_28;
  
  __src = (void *)*param_1;
  pvVar1 = (void *)param_1[1];
  __n = (int)param_2 - (int)__src;
  uVar2 = (int)pvVar1 - (int)__src >> 2;
  if (uVar2 == 0) {
    uVar3 = 1;
LAB_0017f675:
    local_28 = uVar3 * 4;
LAB_0017f585:
    __dest_00 = (void *)FUN_001aa8c0(local_28);
    local_28 = (int)__dest_00 + local_28;
  }
  else {
    uVar3 = uVar2 * 2;
    local_28 = -4;
    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_0017f585;
    local_28 = 0;
    __dest_00 = (void *)0x0;
    if (uVar3 != 0) goto LAB_0017f675;
  }
  *(undefined4 *)((int)__dest_00 + __n) = *param_3;
  __dest = (void *)((int)__dest_00 + __n + 4);
  if (param_2 == __src) {
    if (param_2 != pvVar1) goto LAB_0017f5f7;
LAB_0017f608:
    if (__src == (void *)0x0) goto LAB_0017f60c;
  }
  else {
    memmove(__dest_00,__src,__n);
    if (param_2 != pvVar1) {
LAB_0017f5f7:
      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);
      goto LAB_0017f608;
    }
  }
  FUN_001ac470(__src);
LAB_0017f60c:
  *param_1 = __dest_00;
  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);
  param_1[2] = local_28;
  return;
}

