
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
   * this, size_type __n) */

void __thiscall
std::
vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
::reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
          *this,size_type __n)

{
}



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

void FUN_00258b40(int *param_1,uint param_2)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int *piVar7;
  undefined4 *local_28;
  
  if (0xaaaaaaa < param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_003f3a70("vector::reserve");
  }
  iVar1 = *param_1;
  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {
    iVar2 = param_1[1];
    local_28 = (undefined4 *)0x0;
    if (param_2 != 0) {
      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);
    }
    if (iVar2 != iVar1) {
      puVar5 = (undefined4 *)(iVar1 + 8);
      puVar6 = local_28;
      do {
        *puVar6 = puVar6 + 2;
        if ((undefined4 *)puVar5[-2] == puVar5) {
          puVar6[2] = *puVar5;
          puVar6[3] = puVar5[1];
          puVar6[4] = puVar5[2];
          puVar6[5] = puVar5[3];
        }
        else {
          *puVar6 = (undefined4 *)puVar5[-2];
          puVar6[2] = *puVar5;
        }
        puVar6[1] = puVar5[-1];
        puVar5[-2] = puVar5;
        puVar4 = puVar5 + 6;
        puVar5[-1] = 0;
        *(undefined1 *)puVar5 = 0;
        puVar5 = puVar4;
        puVar6 = puVar6 + 6;
      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));
    }
    piVar3 = (int *)param_1[1];
    piVar7 = (int *)*param_1;
    if (piVar3 != piVar7) {
      do {
        if ((int *)*piVar7 != piVar7 + 2) {
          FUN_003ae080((int *)*piVar7);
        }
        piVar7 = piVar7 + 6;
      } while (piVar3 != piVar7);
      piVar7 = (int *)*param_1;
    }
    if (piVar7 != (int *)0x0) {
      FUN_003ae080(piVar7);
    }
    *param_1 = (int)local_28;
    param_1[1] = (iVar2 - iVar1) + (int)local_28;
    param_1[2] = (int)(local_28 + param_2 * 6);
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x3914b7
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x30]
CMP EAX,0xaaaaaaa
JA 0x00258c8f
MOV EBP,dword ptr [ESI]
MOV EDX,dword ptr [ESI + 0x8]
SUB EDX,EBP
SAR EDX,0x3
IMUL EDX,EDX,-0x55555555
CMP EAX,EDX
JA 0x00258b88
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [ESI + 0x4]
LEA EDX,[EAX + EAX*0x2]
MOV dword ptr [ESP + 0x4],0x0
MOV ECX,EDI
SUB ECX,EBP
MOV dword ptr [ESP + 0x8],ECX
LEA ECX,[EDX*0x8 + 0x0]
MOV dword ptr [ESP + 0xc],ECX
TEST EAX,EAX
JZ 0x00258bbd
SUB ESP,0xc
PUSH ECX
CALL 0x003ac4d0
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
CMP EDI,EBP
JZ 0x00258c30
LEA EDX,[EDI + -0x18]
LEA EAX,[EBP + 0x8]
SUB EDX,EBP
SHR EDX,0x3
IMUL EDX,EDX,0xaaaaaab
LEA EDX,[EDX + EDX*0x2]
LEA EBP,[EBP + EDX*0x8 + 0x20]
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x00258c05
MOV dword ptr [EDX],ECX
MOV ECX,dword ptr [EAX]
MOV dword ptr [EDX + 0x8],ECX
MOV ECX,dword ptr [EAX + -0x4]
ADD EDX,0x18
MOV dword ptr [EDX + -0x14],ECX
MOV dword ptr [EAX + -0x8],EAX
ADD EAX,0x18
MOV dword ptr [EAX + -0x1c],0x0
MOV byte ptr [EAX + -0x18],0x0
CMP EAX,EBP
JZ 0x00258c30
LEA EDI,[EDX + 0x8]
MOV dword ptr [EDX],EDI
MOV ECX,dword ptr [EAX + -0x8]
CMP ECX,EAX
JNZ 0x00258be0
MOV ECX,dword ptr [EAX]
MOV dword ptr [EDX + 0x8],ECX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [EDX + 0xc],ECX
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [EDX + 0x10],ECX
MOV ECX,dword ptr [EAX + 0xc]
MOV dword ptr [EDX + 0x14],ECX
JMP 0x00258be7
MOV EDI,dword ptr [ESI + 0x4]
MOV EBP,dword ptr [ESI]
CMP EDI,EBP
JZ 0x00258c5f
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP]
LEA EDX,[EBP + 0x8]
CMP EAX,EDX
JZ 0x00258c56
SUB ESP,0xc
PUSH EAX
CALL 0x003ae080
ADD ESP,0x10
ADD EBP,0x18
CMP EDI,EBP
JNZ 0x00258c40
MOV EBP,dword ptr [ESI]
TEST EBP,EBP
JZ 0x00258c6f
SUB ESP,0xc
PUSH EBP
CALL 0x003ae080
ADD ESP,0x10
MOV EBX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP + 0x8]
ADD EAX,EBX
MOV dword ptr [ESI],EBX
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0xc]
ADD EAX,EBX
MOV dword ptr [ESI + 0x8],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffe9be1a]
PUSH EAX
CALL 0x003f3a70
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00258b40(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00258b40(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00258b40(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (if_statement "if (0xaaaaaaa < param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::reserve");\n  }" if (parenthesized_expression "(0xaaaaaaa < param_2)" ( (binary_expression "0xaaaaaaa < param_2" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::reserve");\n  }" { comment (expression_statement "FUN_003f3a70("vector::reserve");" (call_expression "FUN_003f3a70("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }" if (parenthesized_expression "((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2)" ( (binary_expression "(uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2" (call_expression "(uint)((param_1[2] - iVar1 >> 3) * -0x55555555)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_1[2] - iVar1 >> 3) * -0x55555555)" ( (binary_expression "(param_1[2] - iVar1 >> 3) * -0x55555555" (parenthesized_expression "(param_1[2] - iVar1 >> 3)" ( (binary_expression "param_1[2] - iVar1 >> 3" (binary_expression "param_1[2] - iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) - identifier) >> number_literal) )) * number_literal) ))) < identifier) )) (compound_statement "{\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }" { (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_28 = (undefined4 *)0x0;" (assignment_expression "local_28 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }" { (expression_statement "local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);" (assignment_expression "local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)FUN_003ac4d0(param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(param_2 * 0x18)" identifier (argument_list "(param_2 * 0x18)" ( (binary_expression "param_2 * 0x18" identifier * number_literal) ))))) ;) })) (if_statement "if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }" if (parenthesized_expression "(iVar2 != iVar1)" ( (binary_expression "iVar2 != iVar1" identifier != identifier) )) (compound_statement "{\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }" { (expression_statement "puVar5 = (undefined4 *)(iVar1 + 8);" (assignment_expression "puVar5 = (undefined4 *)(iVar1 + 8)" identifier = (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar6 = local_28;" (assignment_expression "puVar6 = local_28" identifier = identifier) ;) (do_statement "do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));" do (compound_statement "{\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      }" { (expression_statement "*puVar6 = puVar6 + 2;" (assignment_expression "*puVar6 = puVar6 + 2" (pointer_expression "*puVar6" * identifier) = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (if_statement "if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" if (parenthesized_expression "((undefined4 *)puVar5[-2] == puVar5)" ( (binary_expression "(undefined4 *)puVar5[-2] == puVar5" (cast_expression "(undefined4 *)puVar5[-2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[-2]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }" { (expression_statement "puVar6[2] = *puVar5;" (assignment_expression "puVar6[2] = *puVar5" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar6[3] = puVar5[1];" (assignment_expression "puVar6[3] = puVar5[1]" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[4] = puVar5[2];" (assignment_expression "puVar6[4] = puVar5[2]" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[5] = puVar5[3];" (assignment_expression "puVar6[5] = puVar5[3]" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" else (compound_statement "{\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" { (expression_statement "*puVar6 = (undefined4 *)puVar5[-2];" (assignment_expression "*puVar6 = (undefined4 *)puVar5[-2]" (pointer_expression "*puVar6" * identifier) = (cast_expression "(undefined4 *)puVar5[-2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[-2]" identifier [ number_literal ]))) ;) (expression_statement "puVar6[2] = *puVar5;" (assignment_expression "puVar6[2] = *puVar5" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (pointer_expression "*puVar5" * identifier)) ;) }))) (expression_statement "puVar6[1] = puVar5[-1];" (assignment_expression "puVar6[1] = puVar5[-1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[-2] = puVar5;" (assignment_expression "puVar5[-2] = puVar5" (subscript_expression "puVar5[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar5 + 6;" (assignment_expression "puVar4 = puVar5 + 6" identifier = (binary_expression "puVar5 + 6" identifier + number_literal)) ;) (expression_statement "puVar5[-1] = 0;" (assignment_expression "puVar5[-1] = 0" (subscript_expression "puVar5[-1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)puVar5 = 0;" (assignment_expression "*(undefined1 *)puVar5 = 0" (pointer_expression "*(undefined1 *)puVar5" * (cast_expression "(undefined1 *)puVar5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 6;" (assignment_expression "puVar6 = puVar6 + 6" identifier = (binary_expression "puVar6 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)))" ( (binary_expression "puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" identifier != (cast_expression "(undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" ( (binary_expression "iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)" (binary_expression "iVar1 + 0x20" identifier + number_literal) + (parenthesized_expression "((iVar2 + -0x18) - iVar1 & 0xfffffff8U)" ( (binary_expression "(iVar2 + -0x18) - iVar1 & 0xfffffff8U" (binary_expression "(iVar2 + -0x18) - iVar1" (parenthesized_expression "(iVar2 + -0x18)" ( (binary_expression "iVar2 + -0x18" identifier + number_literal) )) - identifier) & number_literal) ))) )))) )) ;) })) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }" if (parenthesized_expression "(piVar3 != piVar7)" ( (binary_expression "piVar3 != piVar7" identifier != identifier) )) (compound_statement "{\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }" { (do_statement "do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);" do (compound_statement "{\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      }" { (if_statement "if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }" if (parenthesized_expression "((int *)*piVar7 != piVar7 + 2)" ( (binary_expression "(int *)*piVar7 != piVar7 + 2" (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier)) != (binary_expression "piVar7 + 2" identifier + number_literal)) )) (compound_statement "{\n          FUN_003ae080((int *)*piVar7);\n        }" { (expression_statement "FUN_003ae080((int *)*piVar7);" (call_expression "FUN_003ae080((int *)*piVar7)" identifier (argument_list "((int *)*piVar7)" ( (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier)) ))) ;) })) (expression_statement "piVar7 = piVar7 + 6;" (assignment_expression "piVar7 = piVar7 + 6" identifier = (binary_expression "piVar7 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar3 != piVar7)" ( (binary_expression "piVar3 != piVar7" identifier != identifier) )) ;) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (if_statement "if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_003ae080(piVar7);\n    }" { (expression_statement "FUN_003ae080(piVar7);" (call_expression "FUN_003ae080(piVar7)" identifier (argument_list "(piVar7)" ( identifier ))) ;) })) (expression_statement "*param_1 = (int)local_28;" (assignment_expression "*param_1 = (int)local_28" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (iVar2 - iVar1) + (int)local_28;" (assignment_expression "param_1[1] = (iVar2 - iVar1) + (int)local_28" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(iVar2 - iVar1) + (int)local_28" (parenthesized_expression "(iVar2 - iVar1)" ( (binary_expression "iVar2 - iVar1" identifier - identifier) )) + (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "param_1[2] = (int)(local_28 + param_2 * 6);" (assignment_expression "param_1[2] = (int)(local_28 + param_2 * 6)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)(local_28 + param_2 * 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_28 + param_2 * 6)" ( (binary_expression "local_28 + param_2 * 6" identifier + (binary_expression "param_2 * 6" identifier * number_literal)) )))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void\n   reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n   * this, size_type __n) */\n\nvoid __thiscall\nstd::\nvector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n::reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *this,size_type __n)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nstd::\nvector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n::reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *this,size_type __n)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\nvector<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_>_>\n::" identifier : : identifier < primitive_type > identifier > identifier > identifier > : :) (function_declarator "reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *this,size_type __n)" identifier (parameter_list "(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *this,size_type __n)" ( (parameter_declaration "vector<std::__cxx11::basic_string" type_identifier (ERROR "<std::__cxx11::" < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_>_>\n          *this" type_identifier (ERROR "::allocator<char>_>_>_>" : : identifier < primitive_type > identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "size_type __n" type_identifier identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00258b40(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00258b40(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00258b40(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (if_statement "if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }" if (parenthesized_expression "(0xaaaaaaa < param_2)" ( (binary_expression "0xaaaaaaa < param_2" number_literal < identifier) )) (compound_statement "{\n                    \n    FUN_003f3a70("vector::reserve");\n  }" { (expression_statement "FUN_003f3a70("vector::reserve");" (call_expression "FUN_003f3a70("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }" if (parenthesized_expression "((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2)" ( (binary_expression "(uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2" (call_expression "(uint)((param_1[2] - iVar1 >> 3) * -0x55555555)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_1[2] - iVar1 >> 3) * -0x55555555)" ( (binary_expression "(param_1[2] - iVar1 >> 3) * -0x55555555" (parenthesized_expression "(param_1[2] - iVar1 >> 3)" ( (binary_expression "param_1[2] - iVar1 >> 3" (binary_expression "param_1[2] - iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) - identifier) >> number_literal) )) * number_literal) ))) < identifier) )) (compound_statement "{\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }" { (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_28 = (undefined4 *)0x0;" (assignment_expression "local_28 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }" { (expression_statement "local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);" (assignment_expression "local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)FUN_003ac4d0(param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(param_2 * 0x18)" identifier (argument_list "(param_2 * 0x18)" ( (binary_expression "param_2 * 0x18" identifier * number_literal) ))))) ;) })) (if_statement "if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }" if (parenthesized_expression "(iVar2 != iVar1)" ( (binary_expression "iVar2 != iVar1" identifier != identifier) )) (compound_statement "{\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }" { (expression_statement "puVar5 = (undefined4 *)(iVar1 + 8);" (assignment_expression "puVar5 = (undefined4 *)(iVar1 + 8)" identifier = (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar6 = local_28;" (assignment_expression "puVar6 = local_28" identifier = identifier) ;) (do_statement "do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));" do (compound_statement "{\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      }" { (expression_statement "*puVar6 = puVar6 + 2;" (assignment_expression "*puVar6 = puVar6 + 2" (pointer_expression "*puVar6" * identifier) = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (if_statement "if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" if (parenthesized_expression "((undefined4 *)puVar5[-2] == puVar5)" ( (binary_expression "(undefined4 *)puVar5[-2] == puVar5" (cast_expression "(undefined4 *)puVar5[-2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[-2]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }" { (expression_statement "puVar6[2] = *puVar5;" (assignment_expression "puVar6[2] = *puVar5" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar6[3] = puVar5[1];" (assignment_expression "puVar6[3] = puVar5[1]" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[4] = puVar5[2];" (assignment_expression "puVar6[4] = puVar5[2]" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[5] = puVar5[3];" (assignment_expression "puVar6[5] = puVar5[3]" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" else (compound_statement "{\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" { (expression_statement "*puVar6 = (undefined4 *)puVar5[-2];" (assignment_expression "*puVar6 = (undefined4 *)puVar5[-2]" (pointer_expression "*puVar6" * identifier) = (cast_expression "(undefined4 *)puVar5[-2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[-2]" identifier [ number_literal ]))) ;) (expression_statement "puVar6[2] = *puVar5;" (assignment_expression "puVar6[2] = *puVar5" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (pointer_expression "*puVar5" * identifier)) ;) }))) (expression_statement "puVar6[1] = puVar5[-1];" (assignment_expression "puVar6[1] = puVar5[-1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[-2] = puVar5;" (assignment_expression "puVar5[-2] = puVar5" (subscript_expression "puVar5[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar5 + 6;" (assignment_expression "puVar4 = puVar5 + 6" identifier = (binary_expression "puVar5 + 6" identifier + number_literal)) ;) (expression_statement "puVar5[-1] = 0;" (assignment_expression "puVar5[-1] = 0" (subscript_expression "puVar5[-1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)puVar5 = 0;" (assignment_expression "*(undefined1 *)puVar5 = 0" (pointer_expression "*(undefined1 *)puVar5" * (cast_expression "(undefined1 *)puVar5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 6;" (assignment_expression "puVar6 = puVar6 + 6" identifier = (binary_expression "puVar6 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)))" ( (binary_expression "puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" identifier != (cast_expression "(undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" ( (binary_expression "iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)" (binary_expression "iVar1 + 0x20" identifier + number_literal) + (parenthesized_expression "((iVar2 + -0x18) - iVar1 & 0xfffffff8U)" ( (binary_expression "(iVar2 + -0x18) - iVar1 & 0xfffffff8U" (binary_expression "(iVar2 + -0x18) - iVar1" (parenthesized_expression "(iVar2 + -0x18)" ( (binary_expression "iVar2 + -0x18" identifier + number_literal) )) - identifier) & number_literal) ))) )))) )) ;) })) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }" if (parenthesized_expression "(piVar3 != piVar7)" ( (binary_expression "piVar3 != piVar7" identifier != identifier) )) (compound_statement "{\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }" { (do_statement "do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);" do (compound_statement "{\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      }" { (if_statement "if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }" if (parenthesized_expression "((int *)*piVar7 != piVar7 + 2)" ( (binary_expression "(int *)*piVar7 != piVar7 + 2" (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier)) != (binary_expression "piVar7 + 2" identifier + number_literal)) )) (compound_statement "{\n          FUN_003ae080((int *)*piVar7);\n        }" { (expression_statement "FUN_003ae080((int *)*piVar7);" (call_expression "FUN_003ae080((int *)*piVar7)" identifier (argument_list "((int *)*piVar7)" ( (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier)) ))) ;) })) (expression_statement "piVar7 = piVar7 + 6;" (assignment_expression "piVar7 = piVar7 + 6" identifier = (binary_expression "piVar7 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar3 != piVar7)" ( (binary_expression "piVar3 != piVar7" identifier != identifier) )) ;) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (if_statement "if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_003ae080(piVar7);\n    }" { (expression_statement "FUN_003ae080(piVar7);" (call_expression "FUN_003ae080(piVar7)" identifier (argument_list "(piVar7)" ( identifier ))) ;) })) (expression_statement "*param_1 = (int)local_28;" (assignment_expression "*param_1 = (int)local_28" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (iVar2 - iVar1) + (int)local_28;" (assignment_expression "param_1[1] = (iVar2 - iVar1) + (int)local_28" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(iVar2 - iVar1) + (int)local_28" (parenthesized_expression "(iVar2 - iVar1)" ( (binary_expression "iVar2 - iVar1" identifier - identifier) )) + (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "param_1[2] = (int)(local_28 + param_2 * 6);" (assignment_expression "param_1[2] = (int)(local_28 + param_2 * 6)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)(local_28 + param_2 * 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_28 + param_2 * 6)" ( (binary_expression "local_28 + param_2 * 6" identifier + (binary_expression "param_2 * 6" identifier * number_literal)) )))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT) >> LIT) )) * LIT) ))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) & LIT) ))) )))) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00258b40(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00258b40(int *param_1,uint param_2)" (identifier "FUN_00258b40") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  undefined4 *local_28;\n  \n  if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }\n  iVar1 = *param_1;\n  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 *local_28;" (type_identifier "undefined4") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (if_statement "if (0xaaaaaaa < param_2) {\n                    \n    FUN_003f3a70("vector::reserve");\n  }" (if "if") (parenthesized_expression "(0xaaaaaaa < param_2)" (( "(") (binary_expression "0xaaaaaaa < param_2" (number_literal "0xaaaaaaa") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_003f3a70("vector::reserve");\n  }" ({ "{") (expression_statement "FUN_003f3a70("vector::reserve");" (call_expression "FUN_003f3a70("vector::reserve")" (identifier "FUN_003f3a70") (argument_list "("vector::reserve")" (( "(") (string_literal ""vector::reserve"" (" """) (string_content "vector::reserve") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }" (if "if") (parenthesized_expression "((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2)" (( "(") (binary_expression "(uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2" (call_expression "(uint)((param_1[2] - iVar1 >> 3) * -0x55555555)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((param_1[2] - iVar1 >> 3) * -0x55555555)" (( "(") (binary_expression "(param_1[2] - iVar1 >> 3) * -0x55555555" (parenthesized_expression "(param_1[2] - iVar1 >> 3)" (( "(") (binary_expression "param_1[2] - iVar1 >> 3" (binary_expression "param_1[2] - iVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (identifier "iVar1")) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x55555555")) () ")"))) (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    iVar2 = param_1[1];\n    local_28 = (undefined4 *)0x0;\n    if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }\n    if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }\n    piVar3 = (int *)param_1[1];\n    piVar7 = (int *)*param_1;\n    if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }\n    if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }\n    *param_1 = (int)local_28;\n    param_1[1] = (iVar2 - iVar1) + (int)local_28;\n    param_1[2] = (int)(local_28 + param_2 * 6);\n    return;\n  }" ({ "{") (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_28 = (undefined4 *)0x0;" (assignment_expression "local_28 = (undefined4 *)0x0" (identifier "local_28") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (param_2 != 0) {\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);\n    }" ({ "{") (expression_statement "local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);" (assignment_expression "local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18)" (identifier "local_28") (= "=") (cast_expression "(undefined4 *)FUN_003ac4d0(param_2 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(param_2 * 0x18)" (identifier "FUN_003ac4d0") (argument_list "(param_2 * 0x18)" (( "(") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (iVar2 != iVar1) {\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }" (if "if") (parenthesized_expression "(iVar2 != iVar1)" (( "(") (binary_expression "iVar2 != iVar1" (identifier "iVar2") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n      puVar5 = (undefined4 *)(iVar1 + 8);\n      puVar6 = local_28;\n      do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));\n    }" ({ "{") (expression_statement "puVar5 = (undefined4 *)(iVar1 + 8);" (assignment_expression "puVar5 = (undefined4 *)(iVar1 + 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "puVar6 = local_28;" (assignment_expression "puVar6 = local_28" (identifier "puVar6") (= "=") (identifier "local_28")) (; ";")) (do_statement "do {\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));" (do "do") (compound_statement "{\n        *puVar6 = puVar6 + 2;\n        if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }\n        puVar6[1] = puVar5[-1];\n        puVar5[-2] = puVar5;\n        puVar4 = puVar5 + 6;\n        puVar5[-1] = 0;\n        *(undefined1 *)puVar5 = 0;\n        puVar5 = puVar4;\n        puVar6 = puVar6 + 6;\n      }" ({ "{") (expression_statement "*puVar6 = puVar6 + 2;" (assignment_expression "*puVar6 = puVar6 + 2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((undefined4 *)puVar5[-2] == puVar5) {\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }\n        else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" (if "if") (parenthesized_expression "((undefined4 *)puVar5[-2] == puVar5)" (( "(") (binary_expression "(undefined4 *)puVar5[-2] == puVar5" (cast_expression "(undefined4 *)puVar5[-2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[-2]" (identifier "puVar5") ([ "[") (number_literal "-2") (] "]"))) (== "==") (identifier "puVar5")) () ")")) (compound_statement "{\n          puVar6[2] = *puVar5;\n          puVar6[3] = puVar5[1];\n          puVar6[4] = puVar5[2];\n          puVar6[5] = puVar5[3];\n        }" ({ "{") (expression_statement "puVar6[2] = *puVar5;" (assignment_expression "puVar6[2] = *puVar5" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar6[3] = puVar5[1];" (assignment_expression "puVar6[3] = puVar5[1]" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6[4] = puVar5[2];" (assignment_expression "puVar6[4] = puVar5[2]" (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar6[5] = puVar5[3];" (assignment_expression "puVar6[5] = puVar5[3]" (subscript_expression "puVar6[5]" (identifier "puVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" (else "else") (compound_statement "{\n          *puVar6 = (undefined4 *)puVar5[-2];\n          puVar6[2] = *puVar5;\n        }" ({ "{") (expression_statement "*puVar6 = (undefined4 *)puVar5[-2];" (assignment_expression "*puVar6 = (undefined4 *)puVar5[-2]" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (cast_expression "(undefined4 *)puVar5[-2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[-2]" (identifier "puVar5") ([ "[") (number_literal "-2") (] "]")))) (; ";")) (expression_statement "puVar6[2] = *puVar5;" (assignment_expression "puVar6[2] = *puVar5" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}")))) (expression_statement "puVar6[1] = puVar5[-1];" (assignment_expression "puVar6[1] = puVar5[-1]" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar5[-1]" (identifier "puVar5") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "puVar5[-2] = puVar5;" (assignment_expression "puVar5[-2] = puVar5" (subscript_expression "puVar5[-2]" (identifier "puVar5") ([ "[") (number_literal "-2") (] "]")) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar4 = puVar5 + 6;" (assignment_expression "puVar4 = puVar5 + 6" (identifier "puVar4") (= "=") (binary_expression "puVar5 + 6" (identifier "puVar5") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "puVar5[-1] = 0;" (assignment_expression "puVar5[-1] = 0" (subscript_expression "puVar5[-1]" (identifier "puVar5") ([ "[") (number_literal "-1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)puVar5 = 0;" (assignment_expression "*(undefined1 *)puVar5 = 0" (pointer_expression "*(undefined1 *)puVar5" (* "*") (cast_expression "(undefined1 *)puVar5" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar6 = puVar6 + 6;" (assignment_expression "puVar6 = puVar6 + 6" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 6" (identifier "puVar6") (+ "+") (number_literal "6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)))" (( "(") (binary_expression "puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U))" (( "(") (binary_expression "iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)" (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) (+ "+") (parenthesized_expression "((iVar2 + -0x18) - iVar1 & 0xfffffff8U)" (( "(") (binary_expression "(iVar2 + -0x18) - iVar1 & 0xfffffff8U" (binary_expression "(iVar2 + -0x18) - iVar1" (parenthesized_expression "(iVar2 + -0x18)" (( "(") (binary_expression "iVar2 + -0x18" (identifier "iVar2") (+ "+") (number_literal "-0x18")) () ")")) (- "-") (identifier "iVar1")) (& "&") (number_literal "0xfffffff8U")) () ")"))) () ")")))) () ")")) (; ";")) (} "}"))) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" (identifier "piVar3") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" (identifier "piVar7") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (piVar3 != piVar7) {\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }" (if "if") (parenthesized_expression "(piVar3 != piVar7)" (( "(") (binary_expression "piVar3 != piVar7" (identifier "piVar3") (!= "!=") (identifier "piVar7")) () ")")) (compound_statement "{\n      do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);\n      piVar7 = (int *)*param_1;\n    }" ({ "{") (do_statement "do {\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      } while (piVar3 != piVar7);" (do "do") (compound_statement "{\n        if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }\n        piVar7 = piVar7 + 6;\n      }" ({ "{") (if_statement "if ((int *)*piVar7 != piVar7 + 2) {\n          FUN_003ae080((int *)*piVar7);\n        }" (if "if") (parenthesized_expression "((int *)*piVar7 != piVar7 + 2)" (( "(") (binary_expression "(int *)*piVar7 != piVar7 + 2" (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (!= "!=") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n          FUN_003ae080((int *)*piVar7);\n        }" ({ "{") (expression_statement "FUN_003ae080((int *)*piVar7);" (call_expression "FUN_003ae080((int *)*piVar7)" (identifier "FUN_003ae080") (argument_list "((int *)*piVar7)" (( "(") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar7 = piVar7 + 6;" (assignment_expression "piVar7 = piVar7 + 6" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 6" (identifier "piVar7") (+ "+") (number_literal "6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar3 != piVar7)" (( "(") (binary_expression "piVar3 != piVar7" (identifier "piVar3") (!= "!=") (identifier "piVar7")) () ")")) (; ";")) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" (identifier "piVar7") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (if_statement "if (piVar7 != (int *)0x0) {\n      FUN_003ae080(piVar7);\n    }" (if "if") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_003ae080(piVar7);\n    }" ({ "{") (expression_statement "FUN_003ae080(piVar7);" (call_expression "FUN_003ae080(piVar7)" (identifier "FUN_003ae080") (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = (int)local_28;" (assignment_expression "*param_1 = (int)local_28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28"))) (; ";")) (expression_statement "param_1[1] = (iVar2 - iVar1) + (int)local_28;" (assignment_expression "param_1[1] = (iVar2 - iVar1) + (int)local_28" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(iVar2 - iVar1) + (int)local_28" (parenthesized_expression "(iVar2 - iVar1)" (( "(") (binary_expression "iVar2 - iVar1" (identifier "iVar2") (- "-") (identifier "iVar1")) () ")")) (+ "+") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28")))) (; ";")) (expression_statement "param_1[2] = (int)(local_28 + param_2 * 6);" (assignment_expression "param_1[2] = (int)(local_28 + param_2 * 6)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)(local_28 + param_2 * 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_28 + param_2 * 6)" (( "(") (binary_expression "local_28 + param_2 * 6" (identifier "local_28") (+ "+") (binary_expression "param_2 * 6" (identifier "param_2") (* "*") (number_literal "6"))) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
   * this, size_type __n) */

void __thiscall
std::
vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
::reserve(vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
          *this,size_type __n)

{
}


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

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

void MASKED(int *param_1,uint param_2)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int *piVar7;
  undefined4 *local_28;
  
  if (0xaaaaaaa < param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_003f3a70("vector::reserve");
  }
  iVar1 = *param_1;
  if ((uint)((param_1[2] - iVar1 >> 3) * -0x55555555) < param_2) {
    iVar2 = param_1[1];
    local_28 = (undefined4 *)0x0;
    if (param_2 != 0) {
      local_28 = (undefined4 *)FUN_003ac4d0(param_2 * 0x18);
    }
    if (iVar2 != iVar1) {
      puVar5 = (undefined4 *)(iVar1 + 8);
      puVar6 = local_28;
      do {
        *puVar6 = puVar6 + 2;
        if ((undefined4 *)puVar5[-2] == puVar5) {
          puVar6[2] = *puVar5;
          puVar6[3] = puVar5[1];
          puVar6[4] = puVar5[2];
          puVar6[5] = puVar5[3];
        }
        else {
          *puVar6 = (undefined4 *)puVar5[-2];
          puVar6[2] = *puVar5;
        }
        puVar6[1] = puVar5[-1];
        puVar5[-2] = puVar5;
        puVar4 = puVar5 + 6;
        puVar5[-1] = 0;
        *(undefined1 *)puVar5 = 0;
        puVar5 = puVar4;
        puVar6 = puVar6 + 6;
      } while (puVar4 != (undefined4 *)(iVar1 + 0x20 + ((iVar2 + -0x18) - iVar1 & 0xfffffff8U)));
    }
    piVar3 = (int *)param_1[1];
    piVar7 = (int *)*param_1;
    if (piVar3 != piVar7) {
      do {
        if ((int *)*piVar7 != piVar7 + 2) {
          FUN_003ae080((int *)*piVar7);
        }
        piVar7 = piVar7 + 6;
      } while (piVar3 != piVar7);
      piVar7 = (int *)*param_1;
    }
    if (piVar7 != (int *)0x0) {
      FUN_003ae080(piVar7);
    }
    *param_1 = (int)local_28;
    param_1[1] = (iVar2 - iVar1) + (int)local_28;
    param_1[2] = (int)(local_28 + param_2 * 6);
    return;
  }
  return;
}

