
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_realloc_insert<std::vector<std::__cxx11::basic_string<char,
   std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
   std::char_traits<char>, std::allocator<char> > > > >
   DWARF original prototype: void
   _M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>(vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>
   * this, iterator __position,
   vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
   * __args#0) */

void __thiscall
std::
vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>
::
_M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
          (vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>
           *this,iterator __position,
          vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
          *__args_0)

{
}



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

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

{
  int *piVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 *puVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  uint uVar9;
  int *piVar10;
  int *local_2c;
  int *local_24;
  int local_20;
  
  piVar1 = (int *)*param_1;
  piVar2 = (int *)param_1[1];
  iVar4 = (int)piVar2 - (int)piVar1 >> 2;
  if (iVar4 * -0x55555555 == 0) {
    uVar9 = 1;
LAB_002137b5:
    local_20 = uVar9 * 0xc;
  }
  else {
    uVar9 = iVar4 * 0x55555556;
    local_20 = -4;
    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {
      if (uVar9 == 0) {
        local_2c = (int *)0xc;
        local_20 = 0;
        local_24 = (int *)0x0;
        goto LAB_002135e9;
      }
      goto LAB_002137b5;
    }
  }
  local_24 = (int *)FUN_00246670(local_20);
  local_20 = local_20 + (int)local_24;
  local_2c = local_24 + 3;
LAB_002135e9:
  uVar3 = *param_3;
  *param_3 = 0;
  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);
  *puVar5 = uVar3;
  uVar3 = param_3[1];
  param_3[1] = 0;
  puVar5[1] = uVar3;
  uVar3 = param_3[2];
  param_3[2] = 0;
  puVar5[2] = uVar3;
  piVar6 = local_24;
  piVar7 = piVar1;
  if (param_2 != piVar1) {
    do {
      piVar6[1] = 0;
      piVar10 = piVar7 + 3;
      piVar6[2] = 0;
      *piVar6 = 0;
      *piVar6 = *piVar7;
      *piVar7 = 0;
      iVar4 = piVar6[1];
      piVar6[1] = piVar7[1];
      piVar7[1] = iVar4;
      iVar4 = piVar6[2];
      piVar6[2] = piVar7[2];
      piVar7[2] = iVar4;
      piVar6 = piVar6 + 3;
      piVar7 = piVar10;
    } while (param_2 != piVar10);
    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);
  }
  piVar7 = param_2;
  piVar10 = local_2c;
  piVar6 = piVar1;
  if (param_2 != piVar2) {
    do {
      iVar4 = *piVar7;
      *piVar7 = 0;
      piVar8 = piVar7 + 3;
      *piVar10 = iVar4;
      iVar4 = piVar7[1];
      piVar7[1] = 0;
      piVar10[1] = iVar4;
      iVar4 = piVar7[2];
      piVar7[2] = 0;
      piVar10[2] = iVar4;
      piVar7 = piVar8;
      piVar10 = piVar10 + 3;
    } while (piVar2 != piVar8);
    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);
  }
  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {
    piVar7 = (int *)piVar6[1];
    piVar10 = (int *)*piVar6;
    if (piVar7 != piVar10) {
      do {
        if ((int *)*piVar10 != piVar10 + 2) {
          FUN_00248220((int *)*piVar10);
        }
        piVar10 = piVar10 + 6;
      } while (piVar7 != piVar10);
      piVar10 = (int *)*piVar6;
    }
    if (piVar10 != (int *)0x0) {
      FUN_00248220(piVar10);
    }
  }
  if (piVar1 != (int *)0x0) {
    FUN_00248220(piVar1);
  }
  *param_1 = local_24;
  param_1[1] = local_2c;
  param_1[2] = local_20;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x200a87
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
MOV EDI,dword ptr [ESP + 0x48]
MOV ECX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
MOV EDX,ESI
MOV dword ptr [ESP + 0xc],EAX
SUB EAX,ECX
SUB EDX,ECX
SAR EAX,0x2
MOV dword ptr [ESP + 0x14],ECX
MOV EBP,EDX
IMUL EAX,EAX,-0x55555555
TEST EAX,EAX
JZ 0x002137b0
LEA ECX,[EAX + EAX*0x1]
MOV EDX,0xfffffffc
CMP EAX,ECX
JBE 0x00213780
SUB ESP,0xc
PUSH EDX
MOV dword ptr [ESP + 0x20],EDX
CALL 0x00246670
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x28],EAX
ADD EDX,EAX
ADD EAX,0xc
MOV dword ptr [ESP + 0x2c],EDX
MOV dword ptr [ESP + 0x20],EAX
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [EDI]
MOV EAX,EBP
MOV dword ptr [EDI],0x0
ADD EAX,ECX
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [EDI + 0x4]
MOV dword ptr [EDI + 0x4],0x0
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [EDI + 0x8]
MOV dword ptr [EDI + 0x8],0x0
MOV dword ptr [EAX + 0x8],EDX
MOV EAX,dword ptr [ESP + 0x14]
CMP ESI,EAX
JZ 0x0021368b
MOV EDX,EAX
MOV EAX,ECX
LEA ESI,[ESI]
MOV dword ptr [EAX + 0x4],0x0
ADD EDX,0xc
ADD EAX,0xc
MOV dword ptr [EAX + -0x4],0x0
MOV dword ptr [EAX + -0xc],0x0
MOV ECX,dword ptr [EDX + -0xc]
MOV dword ptr [EAX + -0xc],ECX
MOV EDI,dword ptr [EDX + -0x8]
MOV dword ptr [EDX + -0xc],0x0
MOV ECX,dword ptr [EAX + -0x8]
MOV dword ptr [EAX + -0x8],EDI
MOV EDI,dword ptr [EDX + -0x4]
MOV dword ptr [EDX + -0x8],ECX
MOV ECX,dword ptr [EAX + -0x4]
MOV dword ptr [EAX + -0x4],EDI
MOV dword ptr [EDX + -0x4],ECX
CMP ESI,EDX
JNZ 0x00213628
LEA EAX,[ESI + -0xc]
SUB EAX,dword ptr [ESP + 0x14]
MOV EDI,dword ptr [ESP + 0x18]
SHR EAX,0x2
IMUL EAX,EAX,0x2aaaaaab
LEA EAX,[EAX + EAX*0x2]
LEA EAX,[EDI + EAX*0x4 + 0x18]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,ESI
MOV EDX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0xc]
CMP ESI,dword ptr [ESP + 0xc]
JZ 0x002136f0
LEA ESI,[ESI]
NOP
MOV ECX,dword ptr [EAX]
MOV dword ptr [EAX],0x0
ADD EAX,0xc
ADD EDX,0xc
MOV dword ptr [EDX + -0xc],ECX
MOV ECX,dword ptr [EAX + -0x8]
MOV dword ptr [EAX + -0x8],0x0
MOV dword ptr [EDX + -0x8],ECX
MOV ECX,dword ptr [EAX + -0x4]
MOV dword ptr [EAX + -0x4],0x0
MOV dword ptr [EDX + -0x4],ECX
CMP EDI,EAX
JNZ 0x002136a0
MOV EAX,dword ptr [ESP + 0xc]
SUB EAX,ESI
MOV ESI,dword ptr [ESP + 0x10]
SUB EAX,0xc
SHR EAX,0x2
IMUL EAX,EAX,0x2aaaaaab
LEA EAX,[EAX + EAX*0x2]
LEA EAX,[ESI + EAX*0x4 + 0xc]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0xc]
MOV EDI,EAX
CMP EAX,ESI
JZ 0x00213747
NOP
MOV EBP,dword ptr [EDI + 0x4]
MOV ESI,dword ptr [EDI]
CMP EBP,ESI
JZ 0x0021372e
LEA ESI,[ESI]
MOV EAX,dword ptr [ESI]
LEA EDX,[ESI + 0x8]
CMP EAX,EDX
JZ 0x00213725
SUB ESP,0xc
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
ADD ESI,0x18
CMP EBP,ESI
JNZ 0x00213710
MOV ESI,dword ptr [EDI]
TEST ESI,ESI
JZ 0x0021373e
SUB ESP,0xc
PUSH ESI
CALL 0x00248220
ADD ESP,0x10
ADD EDI,0xc
CMP EDI,dword ptr [ESP + 0xc]
JNZ 0x00213700
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x0021375e
SUB ESP,0xc
PUSH dword ptr [ESP + 0x20]
CALL 0x00248220
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x40]
MOV EBX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX],EBX
MOV EBX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX + 0x4],EBX
MOV EBX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + 0x8],EBX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ECX,0x15555555
JA 0x002135c4
TEST ECX,ECX
JNZ 0x002137b5
MOV dword ptr [ESP + 0x10],0xc
MOV dword ptr [ESP + 0x1c],0x0
MOV dword ptr [ESP + 0x18],0x0
JMP 0x002135e9
MOV ECX,0x1
LEA EDX,[ECX + ECX*0x2]
SHL EDX,0x2
JMP 0x002135c4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}\n\n" comment (function_definition "void FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}" primitive_type (function_declarator "FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "piVar2 = (int *)param_1[1];" (assignment_expression "piVar2 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = (int)piVar2 - (int)piVar1 >> 2;" (assignment_expression "iVar4 = (int)piVar2 - (int)piVar1 >> 2" identifier = (binary_expression "(int)piVar2 - (int)piVar1 >> 2" (binary_expression "(int)piVar2 - (int)piVar1" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" if (parenthesized_expression "(iVar4 * -0x55555555 == 0)" ( (binary_expression "iVar4 * -0x55555555 == 0" (binary_expression "iVar4 * -0x55555555" identifier * number_literal) == number_literal) )) (compound_statement "{\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }" { (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) (labeled_statement "LAB_002137b5:\n    local_20 = uVar9 * 0xc;" statement_identifier : (expression_statement "local_20 = uVar9 * 0xc;" (assignment_expression "local_20 = uVar9 * 0xc" identifier = (binary_expression "uVar9 * 0xc" identifier * number_literal)) ;)) }) (else_clause "else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" else (compound_statement "{\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" { (expression_statement "uVar9 = iVar4 * 0x55555556;" (assignment_expression "uVar9 = iVar4 * 0x55555556" identifier = (binary_expression "iVar4 * 0x55555556" identifier * number_literal)) ;) (expression_statement "local_20 = -4;" (assignment_expression "local_20 = -4" identifier = number_literal) ;) (if_statement "if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }" if (parenthesized_expression "(((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556))" ( (binary_expression "((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)" (parenthesized_expression "((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0)" ( (binary_expression "(uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0" (binary_expression "(uint)(iVar4 * -0x55555555) < uVar9" (call_expression "(uint)(iVar4 * -0x55555555)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 * -0x55555555)" ( (binary_expression "iVar4 * -0x55555555" identifier * number_literal) ))) < identifier) || (binary_expression "iVar4 * 0x55555555 == 0" (binary_expression "iVar4 * 0x55555555" identifier * number_literal) == number_literal)) )) && (parenthesized_expression "(uVar9 < 0x15555556)" ( (binary_expression "uVar9 < 0x15555556" identifier < number_literal) ))) )) (compound_statement "{\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }" { (if_statement "if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }" { (expression_statement "local_2c = (int *)0xc;" (assignment_expression "local_2c = (int *)0xc" identifier = (cast_expression "(int *)0xc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_24 = (int *)0x0;" (assignment_expression "local_24 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_002135e9;" goto statement_identifier ;) })) (goto_statement "goto LAB_002137b5;" goto statement_identifier ;) })) }))) (expression_statement "local_24 = (int *)FUN_00246670(local_20);" (assignment_expression "local_24 = (int *)FUN_00246670(local_20)" identifier = (cast_expression "(int *)FUN_00246670(local_20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(local_20)" identifier (argument_list "(local_20)" ( identifier ))))) ;) (expression_statement "local_20 = local_20 + (int)local_24;" (assignment_expression "local_20 = local_20 + (int)local_24" identifier = (binary_expression "local_20 + (int)local_24" identifier + (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_2c = local_24 + 3;" (assignment_expression "local_2c = local_24 + 3" identifier = (binary_expression "local_24 + 3" identifier + number_literal)) ;) (labeled_statement "LAB_002135e9:\n  uVar3 = *param_3;" statement_identifier : (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;)) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);" (assignment_expression "puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24)" identifier = (cast_expression "(undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)param_2 - (int)piVar1) + (int)local_24)" ( (binary_expression "((int)param_2 - (int)piVar1) + (int)local_24" (parenthesized_expression "((int)param_2 - (int)piVar1)" ( (binary_expression "(int)param_2 - (int)piVar1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) + (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*puVar5 = uVar3;" (assignment_expression "*puVar5 = uVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "uVar3 = param_3[1];" (assignment_expression "uVar3 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[1] = uVar3;" (assignment_expression "puVar5[1] = uVar3" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = param_3[2];" (assignment_expression "uVar3 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[2] = uVar3;" (assignment_expression "puVar5[2] = uVar3" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6 = local_24;" (assignment_expression "piVar6 = local_24" identifier = identifier) ;) (expression_statement "piVar7 = piVar1;" (assignment_expression "piVar7 = piVar1" identifier = identifier) ;) (if_statement "if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }" if (parenthesized_expression "(param_2 != piVar1)" ( (binary_expression "param_2 != piVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }" { (do_statement "do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);" do (compound_statement "{\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    }" { (expression_statement "piVar6[1] = 0;" (assignment_expression "piVar6[1] = 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10 = piVar7 + 3;" (assignment_expression "piVar10 = piVar7 + 3" identifier = (binary_expression "piVar7 + 3" identifier + number_literal)) ;) (expression_statement "piVar6[2] = 0;" (assignment_expression "piVar6[2] = 0" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar6 = 0;" (assignment_expression "*piVar6 = 0" (pointer_expression "*piVar6" * identifier) = number_literal) ;) (expression_statement "*piVar6 = *piVar7;" (assignment_expression "*piVar6 = *piVar7" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "iVar4 = piVar6[1];" (assignment_expression "iVar4 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = piVar7[1];" (assignment_expression "piVar6[1] = piVar7[1]" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7[1] = iVar4;" (assignment_expression "piVar7[1] = iVar4" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = piVar6[2];" (assignment_expression "iVar4 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar7[2];" (assignment_expression "piVar6[2] = piVar7[2]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar7[2]" identifier [ number_literal ])) ;) (expression_statement "piVar7[2] = iVar4;" (assignment_expression "piVar7[2] = iVar4" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != piVar10)" ( (binary_expression "param_2 != piVar10" identifier != identifier) )) ;) (expression_statement "local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);" (assignment_expression "local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" identifier = (cast_expression "(int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" ( (binary_expression "(int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18" (binary_expression "(int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU)" ( (binary_expression "(int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU" (binary_expression "(int)param_2 + (-0xc - (int)piVar1)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-0xc - (int)piVar1)" ( (binary_expression "-0xc - (int)piVar1" number_literal - (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (expression_statement "piVar7 = param_2;" (assignment_expression "piVar7 = param_2" identifier = identifier) ;) (expression_statement "piVar10 = local_2c;" (assignment_expression "piVar10 = local_2c" identifier = identifier) ;) (expression_statement "piVar6 = piVar1;" (assignment_expression "piVar6 = piVar1" identifier = identifier) ;) (if_statement "if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }" if (parenthesized_expression "(param_2 != piVar2)" ( (binary_expression "param_2 != piVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }" { (do_statement "do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);" do (compound_statement "{\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    }" { (expression_statement "iVar4 = *piVar7;" (assignment_expression "iVar4 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar8 = piVar7 + 3;" (assignment_expression "piVar8 = piVar7 + 3" identifier = (binary_expression "piVar7 + 3" identifier + number_literal)) ;) (expression_statement "*piVar10 = iVar4;" (assignment_expression "*piVar10 = iVar4" (pointer_expression "*piVar10" * identifier) = identifier) ;) (expression_statement "iVar4 = piVar7[1];" (assignment_expression "iVar4 = piVar7[1]" identifier = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7[1] = 0;" (assignment_expression "piVar7[1] = 0" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[1] = iVar4;" (assignment_expression "piVar10[1] = iVar4" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = piVar7[2];" (assignment_expression "iVar4 = piVar7[2]" identifier = (subscript_expression "piVar7[2]" identifier [ number_literal ])) ;) (expression_statement "piVar7[2] = 0;" (assignment_expression "piVar7[2] = 0" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[2] = iVar4;" (assignment_expression "piVar10[2] = iVar4" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" identifier = identifier) ;) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" identifier = (binary_expression "piVar10 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar2 != piVar8)" ( (binary_expression "piVar2 != piVar8" identifier != identifier) )) ;) (expression_statement "local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);" (assignment_expression "local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" identifier = (cast_expression "(int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" ( (binary_expression "(int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc" (binary_expression "(int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU)" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU)" ( (binary_expression "(int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU" (binary_expression "(int)piVar2 + (-0xc - (int)param_2)" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-0xc - (int)param_2)" ( (binary_expression "-0xc - (int)param_2" number_literal - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (for_statement "for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }" for ( ; (binary_expression "piVar6 != piVar2" identifier != identifier) ; (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ) (compound_statement "{\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }" { (expression_statement "piVar7 = (int *)piVar6[1];" (assignment_expression "piVar7 = (int *)piVar6[1]" identifier = (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = (int *)*piVar6;" (assignment_expression "piVar10 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }" if (parenthesized_expression "(piVar7 != piVar10)" ( (binary_expression "piVar7 != piVar10" identifier != identifier) )) (compound_statement "{\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }" { (do_statement "do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);" do (compound_statement "{\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      }" { (if_statement "if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }" if (parenthesized_expression "((int *)*piVar10 != piVar10 + 2)" ( (binary_expression "(int *)*piVar10 != piVar10 + 2" (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier)) != (binary_expression "piVar10 + 2" identifier + number_literal)) )) (compound_statement "{\n          FUN_00248220((int *)*piVar10);\n        }" { (expression_statement "FUN_00248220((int *)*piVar10);" (call_expression "FUN_00248220((int *)*piVar10)" identifier (argument_list "((int *)*piVar10)" ( (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier)) ))) ;) })) (expression_statement "piVar10 = piVar10 + 6;" (assignment_expression "piVar10 = piVar10 + 6" identifier = (binary_expression "piVar10 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar7 != piVar10)" ( (binary_expression "piVar7 != piVar10" identifier != identifier) )) ;) (expression_statement "piVar10 = (int *)*piVar6;" (assignment_expression "piVar10 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) })) (if_statement "if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_00248220(piVar10);\n    }" { (expression_statement "FUN_00248220(piVar10);" (call_expression "FUN_00248220(piVar10)" identifier (argument_list "(piVar10)" ( identifier ))) ;) })) })) (if_statement "if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_00248220(piVar1);\n  }" { (expression_statement "FUN_00248220(piVar1);" (call_expression "FUN_00248220(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) })) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = local_20;" (assignment_expression "param_1[2] = local_20" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: _M_realloc_insert<std::vector<std::__cxx11::basic_string<char,\n   std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,\n   std::char_traits<char>, std::allocator<char> > > > >\n   DWARF original prototype: void\n   _M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>(vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n   * this, iterator __position,\n   vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n   * __args#0) */\n\nvoid __thiscall\nstd::\nvector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n::\n_M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n          (vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n           *this,iterator __position,\n          vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *__args_0)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nstd::\nvector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n::\n_M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n          (vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n           *this,iterator __position,\n          vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *__args_0)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\nvector<std::vector<std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_>" identifier : : identifier < primitive_type > identifier > identifier >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::vector<std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_>_>_>_>\n::\n_M_realloc_insert<std::vector<std::__cxx11::" identifier : : identifier < primitive_type > identifier > identifier > identifier > identifier > identifier > : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_>_>" identifier : : identifier < primitive_type > identifier > identifier > identifier >) (function_declarator "_>\n          (vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n           *this,iterator __position,\n          vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *__args_0)" identifier (ERROR ">" >) (parameter_list "(vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>\n           *this,iterator __position,\n          vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          *__args_0)" ( (parameter_declaration "vector<std::vector<std::__cxx11::basic_string" type_identifier (ERROR "<std::vector<std::__cxx11::" < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_>_" type_identifier (ERROR "::allocator<char>_>_>" : : identifier < primitive_type > identifier > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::vector<std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::vector<std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_>_>_>_>\n           *this" type_identifier (ERROR "::allocator<char>_>_>_>_>_>" : : identifier < primitive_type > identifier > identifier > identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "vector<std::__cxx11::basic_string" type_identifier (ERROR "<std::__cxx11::" < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_>_>\n          *__args_0" type_identifier (ERROR "::allocator<char>_>_>_>" : : identifier < primitive_type > identifier > identifier > identifier >) (pointer_declarator "*__args_0" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}\n\n" (function_definition "void FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}" primitive_type (function_declarator "FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "piVar2 = (int *)param_1[1];" (assignment_expression "piVar2 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = (int)piVar2 - (int)piVar1 >> 2;" (assignment_expression "iVar4 = (int)piVar2 - (int)piVar1 >> 2" identifier = (binary_expression "(int)piVar2 - (int)piVar1 >> 2" (binary_expression "(int)piVar2 - (int)piVar1" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" if (parenthesized_expression "(iVar4 * -0x55555555 == 0)" ( (binary_expression "iVar4 * -0x55555555 == 0" (binary_expression "iVar4 * -0x55555555" identifier * number_literal) == number_literal) )) (compound_statement "{\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }" { (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) (labeled_statement "LAB_002137b5:\n    local_20 = uVar9 * 0xc;" statement_identifier : (expression_statement "local_20 = uVar9 * 0xc;" (assignment_expression "local_20 = uVar9 * 0xc" identifier = (binary_expression "uVar9 * 0xc" identifier * number_literal)) ;)) }) (else_clause "else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" else (compound_statement "{\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" { (expression_statement "uVar9 = iVar4 * 0x55555556;" (assignment_expression "uVar9 = iVar4 * 0x55555556" identifier = (binary_expression "iVar4 * 0x55555556" identifier * number_literal)) ;) (expression_statement "local_20 = -4;" (assignment_expression "local_20 = -4" identifier = number_literal) ;) (if_statement "if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }" if (parenthesized_expression "(((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556))" ( (binary_expression "((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)" (parenthesized_expression "((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0)" ( (binary_expression "(uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0" (binary_expression "(uint)(iVar4 * -0x55555555) < uVar9" (call_expression "(uint)(iVar4 * -0x55555555)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 * -0x55555555)" ( (binary_expression "iVar4 * -0x55555555" identifier * number_literal) ))) < identifier) || (binary_expression "iVar4 * 0x55555555 == 0" (binary_expression "iVar4 * 0x55555555" identifier * number_literal) == number_literal)) )) && (parenthesized_expression "(uVar9 < 0x15555556)" ( (binary_expression "uVar9 < 0x15555556" identifier < number_literal) ))) )) (compound_statement "{\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }" { (if_statement "if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }" { (expression_statement "local_2c = (int *)0xc;" (assignment_expression "local_2c = (int *)0xc" identifier = (cast_expression "(int *)0xc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_24 = (int *)0x0;" (assignment_expression "local_24 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_002135e9;" goto statement_identifier ;) })) (goto_statement "goto LAB_002137b5;" goto statement_identifier ;) })) }))) (expression_statement "local_24 = (int *)FUN_00246670(local_20);" (assignment_expression "local_24 = (int *)FUN_00246670(local_20)" identifier = (cast_expression "(int *)FUN_00246670(local_20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(local_20)" identifier (argument_list "(local_20)" ( identifier ))))) ;) (expression_statement "local_20 = local_20 + (int)local_24;" (assignment_expression "local_20 = local_20 + (int)local_24" identifier = (binary_expression "local_20 + (int)local_24" identifier + (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_2c = local_24 + 3;" (assignment_expression "local_2c = local_24 + 3" identifier = (binary_expression "local_24 + 3" identifier + number_literal)) ;) (labeled_statement "LAB_002135e9:\n  uVar3 = *param_3;" statement_identifier : (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;)) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);" (assignment_expression "puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24)" identifier = (cast_expression "(undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)param_2 - (int)piVar1) + (int)local_24)" ( (binary_expression "((int)param_2 - (int)piVar1) + (int)local_24" (parenthesized_expression "((int)param_2 - (int)piVar1)" ( (binary_expression "(int)param_2 - (int)piVar1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) + (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*puVar5 = uVar3;" (assignment_expression "*puVar5 = uVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "uVar3 = param_3[1];" (assignment_expression "uVar3 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[1] = uVar3;" (assignment_expression "puVar5[1] = uVar3" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = param_3[2];" (assignment_expression "uVar3 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[2] = uVar3;" (assignment_expression "puVar5[2] = uVar3" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6 = local_24;" (assignment_expression "piVar6 = local_24" identifier = identifier) ;) (expression_statement "piVar7 = piVar1;" (assignment_expression "piVar7 = piVar1" identifier = identifier) ;) (if_statement "if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }" if (parenthesized_expression "(param_2 != piVar1)" ( (binary_expression "param_2 != piVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }" { (do_statement "do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);" do (compound_statement "{\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    }" { (expression_statement "piVar6[1] = 0;" (assignment_expression "piVar6[1] = 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10 = piVar7 + 3;" (assignment_expression "piVar10 = piVar7 + 3" identifier = (binary_expression "piVar7 + 3" identifier + number_literal)) ;) (expression_statement "piVar6[2] = 0;" (assignment_expression "piVar6[2] = 0" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar6 = 0;" (assignment_expression "*piVar6 = 0" (pointer_expression "*piVar6" * identifier) = number_literal) ;) (expression_statement "*piVar6 = *piVar7;" (assignment_expression "*piVar6 = *piVar7" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "iVar4 = piVar6[1];" (assignment_expression "iVar4 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = piVar7[1];" (assignment_expression "piVar6[1] = piVar7[1]" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7[1] = iVar4;" (assignment_expression "piVar7[1] = iVar4" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = piVar6[2];" (assignment_expression "iVar4 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar7[2];" (assignment_expression "piVar6[2] = piVar7[2]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar7[2]" identifier [ number_literal ])) ;) (expression_statement "piVar7[2] = iVar4;" (assignment_expression "piVar7[2] = iVar4" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != piVar10)" ( (binary_expression "param_2 != piVar10" identifier != identifier) )) ;) (expression_statement "local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);" (assignment_expression "local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" identifier = (cast_expression "(int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" ( (binary_expression "(int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18" (binary_expression "(int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU)" ( (binary_expression "(int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU" (binary_expression "(int)param_2 + (-0xc - (int)piVar1)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-0xc - (int)piVar1)" ( (binary_expression "-0xc - (int)piVar1" number_literal - (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (expression_statement "piVar7 = param_2;" (assignment_expression "piVar7 = param_2" identifier = identifier) ;) (expression_statement "piVar10 = local_2c;" (assignment_expression "piVar10 = local_2c" identifier = identifier) ;) (expression_statement "piVar6 = piVar1;" (assignment_expression "piVar6 = piVar1" identifier = identifier) ;) (if_statement "if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }" if (parenthesized_expression "(param_2 != piVar2)" ( (binary_expression "param_2 != piVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }" { (do_statement "do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);" do (compound_statement "{\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    }" { (expression_statement "iVar4 = *piVar7;" (assignment_expression "iVar4 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar8 = piVar7 + 3;" (assignment_expression "piVar8 = piVar7 + 3" identifier = (binary_expression "piVar7 + 3" identifier + number_literal)) ;) (expression_statement "*piVar10 = iVar4;" (assignment_expression "*piVar10 = iVar4" (pointer_expression "*piVar10" * identifier) = identifier) ;) (expression_statement "iVar4 = piVar7[1];" (assignment_expression "iVar4 = piVar7[1]" identifier = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7[1] = 0;" (assignment_expression "piVar7[1] = 0" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[1] = iVar4;" (assignment_expression "piVar10[1] = iVar4" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = piVar7[2];" (assignment_expression "iVar4 = piVar7[2]" identifier = (subscript_expression "piVar7[2]" identifier [ number_literal ])) ;) (expression_statement "piVar7[2] = 0;" (assignment_expression "piVar7[2] = 0" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[2] = iVar4;" (assignment_expression "piVar10[2] = iVar4" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" identifier = identifier) ;) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" identifier = (binary_expression "piVar10 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar2 != piVar8)" ( (binary_expression "piVar2 != piVar8" identifier != identifier) )) ;) (expression_statement "local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);" (assignment_expression "local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" identifier = (cast_expression "(int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" ( (binary_expression "(int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc" (binary_expression "(int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU)" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU)" ( (binary_expression "(int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU" (binary_expression "(int)piVar2 + (-0xc - (int)param_2)" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-0xc - (int)param_2)" ( (binary_expression "-0xc - (int)param_2" number_literal - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) ;) })) (for_statement "for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }" for ( ; (binary_expression "piVar6 != piVar2" identifier != identifier) ; (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ) (compound_statement "{\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }" { (expression_statement "piVar7 = (int *)piVar6[1];" (assignment_expression "piVar7 = (int *)piVar6[1]" identifier = (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = (int *)*piVar6;" (assignment_expression "piVar10 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }" if (parenthesized_expression "(piVar7 != piVar10)" ( (binary_expression "piVar7 != piVar10" identifier != identifier) )) (compound_statement "{\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }" { (do_statement "do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);" do (compound_statement "{\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      }" { (if_statement "if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }" if (parenthesized_expression "((int *)*piVar10 != piVar10 + 2)" ( (binary_expression "(int *)*piVar10 != piVar10 + 2" (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier)) != (binary_expression "piVar10 + 2" identifier + number_literal)) )) (compound_statement "{\n          FUN_00248220((int *)*piVar10);\n        }" { (expression_statement "FUN_00248220((int *)*piVar10);" (call_expression "FUN_00248220((int *)*piVar10)" identifier (argument_list "((int *)*piVar10)" ( (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier)) ))) ;) })) (expression_statement "piVar10 = piVar10 + 6;" (assignment_expression "piVar10 = piVar10 + 6" identifier = (binary_expression "piVar10 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar7 != piVar10)" ( (binary_expression "piVar7 != piVar10" identifier != identifier) )) ;) (expression_statement "piVar10 = (int *)*piVar6;" (assignment_expression "piVar10 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) })) (if_statement "if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_00248220(piVar10);\n    }" { (expression_statement "FUN_00248220(piVar10);" (call_expression "FUN_00248220(piVar10)" identifier (argument_list "(piVar10)" ( identifier ))) ;) })) })) (if_statement "if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_00248220(piVar1);\n  }" { (expression_statement "FUN_00248220(piVar1);" (call_expression "FUN_00248220(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) })) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = local_20;" (assignment_expression "param_1[2] = local_20" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT * LIT) ))) < IDENT) || (binary_expression (binary_expression IDENT * LIT) == LIT)) )) && (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) & LIT) ))) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) & LIT) ))) + LIT) )))) ;) })) (for_statement for ( ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00213570(undefined4 *param_1,int *param_2,undefined4 *param_3)" (identifier "FUN_00213570") (parameter_list "(undefined4 *param_1,int *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  uint uVar9;\n  int *piVar10;\n  int *local_2c;\n  int *local_24;\n  int local_20;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)param_1[1];\n  iVar4 = (int)piVar2 - (int)piVar1 >> 2;\n  if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }\n  local_24 = (int *)FUN_00246670(local_20);\n  local_20 = local_20 + (int)local_24;\n  local_2c = local_24 + 3;\nLAB_002135e9:\n  uVar3 = *param_3;\n  *param_3 = 0;\n  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);\n  *puVar5 = uVar3;\n  uVar3 = param_3[1];\n  param_3[1] = 0;\n  puVar5[1] = uVar3;\n  uVar3 = param_3[2];\n  param_3[2] = 0;\n  puVar5[2] = uVar3;\n  piVar6 = local_24;\n  piVar7 = piVar1;\n  if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }\n  piVar7 = param_2;\n  piVar10 = local_2c;\n  piVar6 = piVar1;\n  if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }\n  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }\n  *param_1 = local_24;\n  param_1[1] = local_2c;\n  param_1[2] = local_20;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "piVar2 = (int *)param_1[1];" (assignment_expression "piVar2 = (int *)param_1[1]" (identifier "piVar2") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar4 = (int)piVar2 - (int)piVar1 >> 2;" (assignment_expression "iVar4 = (int)piVar2 - (int)piVar1 >> 2" (identifier "iVar4") (= "=") (binary_expression "(int)piVar2 - (int)piVar1 >> 2" (binary_expression "(int)piVar2 - (int)piVar1" (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2")) (- "-") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (iVar4 * -0x55555555 == 0) {\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }\n  else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 * -0x55555555 == 0)" (( "(") (binary_expression "iVar4 * -0x55555555 == 0" (binary_expression "iVar4 * -0x55555555" (identifier "iVar4") (* "*") (number_literal "-0x55555555")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar9 = 1;\nLAB_002137b5:\n    local_20 = uVar9 * 0xc;\n  }" ({ "{") (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" (identifier "uVar9") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_002137b5:\n    local_20 = uVar9 * 0xc;" (statement_identifier "LAB_002137b5") (: ":") (expression_statement "local_20 = uVar9 * 0xc;" (assignment_expression "local_20 = uVar9 * 0xc" (identifier "local_20") (= "=") (binary_expression "uVar9 * 0xc" (identifier "uVar9") (* "*") (number_literal "0xc"))) (; ";"))) (} "}")) (else_clause "else {\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" (else "else") (compound_statement "{\n    uVar9 = iVar4 * 0x55555556;\n    local_20 = -4;\n    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }\n  }" ({ "{") (expression_statement "uVar9 = iVar4 * 0x55555556;" (assignment_expression "uVar9 = iVar4 * 0x55555556" (identifier "uVar9") (= "=") (binary_expression "iVar4 * 0x55555556" (identifier "iVar4") (* "*") (number_literal "0x55555556"))) (; ";")) (expression_statement "local_20 = -4;" (assignment_expression "local_20 = -4" (identifier "local_20") (= "=") (number_literal "-4")) (; ";")) (if_statement "if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }" (if "if") (parenthesized_expression "(((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556))" (( "(") (binary_expression "((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)" (parenthesized_expression "((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0)" (( "(") (binary_expression "(uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0" (binary_expression "(uint)(iVar4 * -0x55555555) < uVar9" (call_expression "(uint)(iVar4 * -0x55555555)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar4 * -0x55555555)" (( "(") (binary_expression "iVar4 * -0x55555555" (identifier "iVar4") (* "*") (number_literal "-0x55555555")) () ")"))) (< "<") (identifier "uVar9")) (|| "||") (binary_expression "iVar4 * 0x55555555 == 0" (binary_expression "iVar4 * 0x55555555" (identifier "iVar4") (* "*") (number_literal "0x55555555")) (== "==") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(uVar9 < 0x15555556)" (( "(") (binary_expression "uVar9 < 0x15555556" (identifier "uVar9") (< "<") (number_literal "0x15555556")) () ")"))) () ")")) (compound_statement "{\n      if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }\n      goto LAB_002137b5;\n    }" ({ "{") (if_statement "if (uVar9 == 0) {\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_2c = (int *)0xc;\n        local_20 = 0;\n        local_24 = (int *)0x0;\n        goto LAB_002135e9;\n      }" ({ "{") (expression_statement "local_2c = (int *)0xc;" (assignment_expression "local_2c = (int *)0xc" (identifier "local_2c") (= "=") (cast_expression "(int *)0xc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xc"))) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = (int *)0x0;" (assignment_expression "local_24 = (int *)0x0" (identifier "local_24") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_002135e9;" (goto "goto") (statement_identifier "LAB_002135e9") (; ";")) (} "}"))) (goto_statement "goto LAB_002137b5;" (goto "goto") (statement_identifier "LAB_002137b5") (; ";")) (} "}"))) (} "}")))) (expression_statement "local_24 = (int *)FUN_00246670(local_20);" (assignment_expression "local_24 = (int *)FUN_00246670(local_20)" (identifier "local_24") (= "=") (cast_expression "(int *)FUN_00246670(local_20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(local_20)" (identifier "FUN_00246670") (argument_list "(local_20)" (( "(") (identifier "local_20") () ")"))))) (; ";")) (expression_statement "local_20 = local_20 + (int)local_24;" (assignment_expression "local_20 = local_20 + (int)local_24" (identifier "local_20") (= "=") (binary_expression "local_20 + (int)local_24" (identifier "local_20") (+ "+") (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")))) (; ";")) (expression_statement "local_2c = local_24 + 3;" (assignment_expression "local_2c = local_24 + 3" (identifier "local_2c") (= "=") (binary_expression "local_24 + 3" (identifier "local_24") (+ "+") (number_literal "3"))) (; ";")) (labeled_statement "LAB_002135e9:\n  uVar3 = *param_3;" (statement_identifier "LAB_002135e9") (: ":") (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" (identifier "uVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";"))) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);" (assignment_expression "puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((int)param_2 - (int)piVar1) + (int)local_24)" (( "(") (binary_expression "((int)param_2 - (int)piVar1) + (int)local_24" (parenthesized_expression "((int)param_2 - (int)piVar1)" (( "(") (binary_expression "(int)param_2 - (int)piVar1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) () ")")) (+ "+") (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24"))) () ")")))) (; ";")) (expression_statement "*puVar5 = uVar3;" (assignment_expression "*puVar5 = uVar3" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = param_3[1];" (assignment_expression "uVar3 = param_3[1]" (identifier "uVar3") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[1] = uVar3;" (assignment_expression "puVar5[1] = uVar3" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = param_3[2];" (assignment_expression "uVar3 = param_3[2]" (identifier "uVar3") (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[2] = uVar3;" (assignment_expression "puVar5[2] = uVar3" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "piVar6 = local_24;" (assignment_expression "piVar6 = local_24" (identifier "piVar6") (= "=") (identifier "local_24")) (; ";")) (expression_statement "piVar7 = piVar1;" (assignment_expression "piVar7 = piVar1" (identifier "piVar7") (= "=") (identifier "piVar1")) (; ";")) (if_statement "if (param_2 != piVar1) {\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }" (if "if") (parenthesized_expression "(param_2 != piVar1)" (( "(") (binary_expression "param_2 != piVar1" (identifier "param_2") (!= "!=") (identifier "piVar1")) () ")")) (compound_statement "{\n    do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);\n    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);\n  }" ({ "{") (do_statement "do {\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    } while (param_2 != piVar10);" (do "do") (compound_statement "{\n      piVar6[1] = 0;\n      piVar10 = piVar7 + 3;\n      piVar6[2] = 0;\n      *piVar6 = 0;\n      *piVar6 = *piVar7;\n      *piVar7 = 0;\n      iVar4 = piVar6[1];\n      piVar6[1] = piVar7[1];\n      piVar7[1] = iVar4;\n      iVar4 = piVar6[2];\n      piVar6[2] = piVar7[2];\n      piVar7[2] = iVar4;\n      piVar6 = piVar6 + 3;\n      piVar7 = piVar10;\n    }" ({ "{") (expression_statement "piVar6[1] = 0;" (assignment_expression "piVar6[1] = 0" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar10 = piVar7 + 3;" (assignment_expression "piVar10 = piVar7 + 3" (identifier "piVar10") (= "=") (binary_expression "piVar7 + 3" (identifier "piVar7") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "piVar6[2] = 0;" (assignment_expression "piVar6[2] = 0" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar6 = 0;" (assignment_expression "*piVar6 = 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar6 = *piVar7;" (assignment_expression "*piVar6 = *piVar7" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = piVar6[1];" (assignment_expression "iVar4 = piVar6[1]" (identifier "iVar4") (= "=") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar6[1] = piVar7[1];" (assignment_expression "piVar6[1] = piVar7[1]" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar7[1] = iVar4;" (assignment_expression "piVar7[1] = iVar4" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = piVar6[2];" (assignment_expression "iVar4 = piVar6[2]" (identifier "iVar4") (= "=") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar6[2] = piVar7[2];" (assignment_expression "piVar6[2] = piVar7[2]" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar7[2] = iVar4;" (assignment_expression "piVar7[2] = iVar4" (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 3" (identifier "piVar6") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != piVar10)" (( "(") (binary_expression "param_2 != piVar10" (identifier "param_2") (!= "!=") (identifier "piVar10")) () ")")) (; ";")) (expression_statement "local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);" (assignment_expression "local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" (identifier "local_2c") (= "=") (cast_expression "(int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18)" (( "(") (binary_expression "(int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18" (binary_expression "(int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU)" (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")) (+ "+") (parenthesized_expression "((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU)" (( "(") (binary_expression "(int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU" (binary_expression "(int)param_2 + (-0xc - (int)piVar1)" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (parenthesized_expression "(-0xc - (int)piVar1)" (( "(") (binary_expression "-0xc - (int)piVar1" (number_literal "-0xc") (- "-") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) () ")"))) (& "&") (number_literal "0xfffffffcU")) () ")"))) (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (} "}"))) (expression_statement "piVar7 = param_2;" (assignment_expression "piVar7 = param_2" (identifier "piVar7") (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar10 = local_2c;" (assignment_expression "piVar10 = local_2c" (identifier "piVar10") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "piVar6 = piVar1;" (assignment_expression "piVar6 = piVar1" (identifier "piVar6") (= "=") (identifier "piVar1")) (; ";")) (if_statement "if (param_2 != piVar2) {\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }" (if "if") (parenthesized_expression "(param_2 != piVar2)" (( "(") (binary_expression "param_2 != piVar2" (identifier "param_2") (!= "!=") (identifier "piVar2")) () ")")) (compound_statement "{\n    do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);\n    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);\n  }" ({ "{") (do_statement "do {\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    } while (piVar2 != piVar8);" (do "do") (compound_statement "{\n      iVar4 = *piVar7;\n      *piVar7 = 0;\n      piVar8 = piVar7 + 3;\n      *piVar10 = iVar4;\n      iVar4 = piVar7[1];\n      piVar7[1] = 0;\n      piVar10[1] = iVar4;\n      iVar4 = piVar7[2];\n      piVar7[2] = 0;\n      piVar10[2] = iVar4;\n      piVar7 = piVar8;\n      piVar10 = piVar10 + 3;\n    }" ({ "{") (expression_statement "iVar4 = *piVar7;" (assignment_expression "iVar4 = *piVar7" (identifier "iVar4") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8 = piVar7 + 3;" (assignment_expression "piVar8 = piVar7 + 3" (identifier "piVar8") (= "=") (binary_expression "piVar7 + 3" (identifier "piVar7") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "*piVar10 = iVar4;" (assignment_expression "*piVar10 = iVar4" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = piVar7[1];" (assignment_expression "iVar4 = piVar7[1]" (identifier "iVar4") (= "=") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar7[1] = 0;" (assignment_expression "piVar7[1] = 0" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar10[1] = iVar4;" (assignment_expression "piVar10[1] = iVar4" (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = piVar7[2];" (assignment_expression "iVar4 = piVar7[2]" (identifier "iVar4") (= "=") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar7[2] = 0;" (assignment_expression "piVar7[2] = 0" (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar10[2] = iVar4;" (assignment_expression "piVar10[2] = iVar4" (subscript_expression "piVar10[2]" (identifier "piVar10") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" (identifier "piVar7") (= "=") (identifier "piVar8")) (; ";")) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" (identifier "piVar10") (= "=") (binary_expression "piVar10 + 3" (identifier "piVar10") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar2 != piVar8)" (( "(") (binary_expression "piVar2 != piVar8" (identifier "piVar2") (!= "!=") (identifier "piVar8")) () ")")) (; ";")) (expression_statement "local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);" (assignment_expression "local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" (identifier "local_2c") (= "=") (cast_expression "(int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc)" (( "(") (binary_expression "(int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc" (binary_expression "(int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU)" (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")) (+ "+") (parenthesized_expression "((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU)" (( "(") (binary_expression "(int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU" (binary_expression "(int)piVar2 + (-0xc - (int)param_2)" (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2")) (+ "+") (parenthesized_expression "(-0xc - (int)param_2)" (( "(") (binary_expression "-0xc - (int)param_2" (number_literal "-0xc") (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (& "&") (number_literal "0xfffffffcU")) () ")"))) (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (} "}"))) (for_statement "for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }" (for "for") (( "(") (; ";") (binary_expression "piVar6 != piVar2" (identifier "piVar6") (!= "!=") (identifier "piVar2")) (; ";") (assignment_expression "piVar6 = piVar6 + 3" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 3" (identifier "piVar6") (+ "+") (number_literal "3"))) () ")") (compound_statement "{\n    piVar7 = (int *)piVar6[1];\n    piVar10 = (int *)*piVar6;\n    if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }\n    if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }\n  }" ({ "{") (expression_statement "piVar7 = (int *)piVar6[1];" (assignment_expression "piVar7 = (int *)piVar6[1]" (identifier "piVar7") (= "=") (cast_expression "(int *)piVar6[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar10 = (int *)*piVar6;" (assignment_expression "piVar10 = (int *)*piVar6" (identifier "piVar10") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if (piVar7 != piVar10) {\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }" (if "if") (parenthesized_expression "(piVar7 != piVar10)" (( "(") (binary_expression "piVar7 != piVar10" (identifier "piVar7") (!= "!=") (identifier "piVar10")) () ")")) (compound_statement "{\n      do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);\n      piVar10 = (int *)*piVar6;\n    }" ({ "{") (do_statement "do {\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      } while (piVar7 != piVar10);" (do "do") (compound_statement "{\n        if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }\n        piVar10 = piVar10 + 6;\n      }" ({ "{") (if_statement "if ((int *)*piVar10 != piVar10 + 2) {\n          FUN_00248220((int *)*piVar10);\n        }" (if "if") (parenthesized_expression "((int *)*piVar10 != piVar10 + 2)" (( "(") (binary_expression "(int *)*piVar10 != piVar10 + 2" (cast_expression "(int *)*piVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (!= "!=") (binary_expression "piVar10 + 2" (identifier "piVar10") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n          FUN_00248220((int *)*piVar10);\n        }" ({ "{") (expression_statement "FUN_00248220((int *)*piVar10);" (call_expression "FUN_00248220((int *)*piVar10)" (identifier "FUN_00248220") (argument_list "((int *)*piVar10)" (( "(") (cast_expression "(int *)*piVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar10 = piVar10 + 6;" (assignment_expression "piVar10 = piVar10 + 6" (identifier "piVar10") (= "=") (binary_expression "piVar10 + 6" (identifier "piVar10") (+ "+") (number_literal "6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar7 != piVar10)" (( "(") (binary_expression "piVar7 != piVar10" (identifier "piVar7") (!= "!=") (identifier "piVar10")) () ")")) (; ";")) (expression_statement "piVar10 = (int *)*piVar6;" (assignment_expression "piVar10 = (int *)*piVar6" (identifier "piVar10") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (} "}"))) (if_statement "if (piVar10 != (int *)0x0) {\n      FUN_00248220(piVar10);\n    }" (if "if") (parenthesized_expression "(piVar10 != (int *)0x0)" (( "(") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_00248220(piVar10);\n    }" ({ "{") (expression_statement "FUN_00248220(piVar10);" (call_expression "FUN_00248220(piVar10)" (identifier "FUN_00248220") (argument_list "(piVar10)" (( "(") (identifier "piVar10") () ")"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (piVar1 != (int *)0x0) {\n    FUN_00248220(piVar1);\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_00248220(piVar1);\n  }" ({ "{") (expression_statement "FUN_00248220(piVar1);" (call_expression "FUN_00248220(piVar1)" (identifier "FUN_00248220") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "param_1[2] = local_20;" (assignment_expression "param_1[2] = local_20" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_20")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_realloc_insert<std::vector<std::__cxx11::basic_string<char,
   std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
   std::char_traits<char>, std::allocator<char> > > > >
   DWARF original prototype: void
   _M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>(vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>
   * this, iterator __position,
   vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
   * __args#0) */

void __thiscall
std::
vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>
::
_M_realloc_insert<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
          (vector<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>,_std::allocator<std::vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>_>
           *this,iterator __position,
          vector<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::allocator<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
          *__args_0)

{
}


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

{
  int *piVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 *puVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  uint uVar9;
  int *piVar10;
  int *local_2c;
  int *local_24;
  int local_20;
  
  piVar1 = (int *)*param_1;
  piVar2 = (int *)param_1[1];
  iVar4 = (int)piVar2 - (int)piVar1 >> 2;
  if (iVar4 * -0x55555555 == 0) {
    uVar9 = 1;
LAB_002137b5:
    local_20 = uVar9 * 0xc;
  }
  else {
    uVar9 = iVar4 * 0x55555556;
    local_20 = -4;
    if (((uint)(iVar4 * -0x55555555) < uVar9 || iVar4 * 0x55555555 == 0) && (uVar9 < 0x15555556)) {
      if (uVar9 == 0) {
        local_2c = (int *)0xc;
        local_20 = 0;
        local_24 = (int *)0x0;
        goto LAB_002135e9;
      }
      goto LAB_002137b5;
    }
  }
  local_24 = (int *)FUN_00246670(local_20);
  local_20 = local_20 + (int)local_24;
  local_2c = local_24 + 3;
LAB_002135e9:
  uVar3 = *param_3;
  *param_3 = 0;
  puVar5 = (undefined4 *)(((int)param_2 - (int)piVar1) + (int)local_24);
  *puVar5 = uVar3;
  uVar3 = param_3[1];
  param_3[1] = 0;
  puVar5[1] = uVar3;
  uVar3 = param_3[2];
  param_3[2] = 0;
  puVar5[2] = uVar3;
  piVar6 = local_24;
  piVar7 = piVar1;
  if (param_2 != piVar1) {
    do {
      piVar6[1] = 0;
      piVar10 = piVar7 + 3;
      piVar6[2] = 0;
      *piVar6 = 0;
      *piVar6 = *piVar7;
      *piVar7 = 0;
      iVar4 = piVar6[1];
      piVar6[1] = piVar7[1];
      piVar7[1] = iVar4;
      iVar4 = piVar6[2];
      piVar6[2] = piVar7[2];
      piVar7[2] = iVar4;
      piVar6 = piVar6 + 3;
      piVar7 = piVar10;
    } while (param_2 != piVar10);
    local_2c = (int *)((int)local_24 + ((int)param_2 + (-0xc - (int)piVar1) & 0xfffffffcU) + 0x18);
  }
  piVar7 = param_2;
  piVar10 = local_2c;
  piVar6 = piVar1;
  if (param_2 != piVar2) {
    do {
      iVar4 = *piVar7;
      *piVar7 = 0;
      piVar8 = piVar7 + 3;
      *piVar10 = iVar4;
      iVar4 = piVar7[1];
      piVar7[1] = 0;
      piVar10[1] = iVar4;
      iVar4 = piVar7[2];
      piVar7[2] = 0;
      piVar10[2] = iVar4;
      piVar7 = piVar8;
      piVar10 = piVar10 + 3;
    } while (piVar2 != piVar8);
    local_2c = (int *)((int)local_2c + ((int)piVar2 + (-0xc - (int)param_2) & 0xfffffffcU) + 0xc);
  }
  for (; piVar6 != piVar2; piVar6 = piVar6 + 3) {
    piVar7 = (int *)piVar6[1];
    piVar10 = (int *)*piVar6;
    if (piVar7 != piVar10) {
      do {
        if ((int *)*piVar10 != piVar10 + 2) {
          FUN_00248220((int *)*piVar10);
        }
        piVar10 = piVar10 + 6;
      } while (piVar7 != piVar10);
      piVar10 = (int *)*piVar6;
    }
    if (piVar10 != (int *)0x0) {
      FUN_00248220(piVar10);
    }
  }
  if (piVar1 != (int *)0x0) {
    FUN_00248220(piVar1);
  }
  *param_1 = local_24;
  param_1[1] = local_2c;
  param_1[2] = local_20;
  return;
}

