
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9, true, 32,
   false>*, std::vector<gold::Output_reloc<9, true, 32, false>, std::allocator<gold::Output_reloc<9,
   true, 32, false> > > >, int, gold::Output_reloc<9, true, 32, false>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9, true, 32,
   false>::Sort_relocs_comparison> > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9,_true,_32,_false>*,_std::vector<gold::Output_reloc<9,_true,_32,_false>,_std::allocator<gold::Output_reloc<9,_true,_32,_false>_>_>_>,_int,_gold::Output_reloc<9,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9,_true,_32,_false>::Sort_relocs_comparison>_>
               (void)

{
}



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

void FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined4 *puVar7;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1d00e9;
  iVar2 = (int)(param_3 - 1) / 2;
  iVar4 = param_2;
  if (param_2 < iVar2) {
    do {
      iVar6 = (iVar4 + 1) * 2;
      iVar1 = iVar6 + -1;
      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);
      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);
      iVar3 = FUN_002fe700(puVar7,puVar5);
      if (iVar3 < 0) {
        iVar6 = iVar1;
        puVar7 = puVar5;
      }
      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);
      *puVar5 = *puVar7;
      puVar5[1] = puVar7[1];
      puVar5[2] = puVar7[2];
      puVar5[3] = puVar7[3];
      puVar5[4] = puVar7[4];
      puVar5[5] = puVar7[5];
      iVar4 = iVar6;
    } while (iVar6 < iVar2);
    puVar5 = puVar7;
    if ((param_3 & 1) == 0) goto LAB_001d02b0;
  }
  else {
    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);
    iVar6 = param_2;
    if ((param_3 & 1) != 0) {
      local_34 = param_4;
      local_30 = param_5;
      local_2c = param_6;
      local_28 = param_7;
      local_24 = param_8;
      local_20 = param_9;
      goto LAB_001d0257;
    }
LAB_001d02b0:
    puVar5 = puVar7;
    if ((int)(param_3 - 2) / 2 == iVar6) {
      iVar6 = iVar6 * 2 + 1;
      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);
      *puVar7 = *puVar5;
      puVar7[1] = puVar5[1];
      puVar7[2] = puVar5[2];
      puVar7[3] = puVar5[3];
      puVar7[4] = puVar5[4];
      puVar7[5] = puVar5[5];
    }
  }
  local_34 = param_4;
  local_30 = param_5;
  local_2c = param_6;
  local_28 = param_7;
  local_24 = param_8;
  local_20 = param_9;
  puVar7 = puVar5;
  if (param_2 < iVar6) {
    do {
      iVar2 = (iVar6 + -1) / 2;
      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);
      iVar4 = FUN_002fe700(puVar5,&local_34);
      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);
      if (-1 < iVar4) break;
      *puVar7 = *puVar5;
      puVar7[1] = puVar5[1];
      puVar7[2] = puVar5[2];
      puVar7[3] = puVar5[3];
      puVar7[4] = puVar5[4];
      puVar7[5] = puVar5[5];
      puVar7 = puVar5;
      iVar6 = iVar2;
    } while (param_2 < iVar2);
  }
LAB_001d0257:
  *puVar7 = local_34;
  puVar7[1] = local_30;
  puVar7[2] = local_2c;
  puVar7[3] = local_28;
  puVar7[4] = local_24;
  puVar7[5] = local_20;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x419f17
SUB ESP,0x3c
MOV EAX,dword ptr [ESP + 0x58]
MOV EDI,dword ptr [ESP + 0x58]
LEA EDX,[EAX + -0x1]
AND EDI,0x1
MOV EAX,EDX
MOV dword ptr [ESP + 0xc],EDI
SHR EAX,0x1f
ADD EAX,EDX
SAR EAX,0x1
MOV dword ptr [ESP + 0x8],EAX
CMP dword ptr [ESP + 0x54],EAX
JGE 0x001d0290
MOV EBP,dword ptr [ESP + 0x54]
NOP
LEA EAX,[EBP + 0x1]
MOV ESI,dword ptr [ESP + 0x50]
SUB ESP,0x8
LEA EDI,[EAX + EAX*0x1]
LEA EDX,[EDI + -0x1]
LEA EAX,[EDI + EAX*0x4]
LEA ECX,[EDX + EDX*0x2]
MOV dword ptr [ESP + 0xc],EDX
LEA ECX,[ESI + ECX*0x8]
LEA ESI,[ESI + EAX*0x8]
PUSH ECX
MOV dword ptr [ESP + 0xc],ECX
PUSH ESI
CALL 0x002fe700
ADD ESP,0x10
MOV ECX,dword ptr [ESP]
MOV EDX,dword ptr [ESP + 0x4]
TEST EAX,EAX
LEA EAX,[EBP + EBP*0x2]
CMOVS ESI,ECX
MOV ECX,dword ptr [ESP + 0x50]
CMOVS EDI,EDX
MOV EDX,dword ptr [ESI]
LEA EAX,[ECX + EAX*0x8]
MOV EBP,EDI
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [ESI + 0x4]
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESI + 0xc]
MOV dword ptr [EAX + 0xc],EDX
MOV EDX,dword ptr [ESI + 0x10]
MOV dword ptr [EAX + 0x10],EDX
MOV EDX,dword ptr [ESI + 0x14]
MOV dword ptr [EAX + 0x14],EDX
CMP EDI,dword ptr [ESP + 0x8]
JL 0x001d0120
MOV EDX,dword ptr [ESP + 0xc]
TEST EDX,EDX
JZ 0x001d02b0
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x68]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x6c]
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[EDI + -0x1]
MOV EDX,EAX
SHR EDX,0x1f
ADD EDX,EAX
SAR EDX,0x1
CMP EDI,dword ptr [ESP + 0x54]
JLE 0x001d0257
LEA EAX,[ESP + 0x18]
MOV ESI,EDI
MOV EDI,EDX
MOV dword ptr [ESP],EAX
JMP 0x001d022d
MOV EAX,dword ptr [EBP]
MOV ESI,EDI
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [EBP + 0x4]
MOV dword ptr [ECX + 0x4],EAX
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [ECX + 0x8],EAX
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [ECX + 0xc],EAX
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [ECX + 0x10],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [ECX + 0x14],EAX
LEA ECX,[EDI + -0x1]
MOV EAX,ECX
SHR EAX,0x1f
ADD EAX,ECX
SAR EAX,0x1
CMP dword ptr [ESP + 0x54],EDI
JGE 0x001d0300
MOV EDI,EAX
MOV EDX,dword ptr [ESP + 0x50]
LEA EAX,[EDI + EDI*0x2]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x8]
LEA EBP,[EDX + EAX*0x8]
PUSH EBP
CALL 0x002fe700
LEA ECX,[ESI + ESI*0x2]
MOV ESI,dword ptr [ESP + 0x60]
ADD ESP,0x10
LEA ECX,[ESI + ECX*0x8]
TEST EAX,EAX
JS 0x001d01f0
MOV ESI,ECX
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESI + 0x14],EAX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x54]
MOV EDI,dword ptr [ESP + 0x50]
LEA EAX,[EAX + EAX*0x2]
LEA ESI,[EDI + EAX*0x8]
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JNZ 0x001d0307
MOV EDI,dword ptr [ESP + 0x54]
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x58]
LEA EDX,[EAX + -0x2]
MOV EAX,EDX
SHR EAX,0x1f
ADD EAX,EDX
SAR EAX,0x1
CMP EAX,EDI
JNZ 0x001d019e
MOV EDX,dword ptr [ESP + 0x50]
LEA EDI,[EDI + EDI*0x1 + 0x1]
LEA EAX,[EDI + EDI*0x2]
LEA EAX,[EDX + EAX*0x8]
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESI],EDX
MOV EDX,dword ptr [EAX + 0x4]
MOV dword ptr [ESI + 0x4],EDX
MOV EDX,dword ptr [EAX + 0x8]
MOV dword ptr [ESI + 0x8],EDX
MOV EDX,dword ptr [EAX + 0xc]
MOV dword ptr [ESI + 0xc],EDX
MOV EDX,dword ptr [EAX + 0x10]
MOV dword ptr [ESI + 0x10],EDX
MOV EDX,dword ptr [EAX + 0x14]
MOV dword ptr [ESI + 0x14],EDX
MOV ESI,EAX
JMP 0x001d019e
MOV ESI,EBP
JMP 0x001d0257
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x68]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x6c]
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ESP + 0x2c],EAX
JMP 0x001d0257
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}\n\n" comment (function_definition "void FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}" primitive_type (function_declarator "FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1d00e9;" (assignment_expression "uStack_14 = 0x1d00e9" identifier = number_literal) ;) (expression_statement "iVar2 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar2 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "iVar4 = param_2;" (assignment_expression "iVar4 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" if (parenthesized_expression "(param_2 < iVar2)" ( (binary_expression "param_2 < iVar2" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }" { (do_statement "do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);" do (compound_statement "{\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    }" { (expression_statement "iVar6 = (iVar4 + 1) * 2;" (assignment_expression "iVar6 = (iVar4 + 1) * 2" identifier = (binary_expression "(iVar4 + 1) * 2" (parenthesized_expression "(iVar4 + 1)" ( (binary_expression "iVar4 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar1 = iVar6 + -1;" (assignment_expression "iVar1 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar1 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1 * 0x18)" ( (binary_expression "param_1 + iVar1 * 0x18" identifier + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30)" identifier = (cast_expression "(undefined4 *)(param_1 + (iVar4 + 1) * 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar4 + 1) * 0x30)" ( (binary_expression "param_1 + (iVar4 + 1) * 0x30" identifier + (binary_expression "(iVar4 + 1) * 0x30" (parenthesized_expression "(iVar4 + 1)" ( (binary_expression "iVar4 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar3 = FUN_002fe700(puVar7,puVar5);" (assignment_expression "iVar3 = FUN_002fe700(puVar7,puVar5)" identifier = (call_expression "FUN_002fe700(puVar7,puVar5)" identifier (argument_list "(puVar7,puVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) })) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar4 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4 * 0x18)" ( (binary_expression "param_1 + iVar4 * 0x18" identifier + (binary_expression "iVar4 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "*puVar5 = *puVar7;" (assignment_expression "*puVar5 = *puVar7" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar5[1] = puVar7[1];" (assignment_expression "puVar5[1] = puVar7[1]" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = puVar7[2];" (assignment_expression "puVar5[2] = puVar7[2]" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "puVar5[3] = puVar7[3];" (assignment_expression "puVar5[3] = puVar7[3]" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "puVar5[4] = puVar7[4];" (assignment_expression "puVar5[4] = puVar7[4]" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = (subscript_expression "puVar7[4]" identifier [ number_literal ])) ;) (expression_statement "puVar5[5] = puVar7[5];" (assignment_expression "puVar5[5] = puVar7[5]" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = (subscript_expression "puVar7[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < iVar2)" ( (binary_expression "iVar6 < iVar2" identifier < identifier) )) ;) (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_001d02b0;" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_001d02b0;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" else (compound_statement "{\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" { (expression_statement "puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 0x18)" ( (binary_expression "param_1 + param_2 * 0x18" identifier + (binary_expression "param_2 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar6 = param_2;" (assignment_expression "iVar6 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }" if (parenthesized_expression "((param_3 & 1) != 0)" ( (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }" { (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_2c = param_6;" (assignment_expression "local_2c = param_6" identifier = identifier) ;) (expression_statement "local_28 = param_7;" (assignment_expression "local_28 = param_7" identifier = identifier) ;) (expression_statement "local_24 = param_8;" (assignment_expression "local_24 = param_8" identifier = identifier) ;) (expression_statement "local_20 = param_9;" (assignment_expression "local_20 = param_9" identifier = identifier) ;) (goto_statement "goto LAB_001d0257;" goto statement_identifier ;) })) (labeled_statement "LAB_001d02b0:\n    puVar5 = puVar7;" statement_identifier : (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;)) (if_statement "if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }" if (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar6)" ( (binary_expression "(int)(param_3 - 2) / 2 == iVar6" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }" { (expression_statement "iVar6 = iVar6 * 2 + 1;" (assignment_expression "iVar6 = iVar6 * 2 + 1" identifier = (binary_expression "iVar6 * 2 + 1" (binary_expression "iVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar6 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6 * 0x18)" ( (binary_expression "param_1 + iVar6 * 0x18" identifier + (binary_expression "iVar6 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "*puVar7 = *puVar5;" (assignment_expression "*puVar7 = *puVar5" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7[1] = puVar5[1];" (assignment_expression "puVar7[1] = puVar5[1]" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7[2] = puVar5[2];" (assignment_expression "puVar7[2] = puVar5[2]" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar7[3] = puVar5[3];" (assignment_expression "puVar7[3] = puVar5[3]" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "puVar7[4] = puVar5[4];" (assignment_expression "puVar7[4] = puVar5[4]" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "puVar7[5] = puVar5[5];" (assignment_expression "puVar7[5] = puVar5[5]" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) })) }))) (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_2c = param_6;" (assignment_expression "local_2c = param_6" identifier = identifier) ;) (expression_statement "local_28 = param_7;" (assignment_expression "local_28 = param_7" identifier = identifier) ;) (expression_statement "local_24 = param_8;" (assignment_expression "local_24 = param_8" identifier = identifier) ;) (expression_statement "local_20 = param_9;" (assignment_expression "local_20 = param_9" identifier = identifier) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) (if_statement "if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }" if (parenthesized_expression "(param_2 < iVar6)" ( (binary_expression "param_2 < iVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }" { (do_statement "do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);" do (compound_statement "{\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    }" { (expression_statement "iVar2 = (iVar6 + -1) / 2;" (assignment_expression "iVar2 = (iVar6 + -1) / 2" identifier = (binary_expression "(iVar6 + -1) / 2" (parenthesized_expression "(iVar6 + -1)" ( (binary_expression "iVar6 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 * 0x18)" ( (binary_expression "param_1 + iVar2 * 0x18" identifier + (binary_expression "iVar2 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar4 = FUN_002fe700(puVar5,&local_34);" (assignment_expression "iVar4 = FUN_002fe700(puVar5,&local_34)" identifier = (call_expression "FUN_002fe700(puVar5,&local_34)" identifier (argument_list "(puVar5,&local_34)" ( identifier , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar6 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6 * 0x18)" ( (binary_expression "param_1 + iVar6 * 0x18" identifier + (binary_expression "iVar6 * 0x18" identifier * number_literal)) )))) ;) (if_statement "if (-1 < iVar4) break;" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "*puVar7 = *puVar5;" (assignment_expression "*puVar7 = *puVar5" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7[1] = puVar5[1];" (assignment_expression "puVar7[1] = puVar5[1]" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7[2] = puVar5[2];" (assignment_expression "puVar7[2] = puVar5[2]" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar7[3] = puVar5[3];" (assignment_expression "puVar7[3] = puVar5[3]" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "puVar7[4] = puVar5[4];" (assignment_expression "puVar7[4] = puVar5[4]" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "puVar7[5] = puVar5[5];" (assignment_expression "puVar7[5] = puVar5[5]" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) (expression_statement "iVar6 = iVar2;" (assignment_expression "iVar6 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < iVar2)" ( (binary_expression "param_2 < iVar2" identifier < identifier) )) ;) })) (labeled_statement "LAB_001d0257:\n  *puVar7 = local_34;" statement_identifier : (expression_statement "*puVar7 = local_34;" (assignment_expression "*puVar7 = local_34" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "puVar7[1] = local_30;" (assignment_expression "puVar7[1] = local_30" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[2] = local_2c;" (assignment_expression "puVar7[2] = local_2c" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[3] = local_28;" (assignment_expression "puVar7[3] = local_28" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[4] = local_24;" (assignment_expression "puVar7[4] = local_24" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[5] = local_20;" (assignment_expression "puVar7[5] = local_20" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name: __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9, true, 32,\n   false>*, std::vector<gold::Output_reloc<9, true, 32, false>, std::allocator<gold::Output_reloc<9,\n   true, 32, false> > > >, int, gold::Output_reloc<9, true, 32, false>,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9, true, 32,\n   false>::Sort_relocs_comparison> > */\n\nvoid std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9,_true,_32,_false>*,_std::vector<gold::Output_reloc<9,_true,_32,_false>,_std::allocator<gold::Output_reloc<9,_true,_32,_false>_>_>_>,_int,_gold::Output_reloc<9,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9,_true,_32,_false>::Sort_relocs_comparison>_>\n               (void)\n\n{\n}\n\n" comment comment comment (ERROR "void std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9,_true,_32,_false>*,_std::vector<gold::Output_reloc<9,_true,_32,_false>,_std::allocator<gold::Output_reloc<9,_true,_32,_false>_>_>_>,_int,_gold::Output_reloc<9,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9,_true,_32,_false>::Sort_relocs_comparison>_>\n               (void)" primitive_type (ERROR "std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , identifier (ERROR ">*" > *) , (ERROR "_std::vector<gold::" identifier : : identifier < identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , identifier (ERROR ">" >) , (ERROR "_std::allocator<gold::" identifier : : identifier < identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) , identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , identifier (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::" identifier : : identifier : : identifier < identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , (ERROR "_false>::Sort_relocs_comparison>" identifier > : : identifier >) (function_declarator "_>\n               (void)" identifier (ERROR ">" >) (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}\n\n" (function_definition "void FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}" primitive_type (function_declarator "FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1d00e9;" (assignment_expression "uStack_14 = 0x1d00e9" identifier = number_literal) ;) (expression_statement "iVar2 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar2 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "iVar4 = param_2;" (assignment_expression "iVar4 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" if (parenthesized_expression "(param_2 < iVar2)" ( (binary_expression "param_2 < iVar2" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }" { (do_statement "do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);" do (compound_statement "{\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    }" { (expression_statement "iVar6 = (iVar4 + 1) * 2;" (assignment_expression "iVar6 = (iVar4 + 1) * 2" identifier = (binary_expression "(iVar4 + 1) * 2" (parenthesized_expression "(iVar4 + 1)" ( (binary_expression "iVar4 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar1 = iVar6 + -1;" (assignment_expression "iVar1 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar1 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1 * 0x18)" ( (binary_expression "param_1 + iVar1 * 0x18" identifier + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30)" identifier = (cast_expression "(undefined4 *)(param_1 + (iVar4 + 1) * 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar4 + 1) * 0x30)" ( (binary_expression "param_1 + (iVar4 + 1) * 0x30" identifier + (binary_expression "(iVar4 + 1) * 0x30" (parenthesized_expression "(iVar4 + 1)" ( (binary_expression "iVar4 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar3 = FUN_002fe700(puVar7,puVar5);" (assignment_expression "iVar3 = FUN_002fe700(puVar7,puVar5)" identifier = (call_expression "FUN_002fe700(puVar7,puVar5)" identifier (argument_list "(puVar7,puVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) })) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar4 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4 * 0x18)" ( (binary_expression "param_1 + iVar4 * 0x18" identifier + (binary_expression "iVar4 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "*puVar5 = *puVar7;" (assignment_expression "*puVar5 = *puVar7" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar5[1] = puVar7[1];" (assignment_expression "puVar5[1] = puVar7[1]" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = puVar7[2];" (assignment_expression "puVar5[2] = puVar7[2]" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "puVar5[3] = puVar7[3];" (assignment_expression "puVar5[3] = puVar7[3]" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "puVar5[4] = puVar7[4];" (assignment_expression "puVar5[4] = puVar7[4]" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = (subscript_expression "puVar7[4]" identifier [ number_literal ])) ;) (expression_statement "puVar5[5] = puVar7[5];" (assignment_expression "puVar5[5] = puVar7[5]" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = (subscript_expression "puVar7[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < iVar2)" ( (binary_expression "iVar6 < iVar2" identifier < identifier) )) ;) (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_001d02b0;" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_001d02b0;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" else (compound_statement "{\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" { (expression_statement "puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 0x18)" ( (binary_expression "param_1 + param_2 * 0x18" identifier + (binary_expression "param_2 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar6 = param_2;" (assignment_expression "iVar6 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }" if (parenthesized_expression "((param_3 & 1) != 0)" ( (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }" { (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_2c = param_6;" (assignment_expression "local_2c = param_6" identifier = identifier) ;) (expression_statement "local_28 = param_7;" (assignment_expression "local_28 = param_7" identifier = identifier) ;) (expression_statement "local_24 = param_8;" (assignment_expression "local_24 = param_8" identifier = identifier) ;) (expression_statement "local_20 = param_9;" (assignment_expression "local_20 = param_9" identifier = identifier) ;) (goto_statement "goto LAB_001d0257;" goto statement_identifier ;) })) (labeled_statement "LAB_001d02b0:\n    puVar5 = puVar7;" statement_identifier : (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;)) (if_statement "if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }" if (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar6)" ( (binary_expression "(int)(param_3 - 2) / 2 == iVar6" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }" { (expression_statement "iVar6 = iVar6 * 2 + 1;" (assignment_expression "iVar6 = iVar6 * 2 + 1" identifier = (binary_expression "iVar6 * 2 + 1" (binary_expression "iVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar6 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6 * 0x18)" ( (binary_expression "param_1 + iVar6 * 0x18" identifier + (binary_expression "iVar6 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "*puVar7 = *puVar5;" (assignment_expression "*puVar7 = *puVar5" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7[1] = puVar5[1];" (assignment_expression "puVar7[1] = puVar5[1]" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7[2] = puVar5[2];" (assignment_expression "puVar7[2] = puVar5[2]" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar7[3] = puVar5[3];" (assignment_expression "puVar7[3] = puVar5[3]" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "puVar7[4] = puVar5[4];" (assignment_expression "puVar7[4] = puVar5[4]" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "puVar7[5] = puVar5[5];" (assignment_expression "puVar7[5] = puVar5[5]" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) })) }))) (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_2c = param_6;" (assignment_expression "local_2c = param_6" identifier = identifier) ;) (expression_statement "local_28 = param_7;" (assignment_expression "local_28 = param_7" identifier = identifier) ;) (expression_statement "local_24 = param_8;" (assignment_expression "local_24 = param_8" identifier = identifier) ;) (expression_statement "local_20 = param_9;" (assignment_expression "local_20 = param_9" identifier = identifier) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) (if_statement "if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }" if (parenthesized_expression "(param_2 < iVar6)" ( (binary_expression "param_2 < iVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }" { (do_statement "do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);" do (compound_statement "{\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    }" { (expression_statement "iVar2 = (iVar6 + -1) / 2;" (assignment_expression "iVar2 = (iVar6 + -1) / 2" identifier = (binary_expression "(iVar6 + -1) / 2" (parenthesized_expression "(iVar6 + -1)" ( (binary_expression "iVar6 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 * 0x18)" ( (binary_expression "param_1 + iVar2 * 0x18" identifier + (binary_expression "iVar2 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar4 = FUN_002fe700(puVar5,&local_34);" (assignment_expression "iVar4 = FUN_002fe700(puVar5,&local_34)" identifier = (call_expression "FUN_002fe700(puVar5,&local_34)" identifier (argument_list "(puVar5,&local_34)" ( identifier , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar6 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6 * 0x18)" ( (binary_expression "param_1 + iVar6 * 0x18" identifier + (binary_expression "iVar6 * 0x18" identifier * number_literal)) )))) ;) (if_statement "if (-1 < iVar4) break;" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "*puVar7 = *puVar5;" (assignment_expression "*puVar7 = *puVar5" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7[1] = puVar5[1];" (assignment_expression "puVar7[1] = puVar5[1]" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7[2] = puVar5[2];" (assignment_expression "puVar7[2] = puVar5[2]" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar7[3] = puVar5[3];" (assignment_expression "puVar7[3] = puVar5[3]" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "puVar7[4] = puVar5[4];" (assignment_expression "puVar7[4] = puVar5[4]" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "puVar7[5] = puVar5[5];" (assignment_expression "puVar7[5] = puVar5[5]" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" identifier = identifier) ;) (expression_statement "iVar6 = iVar2;" (assignment_expression "iVar6 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < iVar2)" ( (binary_expression "param_2 < iVar2" identifier < identifier) )) ;) })) (labeled_statement "LAB_001d0257:\n  *puVar7 = local_34;" statement_identifier : (expression_statement "*puVar7 = local_34;" (assignment_expression "*puVar7 = local_34" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "puVar7[1] = local_30;" (assignment_expression "puVar7[1] = local_30" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[2] = local_2c;" (assignment_expression "puVar7[2] = local_2c" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[3] = local_28;" (assignment_expression "puVar7[3] = local_28" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[4] = local_24;" (assignment_expression "puVar7[4] = local_24" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[5] = local_20;" (assignment_expression "puVar7[5] = local_20" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT)) ;) (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 = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression 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 = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001d00e0(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)" (identifier "FUN_001d00e0") (parameter_list "(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1d00e9;\n  iVar2 = (int)(param_3 - 1) / 2;\n  iVar4 = param_2;\n  if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }\n  local_34 = param_4;\n  local_30 = param_5;\n  local_2c = param_6;\n  local_28 = param_7;\n  local_24 = param_8;\n  local_20 = param_9;\n  puVar7 = puVar5;\n  if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }\nLAB_001d0257:\n  *puVar7 = local_34;\n  puVar7[1] = local_30;\n  puVar7[2] = local_2c;\n  puVar7[3] = local_28;\n  puVar7[4] = local_24;\n  puVar7[5] = local_20;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1d00e9;" (assignment_expression "uStack_14 = 0x1d00e9" (identifier "uStack_14") (= "=") (number_literal "0x1d00e9")) (; ";")) (expression_statement "iVar2 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar2 = (int)(param_3 - 1) / 2" (identifier "iVar2") (= "=") (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")"))) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = param_2;" (assignment_expression "iVar4 = param_2" (identifier "iVar4") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 < iVar2) {\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }\n  else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < iVar2)" (( "(") (binary_expression "param_2 < iVar2" (identifier "param_2") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);\n    puVar5 = puVar7;\n    if ((param_3 & 1) == 0) goto LAB_001d02b0;\n  }" ({ "{") (do_statement "do {\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    } while (iVar6 < iVar2);" (do "do") (compound_statement "{\n      iVar6 = (iVar4 + 1) * 2;\n      iVar1 = iVar6 + -1;\n      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);\n      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);\n      iVar3 = FUN_002fe700(puVar7,puVar5);\n      if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }\n      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);\n      *puVar5 = *puVar7;\n      puVar5[1] = puVar7[1];\n      puVar5[2] = puVar7[2];\n      puVar5[3] = puVar7[3];\n      puVar5[4] = puVar7[4];\n      puVar5[5] = puVar7[5];\n      iVar4 = iVar6;\n    }" ({ "{") (expression_statement "iVar6 = (iVar4 + 1) * 2;" (assignment_expression "iVar6 = (iVar4 + 1) * 2" (identifier "iVar6") (= "=") (binary_expression "(iVar4 + 1) * 2" (parenthesized_expression "(iVar4 + 1)" (( "(") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar1 = iVar6 + -1;" (assignment_expression "iVar1 = iVar6 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar1 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar1 * 0x18)" (( "(") (binary_expression "param_1 + iVar1 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar1 * 0x18" (identifier "iVar1") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(param_1 + (iVar4 + 1) * 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (iVar4 + 1) * 0x30)" (( "(") (binary_expression "param_1 + (iVar4 + 1) * 0x30" (identifier "param_1") (+ "+") (binary_expression "(iVar4 + 1) * 0x30" (parenthesized_expression "(iVar4 + 1)" (( "(") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x30"))) () ")")))) (; ";")) (expression_statement "iVar3 = FUN_002fe700(puVar7,puVar5);" (assignment_expression "iVar3 = FUN_002fe700(puVar7,puVar5)" (identifier "iVar3") (= "=") (call_expression "FUN_002fe700(puVar7,puVar5)" (identifier "FUN_002fe700") (argument_list "(puVar7,puVar5)" (( "(") (identifier "puVar7") (, ",") (identifier "puVar5") () ")")))) (; ";")) (if_statement "if (iVar3 < 0) {\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = iVar1;\n        puVar7 = puVar5;\n      }" ({ "{") (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" (identifier "iVar6") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" (identifier "puVar7") (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar4 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar4 * 0x18)" (( "(") (binary_expression "param_1 + iVar4 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar4 * 0x18" (identifier "iVar4") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "*puVar5 = *puVar7;" (assignment_expression "*puVar5 = *puVar7" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar5[1] = puVar7[1];" (assignment_expression "puVar5[1] = puVar7[1]" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar5[2] = puVar7[2];" (assignment_expression "puVar5[2] = puVar7[2]" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar5[3] = puVar7[3];" (assignment_expression "puVar5[3] = puVar7[3]" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar5[4] = puVar7[4];" (assignment_expression "puVar5[4] = puVar7[4]" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "puVar7[4]" (identifier "puVar7") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar5[5] = puVar7[5];" (assignment_expression "puVar5[5] = puVar7[5]" (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "puVar7[5]" (identifier "puVar7") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" (identifier "iVar4") (= "=") (identifier "iVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < iVar2)" (( "(") (binary_expression "iVar6 < iVar2" (identifier "iVar6") (< "<") (identifier "iVar2")) () ")")) (; ";")) (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" (identifier "puVar5") (= "=") (identifier "puVar7")) (; ";")) (if_statement "if ((param_3 & 1) == 0) goto LAB_001d02b0;" (if "if") (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001d02b0;" (goto "goto") (statement_identifier "LAB_001d02b0") (; ";"))) (} "}")) (else_clause "else {\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" (else "else") (compound_statement "{\n    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);\n    iVar6 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }\nLAB_001d02b0:\n    puVar5 = puVar7;\n    if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }\n  }" ({ "{") (expression_statement "puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + param_2 * 0x18)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(param_1 + param_2 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 * 0x18)" (( "(") (binary_expression "param_1 + param_2 * 0x18" (identifier "param_1") (+ "+") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "iVar6 = param_2;" (assignment_expression "iVar6 = param_2" (identifier "iVar6") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_3 & 1) != 0) {\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }" (if "if") (parenthesized_expression "((param_3 & 1) != 0)" (( "(") (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_34 = param_4;\n      local_30 = param_5;\n      local_2c = param_6;\n      local_28 = param_7;\n      local_24 = param_8;\n      local_20 = param_9;\n      goto LAB_001d0257;\n    }" ({ "{") (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" (identifier "local_34") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" (identifier "local_30") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_2c = param_6;" (assignment_expression "local_2c = param_6" (identifier "local_2c") (= "=") (identifier "param_6")) (; ";")) (expression_statement "local_28 = param_7;" (assignment_expression "local_28 = param_7" (identifier "local_28") (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_24 = param_8;" (assignment_expression "local_24 = param_8" (identifier "local_24") (= "=") (identifier "param_8")) (; ";")) (expression_statement "local_20 = param_9;" (assignment_expression "local_20 = param_9" (identifier "local_20") (= "=") (identifier "param_9")) (; ";")) (goto_statement "goto LAB_001d0257;" (goto "goto") (statement_identifier "LAB_001d0257") (; ";")) (} "}"))) (labeled_statement "LAB_001d02b0:\n    puVar5 = puVar7;" (statement_identifier "LAB_001d02b0") (: ":") (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" (identifier "puVar5") (= "=") (identifier "puVar7")) (; ";"))) (if_statement "if ((int)(param_3 - 2) / 2 == iVar6) {\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }" (if "if") (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar6)" (( "(") (binary_expression "(int)(param_3 - 2) / 2 == iVar6" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 2)" (( "(") (binary_expression "param_3 - 2" (identifier "param_3") (- "-") (number_literal "2")) () ")"))) (/ "/") (number_literal "2")) (== "==") (identifier "iVar6")) () ")")) (compound_statement "{\n      iVar6 = iVar6 * 2 + 1;\n      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n    }" ({ "{") (expression_statement "iVar6 = iVar6 * 2 + 1;" (assignment_expression "iVar6 = iVar6 * 2 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 * 2 + 1" (binary_expression "iVar6 * 2" (identifier "iVar6") (* "*") (number_literal "2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar6 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6 * 0x18)" (( "(") (binary_expression "param_1 + iVar6 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar6 * 0x18" (identifier "iVar6") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "*puVar7 = *puVar5;" (assignment_expression "*puVar7 = *puVar5" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar7[1] = puVar5[1];" (assignment_expression "puVar7[1] = puVar5[1]" (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar7[2] = puVar5[2];" (assignment_expression "puVar7[2] = puVar5[2]" (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar7[3] = puVar5[3];" (assignment_expression "puVar7[3] = puVar5[3]" (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar7[4] = puVar5[4];" (assignment_expression "puVar7[4] = puVar5[4]" (subscript_expression "puVar7[4]" (identifier "puVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar7[5] = puVar5[5];" (assignment_expression "puVar7[5] = puVar5[5]" (subscript_expression "puVar7[5]" (identifier "puVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" (identifier "local_34") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" (identifier "local_30") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_2c = param_6;" (assignment_expression "local_2c = param_6" (identifier "local_2c") (= "=") (identifier "param_6")) (; ";")) (expression_statement "local_28 = param_7;" (assignment_expression "local_28 = param_7" (identifier "local_28") (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_24 = param_8;" (assignment_expression "local_24 = param_8" (identifier "local_24") (= "=") (identifier "param_8")) (; ";")) (expression_statement "local_20 = param_9;" (assignment_expression "local_20 = param_9" (identifier "local_20") (= "=") (identifier "param_9")) (; ";")) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" (identifier "puVar7") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (param_2 < iVar6) {\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }" (if "if") (parenthesized_expression "(param_2 < iVar6)" (( "(") (binary_expression "param_2 < iVar6" (identifier "param_2") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n    do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);\n  }" ({ "{") (do_statement "do {\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    } while (param_2 < iVar2);" (do "do") (compound_statement "{\n      iVar2 = (iVar6 + -1) / 2;\n      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);\n      iVar4 = FUN_002fe700(puVar5,&local_34);\n      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);\n      if (-1 < iVar4) break;\n      *puVar7 = *puVar5;\n      puVar7[1] = puVar5[1];\n      puVar7[2] = puVar5[2];\n      puVar7[3] = puVar5[3];\n      puVar7[4] = puVar5[4];\n      puVar7[5] = puVar5[5];\n      puVar7 = puVar5;\n      iVar6 = iVar2;\n    }" ({ "{") (expression_statement "iVar2 = (iVar6 + -1) / 2;" (assignment_expression "iVar2 = (iVar6 + -1) / 2" (identifier "iVar2") (= "=") (binary_expression "(iVar6 + -1) / 2" (parenthesized_expression "(iVar6 + -1)" (( "(") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) () ")")) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar2 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar2 * 0x18)" (( "(") (binary_expression "param_1 + iVar2 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar2 * 0x18" (identifier "iVar2") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "iVar4 = FUN_002fe700(puVar5,&local_34);" (assignment_expression "iVar4 = FUN_002fe700(puVar5,&local_34)" (identifier "iVar4") (= "=") (call_expression "FUN_002fe700(puVar5,&local_34)" (identifier "FUN_002fe700") (argument_list "(puVar5,&local_34)" (( "(") (identifier "puVar5") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (expression_statement "puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar6 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6 * 0x18)" (( "(") (binary_expression "param_1 + iVar6 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar6 * 0x18" (identifier "iVar6") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (if_statement "if (-1 < iVar4) break;" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar7 = *puVar5;" (assignment_expression "*puVar7 = *puVar5" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar7[1] = puVar5[1];" (assignment_expression "puVar7[1] = puVar5[1]" (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar7[2] = puVar5[2];" (assignment_expression "puVar7[2] = puVar5[2]" (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar7[3] = puVar5[3];" (assignment_expression "puVar7[3] = puVar5[3]" (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar7[4] = puVar5[4];" (assignment_expression "puVar7[4] = puVar5[4]" (subscript_expression "puVar7[4]" (identifier "puVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar7[5] = puVar5[5];" (assignment_expression "puVar7[5] = puVar5[5]" (subscript_expression "puVar7[5]" (identifier "puVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "puVar7 = puVar5;" (assignment_expression "puVar7 = puVar5" (identifier "puVar7") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "iVar6 = iVar2;" (assignment_expression "iVar6 = iVar2" (identifier "iVar6") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 < iVar2)" (( "(") (binary_expression "param_2 < iVar2" (identifier "param_2") (< "<") (identifier "iVar2")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_001d0257:\n  *puVar7 = local_34;" (statement_identifier "LAB_001d0257") (: ":") (expression_statement "*puVar7 = local_34;" (assignment_expression "*puVar7 = local_34" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "local_34")) (; ";"))) (expression_statement "puVar7[1] = local_30;" (assignment_expression "puVar7[1] = local_30" (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "puVar7[2] = local_2c;" (assignment_expression "puVar7[2] = local_2c" (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar7[3] = local_28;" (assignment_expression "puVar7[3] = local_28" (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "puVar7[4] = local_24;" (assignment_expression "puVar7[4] = local_24" (subscript_expression "puVar7[4]" (identifier "puVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar7[5] = local_20;" (assignment_expression "puVar7[5] = local_20" (subscript_expression "puVar7[5]" (identifier "puVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "local_20")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9, true, 32,
   false>*, std::vector<gold::Output_reloc<9, true, 32, false>, std::allocator<gold::Output_reloc<9,
   true, 32, false> > > >, int, gold::Output_reloc<9, true, 32, false>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9, true, 32,
   false>::Sort_relocs_comparison> > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<9,_true,_32,_false>*,_std::vector<gold::Output_reloc<9,_true,_32,_false>,_std::allocator<gold::Output_reloc<9,_true,_32,_false>_>_>_>,_int,_gold::Output_reloc<9,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<9,_true,_32,_false>::Sort_relocs_comparison>_>
               (void)

{
}


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

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

void MASKED(int param_1,int param_2,uint param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined4 *puVar7;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1d00e9;
  iVar2 = (int)(param_3 - 1) / 2;
  iVar4 = param_2;
  if (param_2 < iVar2) {
    do {
      iVar6 = (iVar4 + 1) * 2;
      iVar1 = iVar6 + -1;
      puVar5 = (undefined4 *)(param_1 + iVar1 * 0x18);
      puVar7 = (undefined4 *)(param_1 + (iVar4 + 1) * 0x30);
      iVar3 = FUN_002fe700(puVar7,puVar5);
      if (iVar3 < 0) {
        iVar6 = iVar1;
        puVar7 = puVar5;
      }
      puVar5 = (undefined4 *)(param_1 + iVar4 * 0x18);
      *puVar5 = *puVar7;
      puVar5[1] = puVar7[1];
      puVar5[2] = puVar7[2];
      puVar5[3] = puVar7[3];
      puVar5[4] = puVar7[4];
      puVar5[5] = puVar7[5];
      iVar4 = iVar6;
    } while (iVar6 < iVar2);
    puVar5 = puVar7;
    if ((param_3 & 1) == 0) goto LAB_001d02b0;
  }
  else {
    puVar7 = (undefined4 *)(param_1 + param_2 * 0x18);
    iVar6 = param_2;
    if ((param_3 & 1) != 0) {
      local_34 = param_4;
      local_30 = param_5;
      local_2c = param_6;
      local_28 = param_7;
      local_24 = param_8;
      local_20 = param_9;
      goto LAB_001d0257;
    }
LAB_001d02b0:
    puVar5 = puVar7;
    if ((int)(param_3 - 2) / 2 == iVar6) {
      iVar6 = iVar6 * 2 + 1;
      puVar5 = (undefined4 *)(param_1 + iVar6 * 0x18);
      *puVar7 = *puVar5;
      puVar7[1] = puVar5[1];
      puVar7[2] = puVar5[2];
      puVar7[3] = puVar5[3];
      puVar7[4] = puVar5[4];
      puVar7[5] = puVar5[5];
    }
  }
  local_34 = param_4;
  local_30 = param_5;
  local_2c = param_6;
  local_28 = param_7;
  local_24 = param_8;
  local_20 = param_9;
  puVar7 = puVar5;
  if (param_2 < iVar6) {
    do {
      iVar2 = (iVar6 + -1) / 2;
      puVar5 = (undefined4 *)(param_1 + iVar2 * 0x18);
      iVar4 = FUN_002fe700(puVar5,&local_34);
      puVar7 = (undefined4 *)(param_1 + iVar6 * 0x18);
      if (-1 < iVar4) break;
      *puVar7 = *puVar5;
      puVar7[1] = puVar5[1];
      puVar7[2] = puVar5[2];
      puVar7[3] = puVar5[3];
      puVar7[4] = puVar5[4];
      puVar7[5] = puVar5[5];
      puVar7 = puVar5;
      iVar6 = iVar2;
    } while (param_2 < iVar2);
  }
LAB_001d0257:
  *puVar7 = local_34;
  puVar7[1] = local_30;
  puVar7[2] = local_2c;
  puVar7[3] = local_28;
  puVar7[4] = local_24;
  puVar7[5] = local_20;
  return;
}

