
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void
   _M_realloc_insert<gold::Plugin_manager::Rescannable>(vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
   * this, iterator __position, Rescannable * __args#0) */

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

{
  pointer pRVar1;
  pointer pRVar2;
  undefined4 uVar3;
  anon_union_4_2_94b67ca9_for_u aVar4;
  undefined3 uVar5;
  uint uVar6;
  pointer pRVar7;
  pointer pRVar8;
  iterator iVar9;
  uint uVar10;
  pointer pRVar11;
  pointer pRVar12;
  uint uVar13;
  pointer local_28;
  
  pRVar1 = (this->
           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
           )._M_impl._M_finish;
  pRVar2 = (this->
           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
           )._M_impl._M_start;
  uVar6 = (int)pRVar1 - (int)pRVar2 >> 3;
  if (uVar6 == 0) {
    uVar13 = 1;
LAB_000f4335:
    uVar10 = uVar13 * 8;
  }
  else {
    uVar13 = uVar6 * 2;
    uVar10 = 0xfffffff8;
    if ((uVar6 <= uVar13) && (uVar13 < 0x20000000)) {
      if (uVar13 == 0) {
        pRVar12 = (pointer)&DAT_00000008;
        local_28 = (pointer)0x0;
        pRVar7 = (pointer)0x0;
        goto LAB_000f422a;
      }
      goto LAB_000f4335;
    }
  }
  pRVar7 = (pointer)operator_new(uVar10);
  local_28 = (pointer)(&pRVar7->is_archive + uVar10);
  pRVar12 = pRVar7 + 1;
LAB_000f422a:
  uVar3 = *(undefined4 *)__args_0;
  *(anon_union_4_2_94b67ca9_for_u *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4) =
       __args_0->u;
  *(undefined4 *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2)) = uVar3;
  pRVar8 = pRVar7;
  pRVar11 = pRVar2;
  if (__position._M_current != pRVar2) {
    do {
      uVar5 = *(undefined3 *)&pRVar11->field_0x1;
      aVar4 = pRVar11->u;
      pRVar12 = pRVar11 + 1;
      pRVar8->is_archive = pRVar11->is_archive;
      *(undefined3 *)&pRVar8->field_0x1 = uVar5;
      pRVar8->u = aVar4;
      pRVar8 = pRVar8 + 1;
      pRVar11 = pRVar12;
    } while (__position._M_current != pRVar12);
    pRVar12 = (pointer)(&pRVar7[2].is_archive +
                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8));
  }
  iVar9._M_current = __position._M_current;
  pRVar8 = pRVar12;
  if (__position._M_current != pRVar1) {
    do {
      uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;
      aVar4 = (iVar9._M_current)->u;
      pRVar11 = iVar9._M_current + 1;
      pRVar8->is_archive = (iVar9._M_current)->is_archive;
      *(undefined3 *)&pRVar8->field_0x1 = uVar5;
      pRVar8->u = aVar4;
      iVar9._M_current = pRVar11;
      pRVar8 = pRVar8 + 1;
    } while (pRVar1 != pRVar11);
    pRVar12 = (pointer)(&pRVar12[1].is_archive +
                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8));
  }
  if (pRVar2 != (pointer)0x0) {
    operator_delete(pRVar2);
  }
  (this->
  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
  )._M_impl._M_start = pRVar7;
  (this->
  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
  )._M_impl._M_finish = pRVar12;
  (this->
  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
  )._M_impl._M_end_of_storage = local_28;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  uint uVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  undefined4 *puVar9;
  uint uVar10;
  int local_28;
  
  puVar1 = (undefined4 *)param_1[1];
  puVar2 = (undefined4 *)*param_1;
  uVar4 = (int)puVar1 - (int)puVar2 >> 3;
  if (uVar4 == 0) {
    uVar10 = 1;
LAB_000f4335:
    local_28 = uVar10 * 8;
  }
  else {
    uVar10 = uVar4 * 2;
    local_28 = -8;
    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {
      if (uVar10 == 0) {
        puVar9 = (undefined4 *)&DAT_00000008;
        local_28 = 0;
        puVar5 = (undefined4 *)0x0;
        goto LAB_000f422a;
      }
      goto LAB_000f4335;
    }
  }
  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);
  local_28 = (int)puVar5 + local_28;
  puVar9 = puVar5 + 2;
LAB_000f422a:
  uVar3 = *param_3;
  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];
  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;
  puVar6 = puVar5;
  puVar8 = puVar2;
  if (param_2 != puVar2) {
    do {
      uVar3 = puVar8[1];
      puVar9 = puVar8 + 2;
      *puVar6 = *puVar8;
      puVar6[1] = uVar3;
      puVar6 = puVar6 + 2;
      puVar8 = puVar9;
    } while (param_2 != puVar9);
    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);
  }
  puVar6 = param_2;
  puVar8 = puVar9;
  if (param_2 != puVar1) {
    do {
      uVar3 = puVar6[1];
      puVar7 = puVar6 + 2;
      *puVar8 = *puVar6;
      puVar8[1] = uVar3;
      puVar6 = puVar7;
      puVar8 = puVar8 + 2;
    } while (puVar1 != puVar7);
    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);
  }
  if (puVar2 != (undefined4 *)0x0) {
    FUN_001807a0(puVar2);
  }
  *param_1 = (int)puVar5;
  param_1[1] = (int)puVar9;
  param_1[2] = local_28;
  return;
}


CALL 0x0004fb76
ADD EAX,0x20de3b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x34]
MOV EDI,dword ptr [EAX + 0x4]
MOV EBP,dword ptr [EAX]
MOV EAX,EDI
SUB ECX,EBP
SUB EAX,EBP
SAR EAX,0x3
JZ 0x000f4330
LEA EBX,[EAX + EAX*0x1]
MOV EDX,0xfffffff8
CMP EAX,EBX
JBE 0x000f4308
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0xc
PUSH EDX
MOV EBX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x14],EDX
CALL 0x0017ebf0
MOV EDX,dword ptr [ESP + 0x14]
LEA ESI,[EAX + EDX*0x1]
LEA EDX,[EAX + 0x8]
MOV dword ptr [ESP + 0x14],ESI
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
MOV EBX,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [EBX + 0x4]
MOV EBX,dword ptr [EBX]
MOV dword ptr [EAX + ECX*0x1 + 0x4],ESI
MOV dword ptr [EAX + ECX*0x1],EBX
CMP dword ptr [ESP + 0x34],EBP
JZ 0x000f427b
MOV dword ptr [ESP + 0x8],EDI
MOV ESI,dword ptr [ESP + 0x34]
MOV EDX,EBP
MOV ECX,EAX
MOV EBX,EBP
NOP
MOV EDI,dword ptr [EDX]
MOV EBP,dword ptr [EDX + 0x4]
ADD EDX,0x8
ADD ECX,0x8
MOV dword ptr [ECX + -0x8],EDI
MOV dword ptr [ECX + -0x4],EBP
CMP ESI,EDX
JNZ 0x000f4250
LEA EDX,[ESI + -0x8]
MOV dword ptr [ESP + 0x34],ESI
MOV EDI,dword ptr [ESP + 0x8]
MOV EBP,EBX
SUB EDX,EBX
SHR EDX,0x3
LEA EDX,[EAX + EDX*0x8 + 0x10]
CMP dword ptr [ESP + 0x34],EDI
JZ 0x000f42c5
MOV ECX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x8],EAX
MOV EBX,EDX
MOV dword ptr [ESP + 0xc],EDX
MOV ESI,ECX
LEA ESI,[ESI]
MOV EAX,dword ptr [ECX]
MOV EDX,dword ptr [ECX + 0x4]
ADD ECX,0x8
ADD EBX,0x8
MOV dword ptr [EBX + -0x8],EAX
MOV dword ptr [EBX + -0x4],EDX
CMP EDI,ECX
JNZ 0x000f4298
SUB EDI,ESI
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x34],ESI
LEA ECX,[EDI + -0x8]
SHR ECX,0x3
LEA EDX,[EDX + ECX*0x8 + 0x8]
TEST EBP,EBP
JZ 0x000f42e9
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],EAX
PUSH EBP
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x001807a0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x30]
MOV dword ptr [ESI],EAX
MOV EAX,ESI
MOV dword ptr [ESI + 0x4],EDX
MOV ESI,dword ptr [ESP + 0x4]
MOV dword ptr [EAX + 0x8],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EBX,0x1fffffff
JA 0x000f4200
TEST EBX,EBX
JNZ 0x000f4335
MOV EDX,0x8
MOV dword ptr [ESP + 0x4],0x0
XOR EAX,EAX
JMP 0x000f422a
MOV EBX,0x1
LEA EDX,[EBX*0x8 + 0x0]
JMP 0x000f4200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}\n\n" comment (function_definition "void FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}" primitive_type (function_declarator "FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)param_1[1];" (assignment_expression "puVar1 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar2 = (undefined4 *)*param_1;" (assignment_expression "puVar2 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar4 = (int)puVar1 - (int)puVar2 >> 3;" (assignment_expression "uVar4 = (int)puVar1 - (int)puVar2 >> 3" identifier = (binary_expression "(int)puVar1 - (int)puVar2 >> 3" (binary_expression "(int)puVar1 - (int)puVar2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }" { (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000f4335:\n    local_28 = uVar10 * 8;" statement_identifier : (expression_statement "local_28 = uVar10 * 8;" (assignment_expression "local_28 = uVar10 * 8" identifier = (binary_expression "uVar10 * 8" identifier * number_literal)) ;)) }) (else_clause "else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" else (compound_statement "{\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" { (expression_statement "uVar10 = uVar4 * 2;" (assignment_expression "uVar10 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (expression_statement "local_28 = -8;" (assignment_expression "local_28 = -8" identifier = number_literal) ;) (if_statement "if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" if (parenthesized_expression "((uVar4 <= uVar10) && (uVar10 < 0x20000000))" ( (binary_expression "(uVar4 <= uVar10) && (uVar10 < 0x20000000)" (parenthesized_expression "(uVar4 <= uVar10)" ( (binary_expression "uVar4 <= uVar10" identifier <= identifier) )) && (parenthesized_expression "(uVar10 < 0x20000000)" ( (binary_expression "uVar10 < 0x20000000" identifier < number_literal) ))) )) (compound_statement "{\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" { (if_statement "if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }" { (expression_statement "puVar9 = (undefined4 *)&DAT_00000008;" (assignment_expression "puVar9 = (undefined4 *)&DAT_00000008" identifier = (cast_expression "(undefined4 *)&DAT_00000008" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000008" & identifier))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)0x0;" (assignment_expression "puVar5 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000f422a;" goto statement_identifier ;) })) (goto_statement "goto LAB_000f4335;" goto statement_identifier ;) })) }))) (expression_statement "puVar5 = (undefined4 *)FUN_0017ebf0(local_28);" (assignment_expression "puVar5 = (undefined4 *)FUN_0017ebf0(local_28)" identifier = (cast_expression "(undefined4 *)FUN_0017ebf0(local_28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;) (expression_statement "local_28 = (int)puVar5 + local_28;" (assignment_expression "local_28 = (int)puVar5 + local_28" identifier = (binary_expression "(int)puVar5 + local_28" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "puVar9 = puVar5 + 2;" (assignment_expression "puVar9 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) (labeled_statement "LAB_000f422a:\n  uVar3 = *param_3;" statement_identifier : (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;)) (expression_statement "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];" (assignment_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1]" (pointer_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" * (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" ( (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2) + 4" (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2)" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)puVar2)" ( (binary_expression "(int)param_2 - (int)puVar2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + number_literal) )))) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;" (assignment_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3" (pointer_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2))" * (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + ((int)param_2 - (int)puVar2))" ( (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2)" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)puVar2)" ( (binary_expression "(int)param_2 - (int)puVar2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) = identifier) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (expression_statement "puVar8 = puVar2;" (assignment_expression "puVar8 = puVar2" identifier = identifier) ;) (if_statement "if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }" if (parenthesized_expression "(param_2 != puVar2)" ( (binary_expression "param_2 != puVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }" { (do_statement "do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);" do (compound_statement "{\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    }" { (expression_statement "uVar3 = puVar8[1];" (assignment_expression "uVar3 = puVar8[1]" identifier = (subscript_expression "puVar8[1]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar8 + 2;" (assignment_expression "puVar9 = puVar8 + 2" identifier = (binary_expression "puVar8 + 2" identifier + number_literal)) ;) (expression_statement "*puVar6 = *puVar8;" (assignment_expression "*puVar6 = *puVar8" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar6[1] = uVar3;" (assignment_expression "puVar6[1] = uVar3" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != puVar9)" ( (binary_expression "param_2 != puVar9" identifier != identifier) )) ;) (expression_statement "puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" identifier = (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" ( (binary_expression "(int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10" (binary_expression "(int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U)" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U)" ( (binary_expression "(int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U" (binary_expression "(int)param_2 + (-8 - (int)puVar2)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-8 - (int)puVar2)" ( (binary_expression "-8 - (int)puVar2" number_literal - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (if_statement "if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }" if (parenthesized_expression "(param_2 != puVar1)" ( (binary_expression "param_2 != puVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }" { (do_statement "do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);" do (compound_statement "{\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    }" { (expression_statement "uVar3 = puVar6[1];" (assignment_expression "uVar3 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7 = puVar6 + 2;" (assignment_expression "puVar7 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "*puVar8 = *puVar6;" (assignment_expression "*puVar8 = *puVar6" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar8[1] = uVar3;" (assignment_expression "puVar8[1] = uVar3" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 2;" (assignment_expression "puVar8 = puVar8 + 2" identifier = (binary_expression "puVar8 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != puVar7)" ( (binary_expression "puVar1 != puVar7" identifier != identifier) )) ;) (expression_statement "puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" identifier = (cast_expression "(undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" ( (binary_expression "(int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8" (binary_expression "(int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U)" ( (binary_expression "(int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U" (binary_expression "(int)puVar1 + (-8 - (int)param_2)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-8 - (int)param_2)" ( (binary_expression "-8 - (int)param_2" number_literal - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_001807a0(puVar2);\n  }" { (expression_statement "FUN_001807a0(puVar2);" (call_expression "FUN_001807a0(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) })) (expression_statement "*param_1 = (int)puVar5;" (assignment_expression "*param_1 = (int)puVar5" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (int)puVar9;" (assignment_expression "param_1[1] = (int)puVar9" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void\n   _M_realloc_insert<gold::Plugin_manager::Rescannable>(vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n   * this, iterator __position, Rescannable * __args#0) */\n\nvoid __thiscall\nstd::vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>::\n_M_realloc_insert<gold::Plugin_manager::Rescannable>\n          (vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           *this,iterator __position,Rescannable *__args_0)\n\n{\n  pointer pRVar1;\n  pointer pRVar2;\n  undefined4 uVar3;\n  anon_union_4_2_94b67ca9_for_u aVar4;\n  undefined3 uVar5;\n  uint uVar6;\n  pointer pRVar7;\n  pointer pRVar8;\n  iterator iVar9;\n  uint uVar10;\n  pointer pRVar11;\n  pointer pRVar12;\n  uint uVar13;\n  pointer local_28;\n  \n  pRVar1 = (this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_finish;\n  pRVar2 = (this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_start;\n  uVar6 = (int)pRVar1 - (int)pRVar2 >> 3;\n  if (uVar6 == 0) {\n    uVar13 = 1;\nLAB_000f4335:\n    uVar10 = uVar13 * 8;\n  }\n  else {\n    uVar13 = uVar6 * 2;\n    uVar10 = 0xfffffff8;\n    if ((uVar6 <= uVar13) && (uVar13 < 0x20000000)) {\n      if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  pRVar7 = (pointer)operator_new(uVar10);\n  local_28 = (pointer)(&pRVar7->is_archive + uVar10);\n  pRVar12 = pRVar7 + 1;\nLAB_000f422a:\n  uVar3 = *(undefined4 *)__args_0;\n  *(anon_union_4_2_94b67ca9_for_u *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4) =\n       __args_0->u;\n  *(undefined4 *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2)) = uVar3;\n  pRVar8 = pRVar7;\n  pRVar11 = pRVar2;\n  if (__position._M_current != pRVar2) {\n    do {\n      uVar5 = *(undefined3 *)&pRVar11->field_0x1;\n      aVar4 = pRVar11->u;\n      pRVar12 = pRVar11 + 1;\n      pRVar8->is_archive = pRVar11->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      pRVar8 = pRVar8 + 1;\n      pRVar11 = pRVar12;\n    } while (__position._M_current != pRVar12);\n    pRVar12 = (pointer)(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8));\n  }\n  iVar9._M_current = __position._M_current;\n  pRVar8 = pRVar12;\n  if (__position._M_current != pRVar1) {\n    do {\n      uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;\n      aVar4 = (iVar9._M_current)->u;\n      pRVar11 = iVar9._M_current + 1;\n      pRVar8->is_archive = (iVar9._M_current)->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      iVar9._M_current = pRVar11;\n      pRVar8 = pRVar8 + 1;\n    } while (pRVar1 != pRVar11);\n    pRVar12 = (pointer)(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8));\n  }\n  if (pRVar2 != (pointer)0x0) {\n    operator_delete(pRVar2);\n  }\n  (this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_start = pRVar7;\n  (this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_finish = pRVar12;\n  (this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_end_of_storage = local_28;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>::\n_M_realloc_insert<gold::Plugin_manager::Rescannable>\n          (vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           *this,iterator __position,Rescannable *__args_0)\n\n{\n  pointer pRVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<gold::Plugin_manager::" identifier : : identifier < identifier : : identifier : :) identifier , (ERROR "_std::allocator<gold::Plugin_manager::Rescannable>_>::\n_M_realloc_insert<gold::Plugin_manager::Rescannable>\n          (vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           *this,iterator __position,Rescannable *__args_0)\n\n{\n  pointer" identifier : : identifier < identifier : : identifier : : identifier > identifier > : : identifier < identifier : : identifier : : (function_declarator "Rescannable>\n          (vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           *this,iterator __position,Rescannable *__args_0)" identifier (ERROR ">" >) (parameter_list "(vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           *this,iterator __position,Rescannable *__args_0)" ( (parameter_declaration "vector<gold::Plugin_manager::Rescannable" type_identifier (ERROR "<gold::Plugin_manager::" < identifier : : identifier : :) identifier) , (parameter_declaration "_std::allocator<gold::Plugin_manager::Rescannable>_>\n           *this" type_identifier (ERROR "::allocator<gold::Plugin_manager::Rescannable>_>" : : identifier < identifier : : identifier : : identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "Rescannable *__args_0" type_identifier (pointer_declarator "*__args_0" * identifier)) ))) { identifier) identifier ;) (declaration "pointer pRVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "anon_union_4_2_94b67ca9_for_u aVar4;" type_identifier identifier ;) (declaration "undefined3 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "pointer pRVar7;" type_identifier identifier ;) (declaration "pointer pRVar8;" type_identifier identifier ;) (declaration "iterator iVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "pointer pRVar11;" type_identifier identifier ;) (declaration "pointer pRVar12;" type_identifier identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "pointer local_28;" type_identifier identifier ;) (expression_statement "pRVar1 = (this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_finish;" (assignment_expression "pRVar1 = (this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_finish" identifier = (field_expression "(this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_finish" (field_expression "(this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl" (parenthesized_expression "(this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )" ( (ERROR "this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::" (comma_expression "this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std" (binary_expression "this->\n           super__Vector_base<gold" (field_expression "this->\n           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Plugin_manager::Rescannable" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Rescannable>_>" (binary_expression "Rescannable>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "pRVar2 = (this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_start;" (assignment_expression "pRVar2 = (this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_start" identifier = (field_expression "(this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl._M_start" (field_expression "(this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )._M_impl" (parenthesized_expression "(this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n           )" ( (ERROR "this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::" (comma_expression "this->\n           super__Vector_base<gold::Plugin_manager::Rescannable,_std" (binary_expression "this->\n           super__Vector_base<gold" (field_expression "this->\n           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Plugin_manager::Rescannable" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Rescannable>_>" (binary_expression "Rescannable>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar6 = (int)pRVar1 - (int)pRVar2 >> 3;" (assignment_expression "uVar6 = (int)pRVar1 - (int)pRVar2 >> 3" identifier = (binary_expression "(int)pRVar1 - (int)pRVar2 >> 3" (binary_expression "(int)pRVar1 - (int)pRVar2" (cast_expression "(int)pRVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pRVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar6 == 0) {\n    uVar13 = 1;\nLAB_000f4335:\n    uVar10 = uVar13 * 8;\n  }\n  else {\n    uVar13 = uVar6 * 2;\n    uVar10 = 0xfffffff8;\n    if ((uVar6 <= uVar13) && (uVar13 < 0x20000000)) {\n      if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar13 = 1;\nLAB_000f4335:\n    uVar10 = uVar13 * 8;\n  }" { (expression_statement "uVar13 = 1;" (assignment_expression "uVar13 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000f4335:\n    uVar10 = uVar13 * 8;" statement_identifier : (expression_statement "uVar10 = uVar13 * 8;" (assignment_expression "uVar10 = uVar13 * 8" identifier = (binary_expression "uVar13 * 8" identifier * number_literal)) ;)) }) (else_clause "else {\n    uVar13 = uVar6 * 2;\n    uVar10 = 0xfffffff8;\n    if ((uVar6 <= uVar13) && (uVar13 < 0x20000000)) {\n      if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" else (compound_statement "{\n    uVar13 = uVar6 * 2;\n    uVar10 = 0xfffffff8;\n    if ((uVar6 <= uVar13) && (uVar13 < 0x20000000)) {\n      if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" { (expression_statement "uVar13 = uVar6 * 2;" (assignment_expression "uVar13 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "uVar10 = 0xfffffff8;" (assignment_expression "uVar10 = 0xfffffff8" identifier = number_literal) ;) (if_statement "if ((uVar6 <= uVar13) && (uVar13 < 0x20000000)) {\n      if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" if (parenthesized_expression "((uVar6 <= uVar13) && (uVar13 < 0x20000000))" ( (binary_expression "(uVar6 <= uVar13) && (uVar13 < 0x20000000)" (parenthesized_expression "(uVar6 <= uVar13)" ( (binary_expression "uVar6 <= uVar13" identifier <= identifier) )) && (parenthesized_expression "(uVar13 < 0x20000000)" ( (binary_expression "uVar13 < 0x20000000" identifier < number_literal) ))) )) (compound_statement "{\n      if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" { (if_statement "if (uVar13 == 0) {\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n        pRVar12 = (pointer)&DAT_00000008;\n        local_28 = (pointer)0x0;\n        pRVar7 = (pointer)0x0;\n        goto LAB_000f422a;\n      }" { (expression_statement "pRVar12 = (pointer)&DAT_00000008;" (assignment_expression "pRVar12 = (pointer)&DAT_00000008" identifier = (binary_expression "(pointer)&DAT_00000008" (parenthesized_expression "(pointer)" ( identifier )) & identifier)) ;) (expression_statement "local_28 = (pointer)0x0;" (assignment_expression "local_28 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "pRVar7 = (pointer)0x0;" (assignment_expression "pRVar7 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (goto_statement "goto LAB_000f422a;" goto statement_identifier ;) })) (goto_statement "goto LAB_000f4335;" goto statement_identifier ;) })) }))) (expression_statement "pRVar7 = (pointer)operator_new(uVar10);" (assignment_expression "pRVar7 = (pointer)operator_new(uVar10)" identifier = (cast_expression "(pointer)operator_new(uVar10)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(uVar10)" identifier (argument_list "(uVar10)" ( identifier ))))) ;) (expression_statement "local_28 = (pointer)(&pRVar7->is_archive + uVar10);" (assignment_expression "local_28 = (pointer)(&pRVar7->is_archive + uVar10)" identifier = (call_expression "(pointer)(&pRVar7->is_archive + uVar10)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(&pRVar7->is_archive + uVar10)" ( (binary_expression "&pRVar7->is_archive + uVar10" (pointer_expression "&pRVar7->is_archive" & (field_expression "pRVar7->is_archive" identifier -> field_identifier)) + identifier) )))) ;) (expression_statement "pRVar12 = pRVar7 + 1;" (assignment_expression "pRVar12 = pRVar7 + 1" identifier = (binary_expression "pRVar7 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_000f422a:\n  uVar3 = *(undefined4 *)__args_0;" statement_identifier : (expression_statement "uVar3 = *(undefined4 *)__args_0;" (assignment_expression "uVar3 = *(undefined4 *)__args_0" identifier = (pointer_expression "*(undefined4 *)__args_0" * (cast_expression "(undefined4 *)__args_0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (expression_statement "*(anon_union_4_2_94b67ca9_for_u *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4) =\n       __args_0->u;" (assignment_expression "*(anon_union_4_2_94b67ca9_for_u *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4) =\n       __args_0->u" (pointer_expression "*(anon_union_4_2_94b67ca9_for_u *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4)" * (cast_expression "(anon_union_4_2_94b67ca9_for_u *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4)" ( (type_descriptor "anon_union_4_2_94b67ca9_for_u *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4)" ( (binary_expression "(int)pRVar7 + ((int)__position._M_current - (int)pRVar2) + 4" (binary_expression "(int)pRVar7 + ((int)__position._M_current - (int)pRVar2)" (cast_expression "(int)pRVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)__position._M_current - (int)pRVar2)" ( (binary_expression "(int)__position._M_current - (int)pRVar2" (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier)) - (cast_expression "(int)pRVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + number_literal) )))) = (field_expression "__args_0->u" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2)) = uVar3;" (assignment_expression "*(undefined4 *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2)) = uVar3" (pointer_expression "*(undefined4 *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2))" * (cast_expression "(undefined4 *)((int)pRVar7 + ((int)__position._M_current - (int)pRVar2))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pRVar7 + ((int)__position._M_current - (int)pRVar2))" ( (binary_expression "(int)pRVar7 + ((int)__position._M_current - (int)pRVar2)" (cast_expression "(int)pRVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)__position._M_current - (int)pRVar2)" ( (binary_expression "(int)__position._M_current - (int)pRVar2" (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier)) - (cast_expression "(int)pRVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) = identifier) ;) (expression_statement "pRVar8 = pRVar7;" (assignment_expression "pRVar8 = pRVar7" identifier = identifier) ;) (expression_statement "pRVar11 = pRVar2;" (assignment_expression "pRVar11 = pRVar2" identifier = identifier) ;) (if_statement "if (__position._M_current != pRVar2) {\n    do {\n      uVar5 = *(undefined3 *)&pRVar11->field_0x1;\n      aVar4 = pRVar11->u;\n      pRVar12 = pRVar11 + 1;\n      pRVar8->is_archive = pRVar11->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      pRVar8 = pRVar8 + 1;\n      pRVar11 = pRVar12;\n    } while (__position._M_current != pRVar12);\n    pRVar12 = (pointer)(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8));\n  }" if (parenthesized_expression "(__position._M_current != pRVar2)" ( (binary_expression "__position._M_current != pRVar2" (field_expression "__position._M_current" identifier . field_identifier) != identifier) )) (compound_statement "{\n    do {\n      uVar5 = *(undefined3 *)&pRVar11->field_0x1;\n      aVar4 = pRVar11->u;\n      pRVar12 = pRVar11 + 1;\n      pRVar8->is_archive = pRVar11->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      pRVar8 = pRVar8 + 1;\n      pRVar11 = pRVar12;\n    } while (__position._M_current != pRVar12);\n    pRVar12 = (pointer)(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8));\n  }" { (do_statement "do {\n      uVar5 = *(undefined3 *)&pRVar11->field_0x1;\n      aVar4 = pRVar11->u;\n      pRVar12 = pRVar11 + 1;\n      pRVar8->is_archive = pRVar11->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      pRVar8 = pRVar8 + 1;\n      pRVar11 = pRVar12;\n    } while (__position._M_current != pRVar12);" do (compound_statement "{\n      uVar5 = *(undefined3 *)&pRVar11->field_0x1;\n      aVar4 = pRVar11->u;\n      pRVar12 = pRVar11 + 1;\n      pRVar8->is_archive = pRVar11->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      pRVar8 = pRVar8 + 1;\n      pRVar11 = pRVar12;\n    }" { (expression_statement "uVar5 = *(undefined3 *)&pRVar11->field_0x1;" (assignment_expression "uVar5 = *(undefined3 *)&pRVar11->field_0x1" identifier = (pointer_expression "*(undefined3 *)&pRVar11->field_0x1" * (cast_expression "(undefined3 *)&pRVar11->field_0x1" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pRVar11->field_0x1" & (field_expression "pRVar11->field_0x1" identifier -> field_identifier))))) ;) (expression_statement "aVar4 = pRVar11->u;" (assignment_expression "aVar4 = pRVar11->u" identifier = (field_expression "pRVar11->u" identifier -> field_identifier)) ;) (expression_statement "pRVar12 = pRVar11 + 1;" (assignment_expression "pRVar12 = pRVar11 + 1" identifier = (binary_expression "pRVar11 + 1" identifier + number_literal)) ;) (expression_statement "pRVar8->is_archive = pRVar11->is_archive;" (assignment_expression "pRVar8->is_archive = pRVar11->is_archive" (field_expression "pRVar8->is_archive" identifier -> field_identifier) = (field_expression "pRVar11->is_archive" identifier -> field_identifier)) ;) (expression_statement "*(undefined3 *)&pRVar8->field_0x1 = uVar5;" (assignment_expression "*(undefined3 *)&pRVar8->field_0x1 = uVar5" (pointer_expression "*(undefined3 *)&pRVar8->field_0x1" * (cast_expression "(undefined3 *)&pRVar8->field_0x1" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pRVar8->field_0x1" & (field_expression "pRVar8->field_0x1" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pRVar8->u = aVar4;" (assignment_expression "pRVar8->u = aVar4" (field_expression "pRVar8->u" identifier -> field_identifier) = identifier) ;) (expression_statement "pRVar8 = pRVar8 + 1;" (assignment_expression "pRVar8 = pRVar8 + 1" identifier = (binary_expression "pRVar8 + 1" identifier + number_literal)) ;) (expression_statement "pRVar11 = pRVar12;" (assignment_expression "pRVar11 = pRVar12" identifier = identifier) ;) }) while (parenthesized_expression "(__position._M_current != pRVar12)" ( (binary_expression "__position._M_current != pRVar12" (field_expression "__position._M_current" identifier . field_identifier) != identifier) )) ;) (expression_statement "pRVar12 = (pointer)(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8));" (assignment_expression "pRVar12 = (pointer)(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8))" identifier = (call_expression "(pointer)(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8))" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8))" ( (binary_expression "&pRVar7[2].is_archive +\n                       ((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8)" (pointer_expression "&pRVar7[2].is_archive" & (field_expression "pRVar7[2].is_archive" (subscript_expression "pRVar7[2]" identifier [ number_literal ]) . field_identifier)) + (parenthesized_expression "((int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8)" ( (binary_expression "(int)__position._M_current + (-8 - (int)pRVar2) & 0xfffffff8" (binary_expression "(int)__position._M_current + (-8 - (int)pRVar2)" (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier)) + (parenthesized_expression "(-8 - (int)pRVar2)" ( (binary_expression "-8 - (int)pRVar2" number_literal - (cast_expression "(int)pRVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) )))) ;) })) (expression_statement "iVar9._M_current = __position._M_current;" (assignment_expression "iVar9._M_current = __position._M_current" (field_expression "iVar9._M_current" identifier . field_identifier) = (field_expression "__position._M_current" identifier . field_identifier)) ;) (expression_statement "pRVar8 = pRVar12;" (assignment_expression "pRVar8 = pRVar12" identifier = identifier) ;) (if_statement "if (__position._M_current != pRVar1) {\n    do {\n      uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;\n      aVar4 = (iVar9._M_current)->u;\n      pRVar11 = iVar9._M_current + 1;\n      pRVar8->is_archive = (iVar9._M_current)->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      iVar9._M_current = pRVar11;\n      pRVar8 = pRVar8 + 1;\n    } while (pRVar1 != pRVar11);\n    pRVar12 = (pointer)(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8));\n  }" if (parenthesized_expression "(__position._M_current != pRVar1)" ( (binary_expression "__position._M_current != pRVar1" (field_expression "__position._M_current" identifier . field_identifier) != identifier) )) (compound_statement "{\n    do {\n      uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;\n      aVar4 = (iVar9._M_current)->u;\n      pRVar11 = iVar9._M_current + 1;\n      pRVar8->is_archive = (iVar9._M_current)->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      iVar9._M_current = pRVar11;\n      pRVar8 = pRVar8 + 1;\n    } while (pRVar1 != pRVar11);\n    pRVar12 = (pointer)(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8));\n  }" { (do_statement "do {\n      uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;\n      aVar4 = (iVar9._M_current)->u;\n      pRVar11 = iVar9._M_current + 1;\n      pRVar8->is_archive = (iVar9._M_current)->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      iVar9._M_current = pRVar11;\n      pRVar8 = pRVar8 + 1;\n    } while (pRVar1 != pRVar11);" do (compound_statement "{\n      uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;\n      aVar4 = (iVar9._M_current)->u;\n      pRVar11 = iVar9._M_current + 1;\n      pRVar8->is_archive = (iVar9._M_current)->is_archive;\n      *(undefined3 *)&pRVar8->field_0x1 = uVar5;\n      pRVar8->u = aVar4;\n      iVar9._M_current = pRVar11;\n      pRVar8 = pRVar8 + 1;\n    }" { (expression_statement "uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1;" (assignment_expression "uVar5 = *(undefined3 *)&(iVar9._M_current)->field_0x1" identifier = (pointer_expression "*(undefined3 *)&(iVar9._M_current)->field_0x1" * (cast_expression "(undefined3 *)&(iVar9._M_current)->field_0x1" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(iVar9._M_current)->field_0x1" & (field_expression "(iVar9._M_current)->field_0x1" (parenthesized_expression "(iVar9._M_current)" ( (field_expression "iVar9._M_current" identifier . field_identifier) )) -> field_identifier))))) ;) (expression_statement "aVar4 = (iVar9._M_current)->u;" (assignment_expression "aVar4 = (iVar9._M_current)->u" identifier = (field_expression "(iVar9._M_current)->u" (parenthesized_expression "(iVar9._M_current)" ( (field_expression "iVar9._M_current" identifier . field_identifier) )) -> field_identifier)) ;) (expression_statement "pRVar11 = iVar9._M_current + 1;" (assignment_expression "pRVar11 = iVar9._M_current + 1" identifier = (binary_expression "iVar9._M_current + 1" (field_expression "iVar9._M_current" identifier . field_identifier) + number_literal)) ;) (expression_statement "pRVar8->is_archive = (iVar9._M_current)->is_archive;" (assignment_expression "pRVar8->is_archive = (iVar9._M_current)->is_archive" (field_expression "pRVar8->is_archive" identifier -> field_identifier) = (field_expression "(iVar9._M_current)->is_archive" (parenthesized_expression "(iVar9._M_current)" ( (field_expression "iVar9._M_current" identifier . field_identifier) )) -> field_identifier)) ;) (expression_statement "*(undefined3 *)&pRVar8->field_0x1 = uVar5;" (assignment_expression "*(undefined3 *)&pRVar8->field_0x1 = uVar5" (pointer_expression "*(undefined3 *)&pRVar8->field_0x1" * (cast_expression "(undefined3 *)&pRVar8->field_0x1" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pRVar8->field_0x1" & (field_expression "pRVar8->field_0x1" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pRVar8->u = aVar4;" (assignment_expression "pRVar8->u = aVar4" (field_expression "pRVar8->u" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar9._M_current = pRVar11;" (assignment_expression "iVar9._M_current = pRVar11" (field_expression "iVar9._M_current" identifier . field_identifier) = identifier) ;) (expression_statement "pRVar8 = pRVar8 + 1;" (assignment_expression "pRVar8 = pRVar8 + 1" identifier = (binary_expression "pRVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pRVar1 != pRVar11)" ( (binary_expression "pRVar1 != pRVar11" identifier != identifier) )) ;) (expression_statement "pRVar12 = (pointer)(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8));" (assignment_expression "pRVar12 = (pointer)(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8))" identifier = (call_expression "(pointer)(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8))" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8))" ( (binary_expression "&pRVar12[1].is_archive +\n                       ((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8)" (pointer_expression "&pRVar12[1].is_archive" & (field_expression "pRVar12[1].is_archive" (subscript_expression "pRVar12[1]" identifier [ number_literal ]) . field_identifier)) + (parenthesized_expression "((int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8)" ( (binary_expression "(int)pRVar1 + (-8 - (int)__position._M_current) & 0xfffffff8" (binary_expression "(int)pRVar1 + (-8 - (int)__position._M_current)" (cast_expression "(int)pRVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-8 - (int)__position._M_current)" ( (binary_expression "-8 - (int)__position._M_current" number_literal - (cast_expression "(int)__position._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__position._M_current" identifier . field_identifier))) ))) & number_literal) ))) )))) ;) })) (if_statement "if (pRVar2 != (pointer)0x0) {\n    operator_delete(pRVar2);\n  }" if (parenthesized_expression "(pRVar2 != (pointer)0x0)" ( (binary_expression "pRVar2 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    operator_delete(pRVar2);\n  }" { (expression_statement "operator_delete(pRVar2);" (call_expression "operator_delete(pRVar2)" identifier (argument_list "(pRVar2)" ( identifier ))) ;) })) (expression_statement "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_start = pRVar7;" (assignment_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_start = pRVar7" (field_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_start" (field_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl" (parenthesized_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )" ( (ERROR "this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::" (comma_expression "this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std" (binary_expression "this->\n  super__Vector_base<gold" (field_expression "this->\n  super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Plugin_manager::Rescannable" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Rescannable>_>" (binary_expression "Rescannable>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_finish = pRVar12;" (assignment_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_finish = pRVar12" (field_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_finish" (field_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl" (parenthesized_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )" ( (ERROR "this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::" (comma_expression "this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std" (binary_expression "this->\n  super__Vector_base<gold" (field_expression "this->\n  super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Plugin_manager::Rescannable" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Rescannable>_>" (binary_expression "Rescannable>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_end_of_storage = local_28;" (assignment_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_end_of_storage = local_28" (field_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl._M_end_of_storage" (field_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )._M_impl" (parenthesized_expression "(this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>\n  )" ( (ERROR "this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::" (comma_expression "this->\n  super__Vector_base<gold::Plugin_manager::Rescannable,_std" (binary_expression "this->\n  super__Vector_base<gold" (field_expression "this->\n  super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Plugin_manager::Rescannable" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Rescannable>_>" (binary_expression "Rescannable>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}\n\n" (function_definition "void FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}" primitive_type (function_declarator "FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)param_1[1];" (assignment_expression "puVar1 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar2 = (undefined4 *)*param_1;" (assignment_expression "puVar2 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar4 = (int)puVar1 - (int)puVar2 >> 3;" (assignment_expression "uVar4 = (int)puVar1 - (int)puVar2 >> 3" identifier = (binary_expression "(int)puVar1 - (int)puVar2 >> 3" (binary_expression "(int)puVar1 - (int)puVar2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }" { (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000f4335:\n    local_28 = uVar10 * 8;" statement_identifier : (expression_statement "local_28 = uVar10 * 8;" (assignment_expression "local_28 = uVar10 * 8" identifier = (binary_expression "uVar10 * 8" identifier * number_literal)) ;)) }) (else_clause "else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" else (compound_statement "{\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" { (expression_statement "uVar10 = uVar4 * 2;" (assignment_expression "uVar10 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (expression_statement "local_28 = -8;" (assignment_expression "local_28 = -8" identifier = number_literal) ;) (if_statement "if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" if (parenthesized_expression "((uVar4 <= uVar10) && (uVar10 < 0x20000000))" ( (binary_expression "(uVar4 <= uVar10) && (uVar10 < 0x20000000)" (parenthesized_expression "(uVar4 <= uVar10)" ( (binary_expression "uVar4 <= uVar10" identifier <= identifier) )) && (parenthesized_expression "(uVar10 < 0x20000000)" ( (binary_expression "uVar10 < 0x20000000" identifier < number_literal) ))) )) (compound_statement "{\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" { (if_statement "if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }" { (expression_statement "puVar9 = (undefined4 *)&DAT_00000008;" (assignment_expression "puVar9 = (undefined4 *)&DAT_00000008" identifier = (cast_expression "(undefined4 *)&DAT_00000008" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000008" & identifier))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)0x0;" (assignment_expression "puVar5 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000f422a;" goto statement_identifier ;) })) (goto_statement "goto LAB_000f4335;" goto statement_identifier ;) })) }))) (expression_statement "puVar5 = (undefined4 *)FUN_0017ebf0(local_28);" (assignment_expression "puVar5 = (undefined4 *)FUN_0017ebf0(local_28)" identifier = (cast_expression "(undefined4 *)FUN_0017ebf0(local_28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;) (expression_statement "local_28 = (int)puVar5 + local_28;" (assignment_expression "local_28 = (int)puVar5 + local_28" identifier = (binary_expression "(int)puVar5 + local_28" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "puVar9 = puVar5 + 2;" (assignment_expression "puVar9 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) (labeled_statement "LAB_000f422a:\n  uVar3 = *param_3;" statement_identifier : (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;)) (expression_statement "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];" (assignment_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1]" (pointer_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" * (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" ( (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2) + 4" (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2)" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)puVar2)" ( (binary_expression "(int)param_2 - (int)puVar2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + number_literal) )))) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;" (assignment_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3" (pointer_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2))" * (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + ((int)param_2 - (int)puVar2))" ( (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2)" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)puVar2)" ( (binary_expression "(int)param_2 - (int)puVar2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) = identifier) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (expression_statement "puVar8 = puVar2;" (assignment_expression "puVar8 = puVar2" identifier = identifier) ;) (if_statement "if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }" if (parenthesized_expression "(param_2 != puVar2)" ( (binary_expression "param_2 != puVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }" { (do_statement "do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);" do (compound_statement "{\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    }" { (expression_statement "uVar3 = puVar8[1];" (assignment_expression "uVar3 = puVar8[1]" identifier = (subscript_expression "puVar8[1]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar8 + 2;" (assignment_expression "puVar9 = puVar8 + 2" identifier = (binary_expression "puVar8 + 2" identifier + number_literal)) ;) (expression_statement "*puVar6 = *puVar8;" (assignment_expression "*puVar6 = *puVar8" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar6[1] = uVar3;" (assignment_expression "puVar6[1] = uVar3" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != puVar9)" ( (binary_expression "param_2 != puVar9" identifier != identifier) )) ;) (expression_statement "puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" identifier = (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" ( (binary_expression "(int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10" (binary_expression "(int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U)" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U)" ( (binary_expression "(int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U" (binary_expression "(int)param_2 + (-8 - (int)puVar2)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-8 - (int)puVar2)" ( (binary_expression "-8 - (int)puVar2" number_literal - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (if_statement "if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }" if (parenthesized_expression "(param_2 != puVar1)" ( (binary_expression "param_2 != puVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }" { (do_statement "do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);" do (compound_statement "{\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    }" { (expression_statement "uVar3 = puVar6[1];" (assignment_expression "uVar3 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7 = puVar6 + 2;" (assignment_expression "puVar7 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "*puVar8 = *puVar6;" (assignment_expression "*puVar8 = *puVar6" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar8[1] = uVar3;" (assignment_expression "puVar8[1] = uVar3" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 2;" (assignment_expression "puVar8 = puVar8 + 2" identifier = (binary_expression "puVar8 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != puVar7)" ( (binary_expression "puVar1 != puVar7" identifier != identifier) )) ;) (expression_statement "puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" identifier = (cast_expression "(undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" ( (binary_expression "(int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8" (binary_expression "(int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U)" ( (binary_expression "(int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U" (binary_expression "(int)puVar1 + (-8 - (int)param_2)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-8 - (int)param_2)" ( (binary_expression "-8 - (int)param_2" number_literal - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_001807a0(puVar2);\n  }" { (expression_statement "FUN_001807a0(puVar2);" (call_expression "FUN_001807a0(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) })) (expression_statement "*param_1 = (int)puVar5;" (assignment_expression "*param_1 = (int)puVar5" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (int)puVar9;" (assignment_expression "param_1[1] = (int)puVar9" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) & LIT) ))) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = 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 *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) & LIT) ))) + LIT) )))) ;) })) (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 ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000f41c0(int *param_1,undefined4 *param_2,undefined4 *param_3)" (identifier "FUN_000f41c0") (parameter_list "(int *param_1,undefined4 *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  uint uVar10;\n  int local_28;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  puVar2 = (undefined4 *)*param_1;\n  uVar4 = (int)puVar1 - (int)puVar2 >> 3;\n  if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }\n  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);\n  local_28 = (int)puVar5 + local_28;\n  puVar9 = puVar5 + 2;\nLAB_000f422a:\n  uVar3 = *param_3;\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];\n  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;\n  puVar6 = puVar5;\n  puVar8 = puVar2;\n  if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }\n  puVar6 = param_2;\n  puVar8 = puVar9;\n  if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }\n  if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }\n  *param_1 = (int)puVar5;\n  param_1[1] = (int)puVar9;\n  param_1[2] = local_28;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "puVar1 = (undefined4 *)param_1[1];" (assignment_expression "puVar1 = (undefined4 *)param_1[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)*param_1;" (assignment_expression "puVar2 = (undefined4 *)*param_1" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar4 = (int)puVar1 - (int)puVar2 >> 3;" (assignment_expression "uVar4 = (int)puVar1 - (int)puVar2 >> 3" (identifier "uVar4") (= "=") (binary_expression "(int)puVar1 - (int)puVar2 >> 3" (binary_expression "(int)puVar1 - (int)puVar2" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) (>> ">>") (number_literal "3"))) (; ";")) (if_statement "if (uVar4 == 0) {\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }\n  else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar10 = 1;\nLAB_000f4335:\n    local_28 = uVar10 * 8;\n  }" ({ "{") (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_000f4335:\n    local_28 = uVar10 * 8;" (statement_identifier "LAB_000f4335") (: ":") (expression_statement "local_28 = uVar10 * 8;" (assignment_expression "local_28 = uVar10 * 8" (identifier "local_28") (= "=") (binary_expression "uVar10 * 8" (identifier "uVar10") (* "*") (number_literal "8"))) (; ";"))) (} "}")) (else_clause "else {\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" (else "else") (compound_statement "{\n    uVar10 = uVar4 * 2;\n    local_28 = -8;\n    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }\n  }" ({ "{") (expression_statement "uVar10 = uVar4 * 2;" (assignment_expression "uVar10 = uVar4 * 2" (identifier "uVar10") (= "=") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) (; ";")) (expression_statement "local_28 = -8;" (assignment_expression "local_28 = -8" (identifier "local_28") (= "=") (number_literal "-8")) (; ";")) (if_statement "if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" (if "if") (parenthesized_expression "((uVar4 <= uVar10) && (uVar10 < 0x20000000))" (( "(") (binary_expression "(uVar4 <= uVar10) && (uVar10 < 0x20000000)" (parenthesized_expression "(uVar4 <= uVar10)" (( "(") (binary_expression "uVar4 <= uVar10" (identifier "uVar4") (<= "<=") (identifier "uVar10")) () ")")) (&& "&&") (parenthesized_expression "(uVar10 < 0x20000000)" (( "(") (binary_expression "uVar10 < 0x20000000" (identifier "uVar10") (< "<") (number_literal "0x20000000")) () ")"))) () ")")) (compound_statement "{\n      if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }\n      goto LAB_000f4335;\n    }" ({ "{") (if_statement "if (uVar10 == 0) {\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }" (if "if") (parenthesized_expression "(uVar10 == 0)" (( "(") (binary_expression "uVar10 == 0" (identifier "uVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar9 = (undefined4 *)&DAT_00000008;\n        local_28 = 0;\n        puVar5 = (undefined4 *)0x0;\n        goto LAB_000f422a;\n      }" ({ "{") (expression_statement "puVar9 = (undefined4 *)&DAT_00000008;" (assignment_expression "puVar9 = (undefined4 *)&DAT_00000008" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)&DAT_00000008" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00000008" (& "&") (identifier "DAT_00000008")))) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (undefined4 *)0x0;" (assignment_expression "puVar5 = (undefined4 *)0x0" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000f422a;" (goto "goto") (statement_identifier "LAB_000f422a") (; ";")) (} "}"))) (goto_statement "goto LAB_000f4335;" (goto "goto") (statement_identifier "LAB_000f4335") (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar5 = (undefined4 *)FUN_0017ebf0(local_28);" (assignment_expression "puVar5 = (undefined4 *)FUN_0017ebf0(local_28)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)FUN_0017ebf0(local_28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017ebf0(local_28)" (identifier "FUN_0017ebf0") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))))) (; ";")) (expression_statement "local_28 = (int)puVar5 + local_28;" (assignment_expression "local_28 = (int)puVar5 + local_28" (identifier "local_28") (= "=") (binary_expression "(int)puVar5 + local_28" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "local_28"))) (; ";")) (expression_statement "puVar9 = puVar5 + 2;" (assignment_expression "puVar9 = puVar5 + 2" (identifier "puVar9") (= "=") (binary_expression "puVar5 + 2" (identifier "puVar5") (+ "+") (number_literal "2"))) (; ";")) (labeled_statement "LAB_000f422a:\n  uVar3 = *param_3;" (statement_identifier "LAB_000f422a") (: ":") (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" (identifier "uVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";"))) (expression_statement "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];" (assignment_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1]" (pointer_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" (* "*") (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + ((int)param_2 - (int)puVar2) + 4)" (( "(") (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2) + 4" (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2)" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (parenthesized_expression "((int)param_2 - (int)puVar2)" (( "(") (binary_expression "(int)param_2 - (int)puVar2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;" (assignment_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3" (pointer_expression "*(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2))" (* "*") (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + ((int)param_2 - (int)puVar2))" (( "(") (binary_expression "(int)puVar5 + ((int)param_2 - (int)puVar2)" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (parenthesized_expression "((int)param_2 - (int)puVar2)" (( "(") (binary_expression "(int)param_2 - (int)puVar2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")"))) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar8 = puVar2;" (assignment_expression "puVar8 = puVar2" (identifier "puVar8") (= "=") (identifier "puVar2")) (; ";")) (if_statement "if (param_2 != puVar2) {\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }" (if "if") (parenthesized_expression "(param_2 != puVar2)" (( "(") (binary_expression "param_2 != puVar2" (identifier "param_2") (!= "!=") (identifier "puVar2")) () ")")) (compound_statement "{\n    do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);\n    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);\n  }" ({ "{") (do_statement "do {\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    } while (param_2 != puVar9);" (do "do") (compound_statement "{\n      uVar3 = puVar8[1];\n      puVar9 = puVar8 + 2;\n      *puVar6 = *puVar8;\n      puVar6[1] = uVar3;\n      puVar6 = puVar6 + 2;\n      puVar8 = puVar9;\n    }" ({ "{") (expression_statement "uVar3 = puVar8[1];" (assignment_expression "uVar3 = puVar8[1]" (identifier "uVar3") (= "=") (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar9 = puVar8 + 2;" (assignment_expression "puVar9 = puVar8 + 2" (identifier "puVar9") (= "=") (binary_expression "puVar8 + 2" (identifier "puVar8") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*puVar6 = *puVar8;" (assignment_expression "*puVar6 = *puVar8" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar6[1] = uVar3;" (assignment_expression "puVar6[1] = uVar3" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != puVar9)" (( "(") (binary_expression "param_2 != puVar9" (identifier "param_2") (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (expression_statement "puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10)" (( "(") (binary_expression "(int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10" (binary_expression "(int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U)" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (parenthesized_expression "((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U)" (( "(") (binary_expression "(int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U" (binary_expression "(int)param_2 + (-8 - (int)puVar2)" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (parenthesized_expression "(-8 - (int)puVar2)" (( "(") (binary_expression "-8 - (int)puVar2" (number_literal "-8") (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")"))) (& "&") (number_literal "0xfffffff8U")) () ")"))) (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" (identifier "puVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (param_2 != puVar1) {\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }" (if "if") (parenthesized_expression "(param_2 != puVar1)" (( "(") (binary_expression "param_2 != puVar1" (identifier "param_2") (!= "!=") (identifier "puVar1")) () ")")) (compound_statement "{\n    do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);\n    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);\n  }" ({ "{") (do_statement "do {\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    } while (puVar1 != puVar7);" (do "do") (compound_statement "{\n      uVar3 = puVar6[1];\n      puVar7 = puVar6 + 2;\n      *puVar8 = *puVar6;\n      puVar8[1] = uVar3;\n      puVar6 = puVar7;\n      puVar8 = puVar8 + 2;\n    }" ({ "{") (expression_statement "uVar3 = puVar6[1];" (assignment_expression "uVar3 = puVar6[1]" (identifier "uVar3") (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar7 = puVar6 + 2;" (assignment_expression "puVar7 = puVar6 + 2" (identifier "puVar7") (= "=") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*puVar8 = *puVar6;" (assignment_expression "*puVar8 = *puVar6" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "puVar8[1] = uVar3;" (assignment_expression "puVar8[1] = uVar3" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" (identifier "puVar6") (= "=") (identifier "puVar7")) (; ";")) (expression_statement "puVar8 = puVar8 + 2;" (assignment_expression "puVar8 = puVar8 + 2" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 2" (identifier "puVar8") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != puVar7)" (( "(") (binary_expression "puVar1 != puVar7" (identifier "puVar1") (!= "!=") (identifier "puVar7")) () ")")) (; ";")) (expression_statement "puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8)" (( "(") (binary_expression "(int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8" (binary_expression "(int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U)" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (+ "+") (parenthesized_expression "((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U)" (( "(") (binary_expression "(int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U" (binary_expression "(int)puVar1 + (-8 - (int)param_2)" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (parenthesized_expression "(-8 - (int)param_2)" (( "(") (binary_expression "-8 - (int)param_2" (number_literal "-8") (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (& "&") (number_literal "0xfffffff8U")) () ")"))) (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    FUN_001807a0(puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_001807a0(puVar2);\n  }" ({ "{") (expression_statement "FUN_001807a0(puVar2);" (call_expression "FUN_001807a0(puVar2)" (identifier "FUN_001807a0") (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = (int)puVar5;" (assignment_expression "*param_1 = (int)puVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5"))) (; ";")) (expression_statement "param_1[1] = (int)puVar9;" (assignment_expression "param_1[1] = (int)puVar9" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) (; ";")) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_28")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void
   _M_realloc_insert<gold::Plugin_manager::Rescannable>(vector<gold::Plugin_manager::Rescannable,_std::allocator<gold::Plugin_manager::Rescannable>_>
   * this, iterator __position, Rescannable * __args#0) */

void __thiscall
std::vector<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>::
_M_realloc_insert<gold::Plugin_manager::var_1>
          (vector<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>
           *this,type_6 __position,var_1 *__args_0)

{
  type_1 var_14;
  type_1 var_10;
  type_2 uVar3;
  type_3 aVar4;
  type_4 uVar5;
  type_5 var_4;
  type_1 var_9;
  type_1 var_12;
  type_6 iVar9;
  type_5 var_8;
  type_1 var_11;
  type_1 var_13;
  type_5 var_5;
  type_1 local_28;
  
  var_14 = (this->
           super__Vector_base<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>var_3
           )._M_impl._M_finish;
  var_10 = (this->
           super__Vector_base<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>var_3
           )._M_impl._M_start;
  var_4 = (int)var_14 - (int)var_10 >> 3;
  if (var_4 == 0) {
    var_5 = 1;
LAB_000f4335:
    var_8 = var_5 * 8;
  }
  else {
    var_5 = var_4 * 2;
    var_8 = 0xfffffff8;
    if ((var_4 <= var_5) && (var_5 < 0x20000000)) {
      if (var_5 == 0) {
        var_13 = (type_1)&var_6;
        local_28 = (type_1)0x0;
        var_9 = (type_1)0x0;
        goto LAB_000f422a;
      }
      goto LAB_000f4335;
    }
  }
  var_9 = (type_1)var_7(var_8);
  local_28 = (type_1)(&var_9->is_archive + var_8);
  var_13 = var_9 + 1;
LAB_000f422a:
  uVar3 = *(type_2 *)__args_0;
  *(type_3 *)((int)var_9 + ((int)__position._M_current - (int)var_10) + 4) =
       __args_0->u;
  *(type_2 *)((int)var_9 + ((int)__position._M_current - (int)var_10)) = uVar3;
  var_12 = var_9;
  var_11 = var_10;
  if (__position._M_current != var_10) {
    do {
      uVar5 = *(type_4 *)&var_11->field_0x1;
      aVar4 = var_11->u;
      var_13 = var_11 + 1;
      var_12->is_archive = var_11->is_archive;
      *(type_4 *)&var_12->field_0x1 = uVar5;
      var_12->u = aVar4;
      var_12 = var_12 + 1;
      var_11 = var_13;
    } while (__position._M_current != var_13);
    var_13 = (type_1)(&var_9[2].is_archive +
                       ((int)__position._M_current + (-8 - (int)var_10) & 0xfffffff8));
  }
  iVar9._M_current = __position._M_current;
  var_12 = var_13;
  if (__position._M_current != var_14) {
    do {
      uVar5 = *(type_4 *)&(iVar9._M_current)->field_0x1;
      aVar4 = (iVar9._M_current)->u;
      var_11 = iVar9._M_current + 1;
      var_12->is_archive = (iVar9._M_current)->is_archive;
      *(type_4 *)&var_12->field_0x1 = uVar5;
      var_12->u = aVar4;
      iVar9._M_current = var_11;
      var_12 = var_12 + 1;
    } while (var_14 != var_11);
    var_13 = (type_1)(&var_13[1].is_archive +
                       ((int)var_14 + (-8 - (int)__position._M_current) & 0xfffffff8));
  }
  if (var_10 != (type_1)0x0) {
    var_15(var_10);
  }
  (this->
  super__Vector_base<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>var_3
  )._M_impl._M_start = var_9;
  (this->
  super__Vector_base<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>var_3
  )._M_impl._M_finish = var_13;
  (this->
  super__Vector_base<gold::Plugin_manager::var_1,_std::allocator<gold::Plugin_manager::var_1>var_2>var_3
  )._M_impl._M_end_of_storage = local_28;
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  uint uVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  undefined4 *puVar9;
  uint uVar10;
  int local_28;
  
  puVar1 = (undefined4 *)param_1[1];
  puVar2 = (undefined4 *)*param_1;
  uVar4 = (int)puVar1 - (int)puVar2 >> 3;
  if (uVar4 == 0) {
    uVar10 = 1;
LAB_000f4335:
    local_28 = uVar10 * 8;
  }
  else {
    uVar10 = uVar4 * 2;
    local_28 = -8;
    if ((uVar4 <= uVar10) && (uVar10 < 0x20000000)) {
      if (uVar10 == 0) {
        puVar9 = (undefined4 *)&DAT_00000008;
        local_28 = 0;
        puVar5 = (undefined4 *)0x0;
        goto LAB_000f422a;
      }
      goto LAB_000f4335;
    }
  }
  puVar5 = (undefined4 *)FUN_0017ebf0(local_28);
  local_28 = (int)puVar5 + local_28;
  puVar9 = puVar5 + 2;
LAB_000f422a:
  uVar3 = *param_3;
  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2) + 4) = param_3[1];
  *(undefined4 *)((int)puVar5 + ((int)param_2 - (int)puVar2)) = uVar3;
  puVar6 = puVar5;
  puVar8 = puVar2;
  if (param_2 != puVar2) {
    do {
      uVar3 = puVar8[1];
      puVar9 = puVar8 + 2;
      *puVar6 = *puVar8;
      puVar6[1] = uVar3;
      puVar6 = puVar6 + 2;
      puVar8 = puVar9;
    } while (param_2 != puVar9);
    puVar9 = (undefined4 *)((int)puVar5 + ((int)param_2 + (-8 - (int)puVar2) & 0xfffffff8U) + 0x10);
  }
  puVar6 = param_2;
  puVar8 = puVar9;
  if (param_2 != puVar1) {
    do {
      uVar3 = puVar6[1];
      puVar7 = puVar6 + 2;
      *puVar8 = *puVar6;
      puVar8[1] = uVar3;
      puVar6 = puVar7;
      puVar8 = puVar8 + 2;
    } while (puVar1 != puVar7);
    puVar9 = (undefined4 *)((int)puVar9 + ((int)puVar1 + (-8 - (int)param_2) & 0xfffffff8U) + 8);
  }
  if (puVar2 != (undefined4 *)0x0) {
    FUN_001807a0(puVar2);
  }
  *param_1 = (int)puVar5;
  param_1[1] = (int)puVar9;
  param_1[2] = local_28;
  return;
}

