
void __regparm1
fkLookupParent(Parse *pParse,int iDb,Table *pTab,Index *pIdx,FKey *pFKey,int *aiCol,int regData,
              int nIncr,int isIgnore)

{
  u8 uVar1;
  short iCol;
  char *nReg;
  Table *pTab_00;
  byte bVar2;
  short sVar3;
  short sVar4;
  Vdbe *p;
  int p1;
  int p2;
  int iVar5;
  char *zP4;
  Table *pTab_01;
  int extraout_ECX;
  int extraout_ECX_00;
  int p3;
  Op *pOVar6;
  FKey *p3_00;
  int iVar7;
  int unaff_EDI;
  int iVar8;
  int iVar9;
  int local_50;
  
  __x86_get_pc_thunk_di();
  p = pParse->pVdbe;
  if (p == (Vdbe *)0x0) {
    p = sqlite3GetVdbe(pParse);
  }
  p1 = pParse->nTab + -1;
  p2 = pParse->nLabel + -1;
  pParse->nLabel = p2;
  if (aiCol == (int *)&DAT_ffffffff) {
    sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);
  }
  for (iVar8 = 0; nReg = pTab->zColAff, iVar8 < (int)nReg; iVar8 = iVar8 + 1) {
    sVar3 = (short)(&pIdx->zName)[iVar8];
    if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {
      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);
    }
    sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);
  }
  if (regData == 0) {
    if (iDb == 0) {
      if (pParse->nTempReg == '\0') {
        iVar8 = pParse->nMem + 1;
        pParse->nMem = iVar8;
      }
      else {
        bVar2 = pParse->nTempReg - 1;
        pParse->nTempReg = bVar2;
        iVar8 = pParse->aTempReg[bVar2];
      }
      sVar3 = (short)pIdx->zName;
      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {
        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);
      }
      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);
      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);
      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {
        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);
        if (0 < p->nOp) {
          p->aOp[p->nOp + -1].p5 = 0x90;
        }
      }
      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);
      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);
      sqlite3VdbeAddOp3(p,0xb,0,p2,0);
      iVar9 = p->nOp;
      local_50 = iVar9 + -2;
      if (local_50 < 0) {
        local_50 = iVar9 + -1;
      }
      uVar1 = p->db->mallocFailed;
      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);
      if (uVar1 == '\0') {
        pOVar6 = p->aOp + local_50;
      }
      pOVar6->p2 = iVar9;
      if (iVar5 < 0) {
        iVar5 = iVar9 + -1;
      }
      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);
      if (uVar1 == '\0') {
        pOVar6 = p->aOp + iVar5;
      }
      pOVar6->p2 = iVar9;
      if (iVar8 != 0) {
        sqlite3ReleaseTempReg(pParse,iVar8);
      }
    }
    else {
      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);
      if (pParse->nTempReg == '\0') {
        iVar5 = pParse->nMem + 1;
        pParse->nMem = iVar5;
      }
      else {
        bVar2 = pParse->nTempReg - 1;
        pParse->nTempReg = bVar2;
        iVar5 = pParse->aTempReg[bVar2];
      }
      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);
      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);
      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {
        sVar3 = (short)(&pIdx->zName)[iVar9];
        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {
          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);
        }
        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);
      }
      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {
        iVar9 = p->nOp;
        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {
          sVar3 = (short)(&pIdx->zName)[iVar7];
          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {
            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);
          }
          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);
          sVar4 = iCol;
          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {
            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);
          }
          p3_00 = pFKey;
          if (iCol != pTab_01->iPKey) {
            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);
          }
          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),
                            (int)p3_00);
          if (0 < p->nOp) {
            p->aOp[p->nOp + -1].p5 = 0x10;
          }
        }
        sqlite3VdbeAddOp3(p,0xb,0,p2,0);
      }
      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);
      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);
      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);
      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);
      iVar9 = extraout_ECX;
      if (iVar5 != 0) {
        sqlite3ReleaseTempReg(pParse,iVar5);
        iVar9 = extraout_ECX_00;
      }
      if (nReg == (char *)0x1) {
        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);
      }
      else if (pParse->nRangeReg < (int)nReg) {
        pParse->nRangeReg = (int)nReg;
        pParse->iRangeReg = iVar8;
      }
    }
  }
  bVar2 = *(byte *)&pTab->pCheck;
  if (bVar2 == 0) {
    if ((pParse->db->flags & 0x80000) == 0) {
      if (pParse->pToplevel == (Parse *)0x0) {
        if (pParse->isMultiWrite == '\0') {
          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');
          goto LAB_0001827b;
        }
        if (aiCol == (int *)0x1) goto LAB_00018260;
      }
      else if (aiCol == (int *)0x1) {
        pParse = pParse->pToplevel;
        goto LAB_00018260;
      }
    }
    else if (aiCol == (int *)0x1) {
      if (pParse->pToplevel != (Parse *)0x0) {
        pParse = pParse->pToplevel;
      }
LAB_00018260:
      pParse->mayAbort = '\x01';
    }
  }
  sqlite3VdbeAddOp3(p,0x95,(uint)bVar2,(int)aiCol,0);
LAB_0001827b:
  sqlite3VdbeResolveLabel(p,p2);
  sqlite3VdbeAddOp3(p,0x74,p1,0,0);
  return;
}



void __regparm1
FUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,
            int param_7)

{
  char cVar1;
  ushort uVar2;
  byte bVar3;
  short sVar4;
  ushort uVar5;
  int iVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  int extraout_ECX;
  undefined4 extraout_ECX_00;
  undefined4 extraout_EDX;
  int extraout_EDX_00;
  int extraout_EDX_01;
  int iVar11;
  int extraout_EDX_02;
  int iVar12;
  int extraout_EDX_03;
  int extraout_EDX_04;
  int extraout_EDX_05;
  int iVar13;
  int *piVar14;
  int unaff_EDI;
  int iVar15;
  uint uVar16;
  undefined8 uVar17;
  int local_50;
  
  FUN_000a94ff();
  uVar17 = CONCAT44(extraout_EDX,param_1[2]);
  if (param_1[2] == 0) {
    uVar17 = FUN_000318c0();
  }
  iVar11 = (int)((ulonglong)uVar17 >> 0x20);
  piVar14 = (int *)uVar17;
  iVar6 = param_1[0xe] + -1;
  param_1[0xe] = iVar6;
  if (param_6 == -1) {
    FUN_000315c0(iVar6,0,param_3,param_3);
    iVar11 = extraout_EDX_00;
  }
  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {
    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {
      FUN_0002a110();
    }
    FUN_000315c0(iVar6,0,iVar7,iVar7);
    iVar11 = extraout_EDX_01;
  }
  if (param_7 == 0) {
    if (param_2 == 0) {
      if (*(char *)((int)param_1 + 0x13) == '\0') {
        iVar15 = param_1[0xb] + 1;
        param_1[0xb] = iVar15;
      }
      else {
        bVar3 = *(char *)((int)param_1 + 0x13) - 1;
        *(byte *)((int)param_1 + 0x13) = bVar3;
        iVar15 = param_1[bVar3 + 0x26];
      }
      sVar4 = (short)*param_4;
      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {
        sVar4 = FUN_0002a110();
      }
      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);
      iVar7 = FUN_000315c0(0,0);
      piVar8 = param_3;
      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {
        FUN_000315c0(iVar6,iVar15,param_3,param_3);
        piVar8 = (int *)piVar14[0x1a];
        if (0 < (int)piVar8) {
          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);
          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;
        }
      }
      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);
      FUN_000315c0(0,iVar15);
      FUN_000315c0(iVar6,0);
      iVar6 = piVar14[0x1a];
      local_50 = iVar6 + -2;
      if (local_50 < 0) {
        local_50 = iVar6 + -1;
      }
      cVar1 = *(char *)(*piVar14 + 0x4d);
      iVar11 = unaff_EDI + 0xc7858;
      if (cVar1 == '\0') {
        iVar11 = local_50 * 0x14 + piVar14[0x19];
      }
      *(int *)(iVar11 + 8) = iVar6;
      if (iVar7 < 0) {
        iVar7 = iVar6 + -1;
      }
      iVar11 = unaff_EDI + 0xc7858;
      if (cVar1 == '\0') {
        iVar11 = iVar7 * 0x14 + piVar14[0x19];
      }
      *(int *)(iVar11 + 8) = iVar6;
      if (iVar15 != 0) {
        FUN_00029c40();
        iVar11 = extraout_EDX_02;
      }
    }
    else {
      iVar15 = FUN_00029c70();
      if (*(char *)((int)param_1 + 0x13) == '\0') {
        iVar9 = param_1[0xb] + 1;
        param_1[0xb] = iVar9;
      }
      else {
        bVar3 = *(char *)((int)param_1 + 0x13) - 1;
        *(byte *)((int)param_1 + 0x13) = bVar3;
        iVar9 = param_1[bVar3 + 0x26];
      }
      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);
      FUN_0004b400();
      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {
        sVar4 = (short)param_4[uVar16];
        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {
          sVar4 = FUN_0002a110();
        }
        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);
      }
      if ((extraout_ECX == *param_3) && (param_6 == 1)) {
        iVar11 = piVar14[0x1a];
        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {
          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {
            FUN_0002a110();
          }
          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);
          uVar5 = uVar2;
          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {
            uVar5 = FUN_0002a110();
          }
          iVar10 = extraout_ECX;
          iVar12 = param_5;
          uVar16 = (uint)uVar2;
          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {
            iVar10 = (int)(short)uVar5;
            iVar12 = iVar10 + param_5 + 1U;
            uVar16 = param_5 + 1U;
          }
          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);
          if (0 < piVar14[0x1a]) {
            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;
          }
        }
        FUN_000315c0(iVar6,0,uVar16,uVar16);
      }
      FUN_0002e150();
      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);
      FUN_00032090(iVar7);
      FUN_000316b0(iVar6,iVar9,0);
      iVar11 = extraout_EDX_03;
      if (iVar9 != 0) {
        FUN_00029c40();
        iVar11 = extraout_EDX_04;
      }
      if (iVar7 == 1) {
        FUN_00029ce0();
        iVar11 = extraout_EDX_05;
      }
      else if (param_1[7] < iVar7) {
        param_1[7] = iVar7;
        param_1[8] = iVar15;
      }
    }
  }
  if ((char)param_3[6] == '\0') {
    param_3 = (int *)*param_1;
    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {
      if (param_1[0x1d] == 0) {
        if ((char)param_1[5] == '\0') {
          FUN_00032230(0,0xffffffff,4,iVar11);
          goto LAB_0001827b;
        }
        if (param_6 == 1) goto LAB_00018260;
      }
      else if (param_6 == 1) {
        param_1 = (int *)param_1[0x1d];
        goto LAB_00018260;
      }
    }
    else if (param_6 == 1) {
      param_3 = (int *)param_1[0x1d];
      if (param_3 != (int *)0x0) {
        param_1 = param_3;
      }
LAB_00018260:
      *(undefined1 *)((int)param_1 + 0x15) = 1;
    }
  }
  FUN_000315c0(param_6,0,param_3,param_3);
LAB_0001827b:
  FUN_00031430();
  FUN_000315c0();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,EAX
CALL 0x000a94ff
ADD EDI,0xc6288
SUB ESP,0x4c
MOV ESI,dword ptr [EBX + 0x8]
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x14],EDI
MOV dword ptr [ESP + 0x2c],EDX
MOV dword ptr [ESP + 0x24],ECX
TEST ESI,ESI
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x68]
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x6c]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x74]
MOV dword ptr [ESP + 0x30],EAX
JNZ 0x00017dcd
MOV EAX,EBX
CALL 0x000318c0
MOV ESI,EAX
MOV EAX,dword ptr [EBX + 0x28]
DEC EAX
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EBX + 0x38]
DEC EAX
CMP dword ptr [ESP + 0x10],-0x1
MOV dword ptr [ESP + 0x4],EAX
MOV dword ptr [EBX + 0x38],EAX
JNZ 0x00017e06
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,0x2f
MOVZX ECX,byte ptr [EAX + 0x18]
PUSH EAX
PUSH EAX
PUSH 0x0
MOV EAX,ESI
PUSH dword ptr [ESP + 0x10]
CALL 0x000315c0
ADD ESP,0x10
XOR EDI,EDI
MOV EAX,dword ptr [ESP + 0x8]
MOV EBP,dword ptr [EAX + 0x14]
CMP EBP,EDI
JLE 0x00017e5a
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ECX]
MOV EDX,dword ptr [EAX + EDI*0x4]
TEST byte ptr [ECX + 0x24],0x20
MOV EAX,EDX
JZ 0x00017e37
TEST DX,DX
JS 0x00017e37
MOVSX EDX,DX
MOV EAX,ECX
CALL 0x0002a110
MOV ECX,dword ptr [ESP + 0xc]
CWDE
PUSH EBP
PUSH EBP
PUSH 0x0
MOV EDX,0x32
PUSH dword ptr [ESP + 0x10]
INC EDI
LEA ECX,[ECX + EAX*0x1 + 0x1]
MOV EAX,ESI
CALL 0x000315c0
ADD ESP,0x10
JMP 0x00017e08
CMP dword ptr [ESP + 0x30],0x0
JNZ 0x00018210
CMP dword ptr [ESP + 0x18],0x0
JNZ 0x00017fd2
MOV AL,byte ptr [EBX + 0x13]
TEST AL,AL
JNZ 0x00017e82
MOV EAX,dword ptr [EBX + 0x2c]
LEA EDI,[EAX + 0x1]
MOV dword ptr [EBX + 0x2c],EDI
JMP 0x00017e90
DEC EAX
MOV byte ptr [EBX + 0x13],AL
MOVZX EAX,AL
MOV EDI,dword ptr [EBX + EAX*0x4 + 0x98]
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ECX]
MOV EDX,dword ptr [EAX]
TEST byte ptr [ECX + 0x24],0x20
MOV EAX,EDX
JZ 0x00017eb3
TEST DX,DX
JS 0x00017eb3
MOVSX EDX,DX
MOV EAX,ECX
CALL 0x0002a110
MOV ECX,dword ptr [ESP + 0xc]
CWDE
MOV EDX,0x4e
LEA ECX,[ECX + EAX*0x1 + 0x1]
PUSH EAX
PUSH EAX
PUSH 0x0
PUSH EDI
MOV EAX,ESI
CALL 0x000315c0
POP EAX
POP EDX
PUSH 0x0
PUSH 0x0
MOV ECX,EDI
MOV EDX,0xf
MOV EAX,ESI
CALL 0x000315c0
ADD ESP,0x10
MOV EBP,EAX
MOV ECX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [ESP + 0x8]
CMP dword ptr [EAX],ECX
JNZ 0x00017f26
CMP dword ptr [ESP + 0x10],0x1
JNZ 0x00017f26
PUSH EAX
PUSH EAX
MOV EDX,0x35
PUSH EDI
PUSH dword ptr [ESP + 0x10]
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x000315c0
MOV EAX,dword ptr [ESI + 0x68]
ADD ESP,0x10
TEST EAX,EAX
JLE 0x00017f26
IMUL EAX,EAX,0x14
ADD EAX,dword ptr [ESI + 0x64]
MOV word ptr [EAX + -0x12],0x90
PUSH EAX
PUSH EAX
MOV EAX,EBX
PUSH 0x60
PUSH dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [ESP + 0x2c]
CALL 0x0004b430
POP EAX
POP EDX
PUSH EDI
PUSH 0x0
MOV EDX,0x20
MOV ECX,dword ptr [ESP + 0x2c]
MOV EAX,ESI
CALL 0x000315c0
POP ECX
POP EAX
PUSH 0x0
PUSH dword ptr [ESP + 0x10]
XOR ECX,ECX
MOV EDX,0xb
MOV EAX,ESI
CALL 0x000315c0
MOV EAX,dword ptr [ESI + 0x68]
ADD ESP,0x10
MOV ECX,EAX
SUB ECX,0x2
MOV dword ptr [ESP + 0xc],ECX
JNS 0x00017f80
LEA ECX,[EAX + -0x1]
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,dword ptr [ESI]
MOV EDX,dword ptr [ESP + 0x14]
MOV CL,byte ptr [ECX + 0x4d]
LEA EDX,[EDX + 0x15d0]
TEST CL,CL
JNZ 0x00017f9b
IMUL EDX,dword ptr [ESP + 0xc],0x14
ADD EDX,dword ptr [ESI + 0x64]
TEST EBP,EBP
MOV dword ptr [EDX + 0x8],EAX
JNS 0x00017fa5
LEA EBP,[EAX + -0x1]
MOV EDX,dword ptr [ESP + 0x14]
TEST CL,CL
LEA EDX,[EDX + 0x15d0]
JNZ 0x00017fb9
IMUL EDX,EBP,0x14
ADD EDX,dword ptr [ESI + 0x64]
TEST EDI,EDI
MOV dword ptr [EDX + 0x8],EAX
JZ 0x00018210
MOV EDX,EDI
MOV EAX,EBX
CALL 0x00029c40
JMP 0x00018210
MOV EDX,EBP
MOV EAX,EBX
CALL 0x00029c70
MOV dword ptr [ESP + 0x20],EAX
MOV AL,byte ptr [EBX + 0x13]
TEST AL,AL
JNZ 0x00017ff3
MOV EAX,dword ptr [EBX + 0x2c]
INC EAX
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [EBX + 0x2c],EAX
JMP 0x00018005
DEC EAX
MOV byte ptr [EBX + 0x13],AL
MOVZX EAX,AL
MOV EAX,dword ptr [EBX + EAX*0x4 + 0x98]
MOV dword ptr [ESP + 0x14],EAX
PUSH EAX
PUSH EAX
MOV EDX,0x60
PUSH dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESP + 0x24]
XOR EDI,EDI
PUSH dword ptr [EAX + 0x2c]
MOV ECX,dword ptr [ESP + 0x2c]
MOV EAX,ESI
CALL 0x000315c0
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,EBX
CALL 0x0004b400
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
CMP EBP,EDI
MOV ECX,dword ptr [EAX]
JLE 0x00018087
MOV EAX,dword ptr [ESP + 0x20]
ADD EAX,EDI
TEST byte ptr [ECX + 0x24],0x20
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [EAX + EDI*0x4]
MOV EAX,EDX
JZ 0x00018064
TEST DX,DX
JS 0x00018064
MOVSX EDX,DX
MOV EAX,ECX
CALL 0x0002a110
MOV ECX,dword ptr [ESP + 0xc]
CWDE
MOV EDX,0x4d
INC EDI
LEA ECX,[ECX + EAX*0x1 + 0x1]
PUSH EAX
PUSH EAX
PUSH 0x0
PUSH dword ptr [ESP + 0x38]
MOV EAX,ESI
CALL 0x000315c0
ADD ESP,0x10
JMP 0x00018032
CMP dword ptr [ESP + 0x24],ECX
JNZ 0x0001818b
CMP dword ptr [ESP + 0x10],0x1
JNZ 0x0001818b
MOV EAX,dword ptr [ESI + 0x68]
MOV dword ptr [ESP + 0x3c],EBX
MOV EBX,dword ptr [ESP + 0x30]
ADD EAX,EBP
INC EAX
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [ESP + 0xc]
INC EAX
MOV dword ptr [ESP + 0x38],EAX
CMP EBP,EBX
JLE 0x0001816e
MOV EDI,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [EDI]
MOV EDX,dword ptr [EAX + EBX*0x4]
TEST byte ptr [ECX + 0x24],0x20
MOV EAX,EDX
JZ 0x000180e3
TEST DX,DX
JS 0x000180e3
MOVSX EDX,DX
MOV EAX,ECX
CALL 0x0002a110
MOV EDI,dword ptr [ESP + 0xc]
CWDE
LEA ECX,[EDI + EAX*0x1 + 0x1]
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0x4]
MOV DI,word ptr [EAX + EBX*0x2]
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0xc]
TEST byte ptr [EAX + 0x24],0x20
JZ 0x00018120
TEST DI,DI
JS 0x00018120
MOVSX EDX,DI
MOV dword ptr [ESP + 0x30],ECX
CALL 0x0002a110
MOV ECX,dword ptr [ESP + 0x30]
MOV word ptr [ESP + 0x2c],AX
JMP 0x00018125
MOV word ptr [ESP + 0x2c],DI
MOV EAX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESP + 0xc]
CMP DI,word ptr [EAX + 0x28]
JZ 0x0001813f
MOVSX EAX,word ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x38]
LEA EDX,[EAX + EDI*0x1]
PUSH EAX
PUSH EAX
MOV EAX,ESI
PUSH EDX
PUSH dword ptr [ESP + 0x40]
MOV EDX,0x34
CALL 0x000315c0
MOV EAX,dword ptr [ESI + 0x68]
ADD ESP,0x10
TEST EAX,EAX
JLE 0x00018168
IMUL EAX,EAX,0x14
ADD EAX,dword ptr [ESI + 0x64]
MOV word ptr [EAX + -0x12],0x10
INC EBX
JMP 0x000180b7
MOV EBX,dword ptr [ESP + 0x3c]
PUSH EDI
XOR ECX,ECX
PUSH EDI
PUSH 0x0
MOV EDX,0xb
PUSH dword ptr [ESP + 0x10]
MOV EAX,ESI
CALL 0x000315c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EBX]
CALL 0x0002e150
PUSH ECX
PUSH ECX
MOV EDI,EAX
PUSH dword ptr [ESP + 0x1c]
PUSH EBP
MOV EDX,0x5b
MOV ECX,dword ptr [ESP + 0x30]
MOV EAX,ESI
CALL 0x000315c0
MOV ECX,EDI
MOV EDX,EAX
MOV EAX,ESI
MOV dword ptr [ESP],EBP
CALL 0x00032090
ADD ESP,0xc
MOV EDX,0x1e
MOV EAX,ESI
PUSH 0x0
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x2c]
CALL 0x000316b0
ADD ESP,0x10
CMP dword ptr [ESP + 0x14],0x0
JZ 0x000181ef
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,EBX
CALL 0x00029c40
CMP EBP,0x1
JNZ 0x00018201
MOV EDX,dword ptr [ESP + 0x20]
MOV EAX,EBX
CALL 0x00029ce0
JMP 0x00018210
CMP EBP,dword ptr [EBX + 0x1c]
JLE 0x00018210
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [EBX + 0x1c],EBP
MOV dword ptr [EBX + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x8]
MOVZX ECX,byte ptr [EAX + 0x18]
TEST CL,CL
JNZ 0x00018264
MOV EAX,dword ptr [EBX]
TEST byte ptr [EAX + 0x1e],0x8
JNZ 0x00018251
CMP dword ptr [EBX + 0x74],0x0
JNZ 0x000182b6
CMP byte ptr [EBX + 0x14],0x0
JNZ 0x000182ad
PUSH EDX
PUSH 0x4
MOV ECX,0x2
PUSH -0x1
PUSH 0x0
MOV EDX,0x313
MOV EAX,EBX
CALL 0x00032230
ADD ESP,0x10
JMP 0x0001827b
CMP dword ptr [ESP + 0x10],0x1
JNZ 0x00018264
MOV EAX,dword ptr [EBX + 0x74]
TEST EAX,EAX
CMOVNZ EBX,EAX
MOV byte ptr [EBX + 0x15],0x1
PUSH EAX
PUSH EAX
MOV EDX,0x95
PUSH 0x0
PUSH dword ptr [ESP + 0x1c]
MOV EAX,ESI
CALL 0x000315c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,ESI
CALL 0x00031430
MOV dword ptr [ESP + 0x64],0x0
MOV dword ptr [ESP + 0x60],0x0
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x1c]
ADD ESP,0x4c
MOV EDX,0x74
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000315c0
CMP dword ptr [ESP + 0x10],0x1
JZ 0x00018260
JMP 0x00018264
CMP dword ptr [ESP + 0x10],0x1
JNZ 0x00018264
MOV EBX,dword ptr [EBX + 0x74]
JMP 0x00018260
(translation_unit "void __regparm1\nFUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)\n\n{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}\n\n" (function_definition "void __regparm1\nFUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)\n\n{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)" identifier (parameter_list "(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "short sVar4;" (sized_type_specifier "short" short) identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX_00;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int extraout_EDX_00;" primitive_type identifier ;) (declaration "int extraout_EDX_01;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int extraout_EDX_02;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int extraout_EDX_03;" primitive_type identifier ;) (declaration "int extraout_EDX_04;" primitive_type identifier ;) (declaration "int extraout_EDX_05;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "int local_50;" primitive_type identifier ;) (expression_statement "FUN_000a94ff();" (call_expression "FUN_000a94ff()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar17 = CONCAT44(extraout_EDX,param_1[2]);" (assignment_expression "uVar17 = CONCAT44(extraout_EDX,param_1[2])" identifier = (call_expression "CONCAT44(extraout_EDX,param_1[2])" identifier (argument_list "(extraout_EDX,param_1[2])" ( identifier , (subscript_expression "param_1[2]" identifier [ number_literal ]) )))) ;) (if_statement "if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }" if (parenthesized_expression "(param_1[2] == 0)" ( (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar17 = FUN_000318c0();\n  }" { (expression_statement "uVar17 = FUN_000318c0();" (assignment_expression "uVar17 = FUN_000318c0()" identifier = (call_expression "FUN_000318c0()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar11 = (int)((ulonglong)uVar17 >> 0x20);" (assignment_expression "iVar11 = (int)((ulonglong)uVar17 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar14 = (int *)uVar17;" (assignment_expression "piVar14 = (int *)uVar17" identifier = (cast_expression "(int *)uVar17" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" identifier = (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }" if (parenthesized_expression "(param_6 == -1)" ( (binary_expression "param_6 == -1" identifier == number_literal) )) (compound_statement "{\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }" { (expression_statement "FUN_000315c0(iVar6,0,param_3,param_3);" (call_expression "FUN_000315c0(iVar6,0,param_3,param_3)" identifier (argument_list "(iVar6,0,param_3,param_3)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar11 = extraout_EDX_00;" (assignment_expression "iVar11 = extraout_EDX_00" identifier = identifier) ;) })) (for_statement "for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }" for ( (assignment_expression "iVar15 = 0" identifier = number_literal) ; (comma_expression "iVar7 = param_3[5], iVar15 < iVar7" (assignment_expression "iVar7 = param_3[5]" identifier = (subscript_expression "param_3[5]" identifier [ number_literal ])) , (binary_expression "iVar15 < iVar7" identifier < identifier)) ; (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ) (compound_statement "{\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }" { (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15]))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < (short)param_4[iVar15])" ( (binary_expression "-1 < (short)param_4[iVar15]" number_literal < (cast_expression "(short)param_4[iVar15]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_4[iVar15]" identifier [ identifier ]))) ))) )) (compound_statement "{\n      FUN_0002a110();\n    }" { (expression_statement "FUN_0002a110();" (call_expression "FUN_0002a110()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000315c0(iVar6,0,iVar7,iVar7);" (call_expression "FUN_000315c0(iVar6,0,iVar7,iVar7)" identifier (argument_list "(iVar6,0,iVar7,iVar7)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar11 = extraout_EDX_01;" (assignment_expression "iVar11 = extraout_EDX_01" identifier = identifier) ;) })) (if_statement "if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }" { (if_statement "if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }" { (if_statement "if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }" { (expression_statement "iVar15 = param_1[0xb] + 1;" (assignment_expression "iVar15 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar15;" (assignment_expression "param_1[0xb] = iVar15" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" else (compound_statement "{\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" { (expression_statement "bVar3 = *(char *)((int)param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)((int)param_1 + 0x13) - 1" identifier = (binary_expression "*(char *)((int)param_1 + 0x13) - 1" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)((int)param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)((int)param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar15 = param_1[bVar3 + 0x26];" (assignment_expression "iVar15 = param_1[bVar3 + 0x26]" identifier = (subscript_expression "param_1[bVar3 + 0x26]" identifier [ (binary_expression "bVar3 + 0x26" identifier + number_literal) ])) ;) }))) (expression_statement "sVar4 = (short)*param_4;" (assignment_expression "sVar4 = (short)*param_4" identifier = (cast_expression "(short)*param_4" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (pointer_expression "*param_4" * identifier))) ;) (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar4)" ( (binary_expression "-1 < sVar4" number_literal < identifier) ))) )) (compound_statement "{\n        sVar4 = FUN_0002a110();\n      }" { (expression_statement "sVar4 = FUN_0002a110();" (assignment_expression "sVar4 = FUN_0002a110()" identifier = (call_expression "FUN_0002a110()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);" (call_expression "FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4)" identifier (argument_list "(iVar15,0,(int)sVar4,(int)sVar4)" ( identifier , number_literal , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "iVar7 = FUN_000315c0(0,0);" (assignment_expression "iVar7 = FUN_000315c0(0,0)" identifier = (call_expression "FUN_000315c0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "piVar8 = param_3;" (assignment_expression "piVar8 = param_3" identifier = identifier) ;) (if_statement "if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }" if (parenthesized_expression "((*param_3 == extraout_ECX) && (param_6 == 1))" ( (binary_expression "(*param_3 == extraout_ECX) && (param_6 == 1)" (parenthesized_expression "(*param_3 == extraout_ECX)" ( (binary_expression "*param_3 == extraout_ECX" (pointer_expression "*param_3" * identifier) == identifier) )) && (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }" { (expression_statement "FUN_000315c0(iVar6,iVar15,param_3,param_3);" (call_expression "FUN_000315c0(iVar6,iVar15,param_3,param_3)" identifier (argument_list "(iVar6,iVar15,param_3,param_3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "piVar8 = (int *)piVar14[0x1a];" (assignment_expression "piVar8 = (int *)piVar14[0x1a]" identifier = (cast_expression "(int *)piVar14[0x1a]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar14[0x1a]" identifier [ number_literal ]))) ;) (if_statement "if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }" if (parenthesized_expression "(0 < (int)piVar8)" ( (binary_expression "0 < (int)piVar8" number_literal < (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }" { (expression_statement "piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);" (assignment_expression "piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19])" identifier = (cast_expression "(int *)((int)piVar8 * 0x14 + piVar14[0x19])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 * 0x14 + piVar14[0x19])" ( (binary_expression "(int)piVar8 * 0x14 + piVar14[0x19]" (binary_expression "(int)piVar8 * 0x14" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ])) )))) ;) (expression_statement "*(undefined2 *)((int)piVar8 + -0x12) = 0x90;" (assignment_expression "*(undefined2 *)((int)piVar8 + -0x12) = 0x90" (pointer_expression "*(undefined2 *)((int)piVar8 + -0x12)" * (cast_expression "(undefined2 *)((int)piVar8 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + -0x12)" ( (binary_expression "(int)piVar8 + -0x12" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) })) (expression_statement "FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);" (call_expression "FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8)" identifier (argument_list "(extraout_ECX,0x60,piVar8,piVar8)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "FUN_000315c0(0,iVar15);" (call_expression "FUN_000315c0(0,iVar15)" identifier (argument_list "(0,iVar15)" ( number_literal , identifier ))) ;) (expression_statement "FUN_000315c0(iVar6,0);" (call_expression "FUN_000315c0(iVar6,0)" identifier (argument_list "(iVar6,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar6 = piVar14[0x1a];" (assignment_expression "iVar6 = piVar14[0x1a]" identifier = (subscript_expression "piVar14[0x1a]" identifier [ number_literal ])) ;) (expression_statement "local_50 = iVar6 + -2;" (assignment_expression "local_50 = iVar6 + -2" identifier = (binary_expression "iVar6 + -2" identifier + number_literal)) ;) (if_statement "if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }" if (parenthesized_expression "(local_50 < 0)" ( (binary_expression "local_50 < 0" identifier < number_literal) )) (compound_statement "{\n        local_50 = iVar6 + -1;\n      }" { (expression_statement "local_50 = iVar6 + -1;" (assignment_expression "local_50 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) })) (expression_statement "cVar1 = *(char *)(*piVar14 + 0x4d);" (assignment_expression "cVar1 = *(char *)(*piVar14 + 0x4d)" identifier = (pointer_expression "*(char *)(*piVar14 + 0x4d)" * (cast_expression "(char *)(*piVar14 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar14 + 0x4d)" ( (binary_expression "*piVar14 + 0x4d" (pointer_expression "*piVar14" * identifier) + number_literal) ))))) ;) (expression_statement "iVar11 = unaff_EDI + 0xc7858;" (assignment_expression "iVar11 = unaff_EDI + 0xc7858" identifier = (binary_expression "unaff_EDI + 0xc7858" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }" { (expression_statement "iVar11 = local_50 * 0x14 + piVar14[0x19];" (assignment_expression "iVar11 = local_50 * 0x14 + piVar14[0x19]" identifier = (binary_expression "local_50 * 0x14 + piVar14[0x19]" (binary_expression "local_50 * 0x14" identifier * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ]))) ;) })) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar7 = iVar6 + -1;\n      }" { (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) })) (expression_statement "iVar11 = unaff_EDI + 0xc7858;" (assignment_expression "iVar11 = unaff_EDI + 0xc7858" identifier = (binary_expression "unaff_EDI + 0xc7858" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }" { (expression_statement "iVar11 = iVar7 * 0x14 + piVar14[0x19];" (assignment_expression "iVar11 = iVar7 * 0x14 + piVar14[0x19]" identifier = (binary_expression "iVar7 * 0x14 + piVar14[0x19]" (binary_expression "iVar7 * 0x14" identifier * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ]))) ;) })) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }" { (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar11 = extraout_EDX_02;" (assignment_expression "iVar11 = extraout_EDX_02" identifier = identifier) ;) })) }) (else_clause "else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" else (compound_statement "{\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" { (expression_statement "iVar15 = FUN_00029c70();" (assignment_expression "iVar15 = FUN_00029c70()" identifier = (call_expression "FUN_00029c70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }" { (expression_statement "iVar9 = param_1[0xb] + 1;" (assignment_expression "iVar9 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar9;" (assignment_expression "param_1[0xb] = iVar9" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" else (compound_statement "{\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" { (expression_statement "bVar3 = *(char *)((int)param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)((int)param_1 + 0x13) - 1" identifier = (binary_expression "*(char *)((int)param_1 + 0x13) - 1" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)((int)param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)((int)param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar9 = param_1[bVar3 + 0x26];" (assignment_expression "iVar9 = param_1[bVar3 + 0x26]" identifier = (subscript_expression "param_1[bVar3 + 0x26]" identifier [ (binary_expression "bVar3 + 0x26" identifier + number_literal) ])) ;) }))) (expression_statement "FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);" (call_expression "FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9)" identifier (argument_list "(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9)" ( (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0004b400();" (call_expression "FUN_0004b400()" identifier (argument_list "()" ( ))) ;) (for_statement "for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }" for ( (assignment_expression "uVar16 = 0" identifier = number_literal) ; (binary_expression "(int)uVar16 < iVar7" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) ; (assignment_expression "uVar16 = uVar16 + 1" identifier = (binary_expression "uVar16 + 1" identifier + number_literal)) ) (compound_statement "{\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }" { (expression_statement "sVar4 = (short)param_4[uVar16];" (assignment_expression "sVar4 = (short)param_4[uVar16]" identifier = (cast_expression "(short)param_4[uVar16]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_4[uVar16]" identifier [ identifier ]))) ;) (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar4)" ( (binary_expression "-1 < sVar4" number_literal < identifier) ))) )) (compound_statement "{\n          sVar4 = FUN_0002a110();\n        }" { (expression_statement "sVar4 = FUN_0002a110();" (assignment_expression "sVar4 = FUN_0002a110()" identifier = (call_expression "FUN_0002a110()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);" (call_expression "FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4)" identifier (argument_list "(iVar15 + uVar16,0,(int)sVar4,(int)sVar4)" ( (binary_expression "iVar15 + uVar16" identifier + identifier) , number_literal , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (if_statement "if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }" if (parenthesized_expression "((extraout_ECX == *param_3) && (param_6 == 1))" ( (binary_expression "(extraout_ECX == *param_3) && (param_6 == 1)" (parenthesized_expression "(extraout_ECX == *param_3)" ( (binary_expression "extraout_ECX == *param_3" identifier == (pointer_expression "*param_3" * identifier)) )) && (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }" { (expression_statement "iVar11 = piVar14[0x1a];" (assignment_expression "iVar11 = piVar14[0x1a]" identifier = (subscript_expression "piVar14[0x1a]" identifier [ number_literal ])) ;) (for_statement "for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }" for ( (assignment_expression "iVar13 = 0" identifier = number_literal) ; (binary_expression "iVar13 < iVar7" identifier < identifier) ; (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ) (compound_statement "{\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }" { (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13]))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < (short)param_4[iVar13])" ( (binary_expression "-1 < (short)param_4[iVar13]" number_literal < (cast_expression "(short)param_4[iVar13]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_4[iVar13]" identifier [ identifier ]))) ))) )) (compound_statement "{\n            FUN_0002a110();\n          }" { (expression_statement "FUN_0002a110();" (call_expression "FUN_0002a110()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);" (assignment_expression "uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" identifier = (pointer_expression "*(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" * (cast_expression "(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + iVar13 * 2)" ( (binary_expression "*(int *)(param_2 + 4) + iVar13 * 2" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + (binary_expression "iVar13 * 2" identifier * number_literal)) ))))) ;) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) (if_statement "if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }" if (parenthesized_expression "(((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2))" ( (binary_expression "((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)" (parenthesized_expression "((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20" (pointer_expression "*(byte *)(*(int *)(param_2 + 0xc) + 0x24)" * (cast_expression "(byte *)(*(int *)(param_2 + 0xc) + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0xc) + 0x24)" ( (binary_expression "*(int *)(param_2 + 0xc) + 0x24" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < (short)uVar2)" ( (binary_expression "-1 < (short)uVar2" number_literal < (cast_expression "(short)uVar2" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ))) )) (compound_statement "{\n            uVar5 = FUN_0002a110();\n          }" { (expression_statement "uVar5 = FUN_0002a110();" (assignment_expression "uVar5 = FUN_0002a110()" identifier = (call_expression "FUN_0002a110()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar10 = extraout_ECX;" (assignment_expression "iVar10 = extraout_ECX" identifier = identifier) ;) (expression_statement "iVar12 = param_5;" (assignment_expression "iVar12 = param_5" identifier = identifier) ;) (expression_statement "uVar16 = (uint)uVar2;" (assignment_expression "uVar16 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }" if (parenthesized_expression "(uVar2 != *(ushort *)(extraout_ECX + 0x28))" ( (binary_expression "uVar2 != *(ushort *)(extraout_ECX + 0x28)" identifier != (pointer_expression "*(ushort *)(extraout_ECX + 0x28)" * (cast_expression "(ushort *)(extraout_ECX + 0x28)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x28)" ( (binary_expression "extraout_ECX + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }" { (expression_statement "iVar10 = (int)(short)uVar5;" (assignment_expression "iVar10 = (int)(short)uVar5" identifier = (cast_expression "(int)(short)uVar5" ( (type_descriptor "int" primitive_type) ) (cast_expression "(short)uVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier))) ;) (expression_statement "iVar12 = iVar10 + param_5 + 1U;" (assignment_expression "iVar12 = iVar10 + param_5 + 1U" identifier = (binary_expression "iVar10 + param_5 + 1U" (binary_expression "iVar10 + param_5" identifier + identifier) + number_literal)) ;) (expression_statement "uVar16 = param_5 + 1U;" (assignment_expression "uVar16 = param_5 + 1U" identifier = (binary_expression "param_5 + 1U" identifier + number_literal)) ;) })) (expression_statement "FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);" (call_expression "FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10)" identifier (argument_list "(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10)" ( (binary_expression "iVar11 + iVar7 + 1" (binary_expression "iVar11 + iVar7" identifier + identifier) + number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }" if (parenthesized_expression "(0 < piVar14[0x1a])" ( (binary_expression "0 < piVar14[0x1a]" number_literal < (subscript_expression "piVar14[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }" { (expression_statement "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" * (cast_expression "(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" ( (binary_expression "piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12" (binary_expression "piVar14[0x1a] * 0x14 + piVar14[0x19]" (binary_expression "piVar14[0x1a] * 0x14" (subscript_expression "piVar14[0x1a]" identifier [ number_literal ]) * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ])) + number_literal) )))) = number_literal) ;) })) })) (expression_statement "FUN_000315c0(iVar6,0,uVar16,uVar16);" (call_expression "FUN_000315c0(iVar6,0,uVar16,uVar16)" identifier (argument_list "(iVar6,0,uVar16,uVar16)" ( identifier , number_literal , identifier , identifier ))) ;) })) (expression_statement "FUN_0002e150();" (call_expression "FUN_0002e150()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);" (call_expression "FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00)" identifier (argument_list "(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_00032090(iVar7);" (call_expression "FUN_00032090(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "FUN_000316b0(iVar6,iVar9,0);" (call_expression "FUN_000316b0(iVar6,iVar9,0)" identifier (argument_list "(iVar6,iVar9,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "iVar11 = extraout_EDX_03;" (assignment_expression "iVar11 = extraout_EDX_03" identifier = identifier) ;) (if_statement "if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }" { (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar11 = extraout_EDX_04;" (assignment_expression "iVar11 = extraout_EDX_04" identifier = identifier) ;) })) (if_statement "if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }" { (expression_statement "FUN_00029ce0();" (call_expression "FUN_00029ce0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar11 = extraout_EDX_05;" (assignment_expression "iVar11 = extraout_EDX_05" identifier = identifier) ;) }) (else_clause "else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" else (if_statement "if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" if (parenthesized_expression "(param_1[7] < iVar7)" ( (binary_expression "param_1[7] < iVar7" (subscript_expression "param_1[7]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" { (expression_statement "param_1[7] = iVar7;" (assignment_expression "param_1[7] = iVar7" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = iVar15;" (assignment_expression "param_1[8] = iVar15" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) })))) }))) })) (if_statement "if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }" if (parenthesized_expression "((char)param_3[6] == '\0')" ( (binary_expression "(char)param_3[6] == '\0'" (cast_expression "(char)param_3[6]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_3[6]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }" { (expression_statement "param_3 = (int *)*param_1;" (assignment_expression "param_3 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" if (parenthesized_expression "((*(byte *)((int)param_3 + 0x1e) & 8) == 0)" ( (binary_expression "(*(byte *)((int)param_3 + 0x1e) & 8) == 0" (parenthesized_expression "(*(byte *)((int)param_3 + 0x1e) & 8)" ( (binary_expression "*(byte *)((int)param_3 + 0x1e) & 8" (pointer_expression "*(byte *)((int)param_3 + 0x1e)" * (cast_expression "(byte *)((int)param_3 + 0x1e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x1e)" ( (binary_expression "(int)param_3 + 0x1e" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }" { (if_statement "if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" if (parenthesized_expression "(param_1[0x1d] == 0)" ( (binary_expression "param_1[0x1d] == 0" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }" { (if_statement "if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }" if (parenthesized_expression "((char)param_1[5] == '\0')" ( (binary_expression "(char)param_1[5] == '\0'" (cast_expression "(char)param_1[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }" { (expression_statement "FUN_00032230(0,0xffffffff,4,iVar11);" (call_expression "FUN_00032230(0,0xffffffff,4,iVar11)" identifier (argument_list "(0,0xffffffff,4,iVar11)" ( number_literal , number_literal , number_literal , identifier ))) ;) (goto_statement "goto LAB_0001827b;" goto statement_identifier ;) })) (if_statement "if (param_6 == 1) goto LAB_00018260;" if (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) )) (goto_statement "goto LAB_00018260;" goto statement_identifier ;)) }) (else_clause "else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" else (if_statement "if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" if (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) )) (compound_statement "{\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" { (expression_statement "param_1 = (int *)param_1[0x1d];" (assignment_expression "param_1 = (int *)param_1[0x1d]" identifier = (cast_expression "(int *)param_1[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_00018260;" goto statement_identifier ;) })))) }) (else_clause "else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" else (if_statement "if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" if (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) )) (compound_statement "{\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" { (expression_statement "param_3 = (int *)param_1[0x1d];" (assignment_expression "param_3 = (int *)param_1[0x1d]" identifier = (cast_expression "(int *)param_1[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (if_statement "if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        param_1 = param_3;\n      }" { (expression_statement "param_1 = param_3;" (assignment_expression "param_1 = param_3" identifier = identifier) ;) })) (labeled_statement "LAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;" statement_identifier : (expression_statement "*(undefined1 *)((int)param_1 + 0x15) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x15) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x15)" * (cast_expression "(undefined1 *)((int)param_1 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x15)" ( (binary_expression "(int)param_1 + 0x15" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;)) })))) })) (expression_statement "FUN_000315c0(param_6,0,param_3,param_3);" (call_expression "FUN_000315c0(param_6,0,param_3,param_3)" identifier (argument_list "(param_6,0,param_3,param_3)" ( identifier , number_literal , identifier , identifier ))) ;) (labeled_statement "LAB_0001827b:\n  FUN_00031430();" statement_identifier : (expression_statement "FUN_00031430();" (call_expression "FUN_00031430()" identifier (argument_list "()" ( ))) ;)) (expression_statement "FUN_000315c0();" (call_expression "FUN_000315c0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm1\nfkLookupParent(Parse *pParse,int iDb,Table *pTab,Index *pIdx,FKey *pFKey,int *aiCol,int regData,\n              int nIncr,int isIgnore)\n\n{\n  u8 uVar1;\n  short iCol;\n  char *nReg;\n  Table *pTab_00;\n  byte bVar2;\n  short sVar3;\n  short sVar4;\n  Vdbe *p;\n  int p1;\n  int p2;\n  int iVar5;\n  char *zP4;\n  Table *pTab_01;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int p3;\n  Op *pOVar6;\n  FKey *p3_00;\n  int iVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  int local_50;\n  \n  __x86_get_pc_thunk_di();\n  p = pParse->pVdbe;\n  if (p == (Vdbe *)0x0) {\n    p = sqlite3GetVdbe(pParse);\n  }\n  p1 = pParse->nTab + -1;\n  p2 = pParse->nLabel + -1;\n  pParse->nLabel = p2;\n  if (aiCol == (int *)&DAT_ffffffff) {\n    sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);\n  }\n  for (iVar8 = 0; nReg = pTab->zColAff, iVar8 < (int)nReg; iVar8 = iVar8 + 1) {\n    sVar3 = (short)(&pIdx->zName)[iVar8];\n    if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }\n    sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);\n  }\n  if (regData == 0) {\n    if (iDb == 0) {\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }\n    else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }\n  }\n  bVar2 = *(byte *)&pTab->pCheck;\n  if (bVar2 == 0) {\n    if ((pParse->db->flags & 0x80000) == 0) {\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }\n    else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }\n  }\n  sqlite3VdbeAddOp3(p,0x95,(uint)bVar2,(int)aiCol,0);\nLAB_0001827b:\n  sqlite3VdbeResolveLabel(p,p2);\n  sqlite3VdbeAddOp3(p,0x74,p1,0,0);\n  return;\n}\n\n" (function_definition "void __regparm1\nfkLookupParent(Parse *pParse,int iDb,Table *pTab,Index *pIdx,FKey *pFKey,int *aiCol,int regData,\n              int nIncr,int isIgnore)\n\n{\n  u8 uVar1;\n  short iCol;\n  char *nReg;\n  Table *pTab_00;\n  byte bVar2;\n  short sVar3;\n  short sVar4;\n  Vdbe *p;\n  int p1;\n  int p2;\n  int iVar5;\n  char *zP4;\n  Table *pTab_01;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int p3;\n  Op *pOVar6;\n  FKey *p3_00;\n  int iVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  int local_50;\n  \n  __x86_get_pc_thunk_di();\n  p = pParse->pVdbe;\n  if (p == (Vdbe *)0x0) {\n    p = sqlite3GetVdbe(pParse);\n  }\n  p1 = pParse->nTab + -1;\n  p2 = pParse->nLabel + -1;\n  pParse->nLabel = p2;\n  if (aiCol == (int *)&DAT_ffffffff) {\n    sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);\n  }\n  for (iVar8 = 0; nReg = pTab->zColAff, iVar8 < (int)nReg; iVar8 = iVar8 + 1) {\n    sVar3 = (short)(&pIdx->zName)[iVar8];\n    if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }\n    sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);\n  }\n  if (regData == 0) {\n    if (iDb == 0) {\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }\n    else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }\n  }\n  bVar2 = *(byte *)&pTab->pCheck;\n  if (bVar2 == 0) {\n    if ((pParse->db->flags & 0x80000) == 0) {\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }\n    else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }\n  }\n  sqlite3VdbeAddOp3(p,0x95,(uint)bVar2,(int)aiCol,0);\nLAB_0001827b:\n  sqlite3VdbeResolveLabel(p,p2);\n  sqlite3VdbeAddOp3(p,0x74,p1,0,0);\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "fkLookupParent(Parse *pParse,int iDb,Table *pTab,Index *pIdx,FKey *pFKey,int *aiCol,int regData,\n              int nIncr,int isIgnore)" identifier (parameter_list "(Parse *pParse,int iDb,Table *pTab,Index *pIdx,FKey *pFKey,int *aiCol,int regData,\n              int nIncr,int isIgnore)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int iDb" primitive_type identifier) , (parameter_declaration "Table *pTab" type_identifier (pointer_declarator "*pTab" * identifier)) , (parameter_declaration "Index *pIdx" type_identifier (pointer_declarator "*pIdx" * identifier)) , (parameter_declaration "FKey *pFKey" type_identifier (pointer_declarator "*pFKey" * identifier)) , (parameter_declaration "int *aiCol" primitive_type (pointer_declarator "*aiCol" * identifier)) , (parameter_declaration "int regData" primitive_type identifier) , (parameter_declaration "int nIncr" primitive_type identifier) , (parameter_declaration "int isIgnore" primitive_type identifier) ))) (compound_statement "{\n  u8 uVar1;\n  short iCol;\n  char *nReg;\n  Table *pTab_00;\n  byte bVar2;\n  short sVar3;\n  short sVar4;\n  Vdbe *p;\n  int p1;\n  int p2;\n  int iVar5;\n  char *zP4;\n  Table *pTab_01;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int p3;\n  Op *pOVar6;\n  FKey *p3_00;\n  int iVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  int local_50;\n  \n  __x86_get_pc_thunk_di();\n  p = pParse->pVdbe;\n  if (p == (Vdbe *)0x0) {\n    p = sqlite3GetVdbe(pParse);\n  }\n  p1 = pParse->nTab + -1;\n  p2 = pParse->nLabel + -1;\n  pParse->nLabel = p2;\n  if (aiCol == (int *)&DAT_ffffffff) {\n    sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);\n  }\n  for (iVar8 = 0; nReg = pTab->zColAff, iVar8 < (int)nReg; iVar8 = iVar8 + 1) {\n    sVar3 = (short)(&pIdx->zName)[iVar8];\n    if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }\n    sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);\n  }\n  if (regData == 0) {\n    if (iDb == 0) {\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }\n    else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }\n  }\n  bVar2 = *(byte *)&pTab->pCheck;\n  if (bVar2 == 0) {\n    if ((pParse->db->flags & 0x80000) == 0) {\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }\n    else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }\n  }\n  sqlite3VdbeAddOp3(p,0x95,(uint)bVar2,(int)aiCol,0);\nLAB_0001827b:\n  sqlite3VdbeResolveLabel(p,p2);\n  sqlite3VdbeAddOp3(p,0x74,p1,0,0);\n  return;\n}" { (declaration "u8 uVar1;" type_identifier identifier ;) (declaration "short iCol;" (sized_type_specifier "short" short) identifier ;) (declaration "char *nReg;" primitive_type (pointer_declarator "*nReg" * identifier) ;) (declaration "Table *pTab_00;" type_identifier (pointer_declarator "*pTab_00" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "short sVar3;" (sized_type_specifier "short" short) identifier ;) (declaration "short sVar4;" (sized_type_specifier "short" short) identifier ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "int p1;" primitive_type identifier ;) (declaration "int p2;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *zP4;" primitive_type (pointer_declarator "*zP4" * identifier) ;) (declaration "Table *pTab_01;" type_identifier (pointer_declarator "*pTab_01" * identifier) ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "int p3;" primitive_type identifier ;) (declaration "Op *pOVar6;" type_identifier (pointer_declarator "*pOVar6" * identifier) ;) (declaration "FKey *p3_00;" type_identifier (pointer_declarator "*p3_00" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int local_50;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "p = pParse->pVdbe;" (assignment_expression "p = pParse->pVdbe" identifier = (field_expression "pParse->pVdbe" identifier -> field_identifier)) ;) (if_statement "if (p == (Vdbe *)0x0) {\n    p = sqlite3GetVdbe(pParse);\n  }" if (parenthesized_expression "(p == (Vdbe *)0x0)" ( (binary_expression "p == (Vdbe *)0x0" identifier == (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p = sqlite3GetVdbe(pParse);\n  }" { (expression_statement "p = sqlite3GetVdbe(pParse);" (assignment_expression "p = sqlite3GetVdbe(pParse)" identifier = (call_expression "sqlite3GetVdbe(pParse)" identifier (argument_list "(pParse)" ( identifier )))) ;) })) (expression_statement "p1 = pParse->nTab + -1;" (assignment_expression "p1 = pParse->nTab + -1" identifier = (binary_expression "pParse->nTab + -1" (field_expression "pParse->nTab" identifier -> field_identifier) + number_literal)) ;) (expression_statement "p2 = pParse->nLabel + -1;" (assignment_expression "p2 = pParse->nLabel + -1" identifier = (binary_expression "pParse->nLabel + -1" (field_expression "pParse->nLabel" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nLabel = p2;" (assignment_expression "pParse->nLabel = p2" (field_expression "pParse->nLabel" identifier -> field_identifier) = identifier) ;) (if_statement "if (aiCol == (int *)&DAT_ffffffff) {\n    sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);\n  }" if (parenthesized_expression "(aiCol == (int *)&DAT_ffffffff)" ( (binary_expression "aiCol == (int *)&DAT_ffffffff" identifier == (cast_expression "(int *)&DAT_ffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_ffffffff" & identifier))) )) (compound_statement "{\n    sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);\n  }" { (expression_statement "sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0);" (call_expression "sqlite3VdbeAddOp3(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0)" identifier (argument_list "(p,0x2f,(uint)*(byte *)&pTab->pCheck,p2,0)" ( identifier , number_literal , (binary_expression "(uint)*(byte *)&pTab->pCheck" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)&pTab->pCheck" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTab->pCheck" & (field_expression "pTab->pCheck" identifier -> field_identifier)))) , identifier , number_literal ))) ;) })) (for_statement "for (iVar8 = 0; nReg = pTab->zColAff, iVar8 < (int)nReg; iVar8 = iVar8 + 1) {\n    sVar3 = (short)(&pIdx->zName)[iVar8];\n    if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }\n    sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);\n  }" for ( (assignment_expression "iVar8 = 0" identifier = number_literal) ; (comma_expression "nReg = pTab->zColAff, iVar8 < (int)nReg" (assignment_expression "nReg = pTab->zColAff" identifier = (field_expression "pTab->zColAff" identifier -> field_identifier)) , (binary_expression "iVar8 < (int)nReg" identifier < (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier))) ; (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ) (compound_statement "{\n    sVar3 = (short)(&pIdx->zName)[iVar8];\n    if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }\n    sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);\n  }" { (expression_statement "sVar3 = (short)(&pIdx->zName)[iVar8];" (assignment_expression "sVar3 = (short)(&pIdx->zName)[iVar8]" identifier = (cast_expression "(short)(&pIdx->zName)[iVar8]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "(&pIdx->zName)[iVar8]" (parenthesized_expression "(&pIdx->zName)" ( (pointer_expression "&pIdx->zName" & (field_expression "pIdx->zName" identifier -> field_identifier)) )) [ identifier ]))) ;) (if_statement "if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }" if (parenthesized_expression "(((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3))" ( (binary_expression "((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)" (parenthesized_expression "((((Table *)pTab->zName)->tabFlags & 0x20) != 0)" ( (binary_expression "(((Table *)pTab->zName)->tabFlags & 0x20) != 0" (parenthesized_expression "(((Table *)pTab->zName)->tabFlags & 0x20)" ( (binary_expression "((Table *)pTab->zName)->tabFlags & 0x20" (field_expression "((Table *)pTab->zName)->tabFlags" (parenthesized_expression "((Table *)pTab->zName)" ( (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) )) -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar3)" ( (binary_expression "-1 < sVar3" number_literal < identifier) ))) )) (compound_statement "{\n      sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n    }" { (expression_statement "sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);" (assignment_expression "sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3)" identifier = (call_expression "sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3)" identifier (argument_list "((Table *)pTab->zName,sVar3)" ( (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) , identifier )))) ;) })) (expression_statement "sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0);" (call_expression "sqlite3VdbeAddOp3(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0)" identifier (argument_list "(p,0x32,(int)(pFKey->aAction + sVar3 + -0x18),p2,0)" ( identifier , number_literal , (cast_expression "(int)(pFKey->aAction + sVar3 + -0x18)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pFKey->aAction + sVar3 + -0x18)" ( (binary_expression "pFKey->aAction + sVar3 + -0x18" (binary_expression "pFKey->aAction + sVar3" (field_expression "pFKey->aAction" identifier -> field_identifier) + identifier) + number_literal) ))) , identifier , number_literal ))) ;) })) (if_statement "if (regData == 0) {\n    if (iDb == 0) {\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }\n    else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }\n  }" if (parenthesized_expression "(regData == 0)" ( (binary_expression "regData == 0" identifier == number_literal) )) (compound_statement "{\n    if (iDb == 0) {\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }\n    else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }\n  }" { (if_statement "if (iDb == 0) {\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }\n    else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }" if (parenthesized_expression "(iDb == 0)" ( (binary_expression "iDb == 0" identifier == number_literal) )) (compound_statement "{\n      if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }\n      sVar3 = (short)pIdx->zName;\n      if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }\n      sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);\n      iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);\n      if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }\n      sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);\n      sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);\n      sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      iVar9 = p->nOp;\n      local_50 = iVar9 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }\n      uVar1 = p->db->mallocFailed;\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }\n      pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);\n      if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }\n      pOVar6->p2 = iVar9;\n      if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }\n    }" { (if_statement "if (pParse->nTempReg == '\0') {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }" if (parenthesized_expression "(pParse->nTempReg == '\0')" ( (binary_expression "pParse->nTempReg == '\0'" (field_expression "pParse->nTempReg" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }" { (expression_statement "iVar8 = pParse->nMem + 1;" (assignment_expression "iVar8 = pParse->nMem + 1" identifier = (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nMem = iVar8;" (assignment_expression "pParse->nMem = iVar8" (field_expression "pParse->nMem" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }" else (compound_statement "{\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar8 = pParse->aTempReg[bVar2];\n      }" { (expression_statement "bVar2 = pParse->nTempReg - 1;" (assignment_expression "bVar2 = pParse->nTempReg - 1" identifier = (binary_expression "pParse->nTempReg - 1" (field_expression "pParse->nTempReg" identifier -> field_identifier) - number_literal)) ;) (expression_statement "pParse->nTempReg = bVar2;" (assignment_expression "pParse->nTempReg = bVar2" (field_expression "pParse->nTempReg" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar8 = pParse->aTempReg[bVar2];" (assignment_expression "iVar8 = pParse->aTempReg[bVar2]" identifier = (subscript_expression "pParse->aTempReg[bVar2]" (field_expression "pParse->aTempReg" identifier -> field_identifier) [ identifier ])) ;) }))) (expression_statement "sVar3 = (short)pIdx->zName;" (assignment_expression "sVar3 = (short)pIdx->zName" identifier = (cast_expression "(short)pIdx->zName" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (field_expression "pIdx->zName" identifier -> field_identifier))) ;) (if_statement "if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }" if (parenthesized_expression "(((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3))" ( (binary_expression "((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)" (parenthesized_expression "((((Table *)pTab->zName)->tabFlags & 0x20) != 0)" ( (binary_expression "(((Table *)pTab->zName)->tabFlags & 0x20) != 0" (parenthesized_expression "(((Table *)pTab->zName)->tabFlags & 0x20)" ( (binary_expression "((Table *)pTab->zName)->tabFlags & 0x20" (field_expression "((Table *)pTab->zName)->tabFlags" (parenthesized_expression "((Table *)pTab->zName)" ( (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) )) -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar3)" ( (binary_expression "-1 < sVar3" number_literal < identifier) ))) )) (compound_statement "{\n        sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n      }" { (expression_statement "sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);" (assignment_expression "sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3)" identifier = (call_expression "sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3)" identifier (argument_list "((Table *)pTab->zName,sVar3)" ( (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) , identifier )))) ;) })) (expression_statement "sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0);" (call_expression "sqlite3VdbeAddOp3(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0)" identifier (argument_list "(p,0x4e,(int)(pFKey->aAction + sVar3 + -0x18),iVar8,0)" ( identifier , number_literal , (cast_expression "(int)(pFKey->aAction + sVar3 + -0x18)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pFKey->aAction + sVar3 + -0x18)" ( (binary_expression "pFKey->aAction + sVar3 + -0x18" (binary_expression "pFKey->aAction + sVar3" (field_expression "pFKey->aAction" identifier -> field_identifier) + identifier) + number_literal) ))) , identifier , number_literal ))) ;) (expression_statement "iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0);" (assignment_expression "iVar5 = sqlite3VdbeAddOp3(p,0xf,iVar8,0,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0xf,iVar8,0,0)" identifier (argument_list "(p,0xf,iVar8,0,0)" ( identifier , number_literal , identifier , number_literal , number_literal )))) ;) (if_statement "if (((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)) {\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }" if (parenthesized_expression "(((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1))" ( (binary_expression "((Table *)pTab->zName == pTab_01) && (aiCol == (int *)0x1)" (parenthesized_expression "((Table *)pTab->zName == pTab_01)" ( (binary_expression "(Table *)pTab->zName == pTab_01" (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) == identifier) )) && (parenthesized_expression "(aiCol == (int *)0x1)" ( (binary_expression "aiCol == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);\n        if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }\n      }" { (expression_statement "sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8);" (call_expression "sqlite3VdbeAddOp3(p,0x35,(int)pFKey,p2,iVar8)" identifier (argument_list "(p,0x35,(int)pFKey,p2,iVar8)" ( identifier , number_literal , (cast_expression "(int)pFKey" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier ))) ;) (if_statement "if (0 < p->nOp) {\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }" if (parenthesized_expression "(0 < p->nOp)" ( (binary_expression "0 < p->nOp" number_literal < (field_expression "p->nOp" identifier -> field_identifier)) )) (compound_statement "{\n          p->aOp[p->nOp + -1].p5 = 0x90;\n        }" { (expression_statement "p->aOp[p->nOp + -1].p5 = 0x90;" (assignment_expression "p->aOp[p->nOp + -1].p5 = 0x90" (field_expression "p->aOp[p->nOp + -1].p5" (subscript_expression "p->aOp[p->nOp + -1]" (field_expression "p->aOp" identifier -> field_identifier) [ (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) = number_literal) ;) })) })) (expression_statement "sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60);" (call_expression "sqlite3OpenTable(pParse,p1,p3,pTab_01,0x60)" identifier (argument_list "(pParse,p1,p3,pTab_01,0x60)" ( identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8);" (call_expression "sqlite3VdbeAddOp3(p,0x20,p1,0,iVar8)" identifier (argument_list "(p,0x20,p1,0,iVar8)" ( identifier , number_literal , identifier , number_literal , identifier ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0xb,0,p2,0);" (call_expression "sqlite3VdbeAddOp3(p,0xb,0,p2,0)" identifier (argument_list "(p,0xb,0,p2,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) (expression_statement "iVar9 = p->nOp;" (assignment_expression "iVar9 = p->nOp" identifier = (field_expression "p->nOp" identifier -> field_identifier)) ;) (expression_statement "local_50 = iVar9 + -2;" (assignment_expression "local_50 = iVar9 + -2" identifier = (binary_expression "iVar9 + -2" identifier + number_literal)) ;) (if_statement "if (local_50 < 0) {\n        local_50 = iVar9 + -1;\n      }" if (parenthesized_expression "(local_50 < 0)" ( (binary_expression "local_50 < 0" identifier < number_literal) )) (compound_statement "{\n        local_50 = iVar9 + -1;\n      }" { (expression_statement "local_50 = iVar9 + -1;" (assignment_expression "local_50 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = p->db->mallocFailed;" (assignment_expression "uVar1 = p->db->mallocFailed" identifier = (field_expression "p->db->mallocFailed" (field_expression "p->db" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);" (assignment_expression "pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7)" identifier = (cast_expression "(Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7)" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_000c7851 + unaff_EDI + 7)" ( (binary_expression "BYTE_ARRAY_000c7851 + unaff_EDI + 7" (binary_expression "BYTE_ARRAY_000c7851 + unaff_EDI" identifier + identifier) + number_literal) )))) ;) (if_statement "if (uVar1 == '\0') {\n        pOVar6 = p->aOp + local_50;\n      }" if (parenthesized_expression "(uVar1 == '\0')" ( (binary_expression "uVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pOVar6 = p->aOp + local_50;\n      }" { (expression_statement "pOVar6 = p->aOp + local_50;" (assignment_expression "pOVar6 = p->aOp + local_50" identifier = (binary_expression "p->aOp + local_50" (field_expression "p->aOp" identifier -> field_identifier) + identifier)) ;) })) (expression_statement "pOVar6->p2 = iVar9;" (assignment_expression "pOVar6->p2 = iVar9" (field_expression "pOVar6->p2" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar5 < 0) {\n        iVar5 = iVar9 + -1;\n      }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar5 = iVar9 + -1;\n      }" { (expression_statement "iVar5 = iVar9 + -1;" (assignment_expression "iVar5 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) })) (expression_statement "pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7);" (assignment_expression "pOVar6 = (Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7)" identifier = (cast_expression "(Op *)(BYTE_ARRAY_000c7851 + unaff_EDI + 7)" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_000c7851 + unaff_EDI + 7)" ( (binary_expression "BYTE_ARRAY_000c7851 + unaff_EDI + 7" (binary_expression "BYTE_ARRAY_000c7851 + unaff_EDI" identifier + identifier) + number_literal) )))) ;) (if_statement "if (uVar1 == '\0') {\n        pOVar6 = p->aOp + iVar5;\n      }" if (parenthesized_expression "(uVar1 == '\0')" ( (binary_expression "uVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pOVar6 = p->aOp + iVar5;\n      }" { (expression_statement "pOVar6 = p->aOp + iVar5;" (assignment_expression "pOVar6 = p->aOp + iVar5" identifier = (binary_expression "p->aOp + iVar5" (field_expression "p->aOp" identifier -> field_identifier) + identifier)) ;) })) (expression_statement "pOVar6->p2 = iVar9;" (assignment_expression "pOVar6->p2 = iVar9" (field_expression "pOVar6->p2" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar8 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        sqlite3ReleaseTempReg(pParse,iVar8);\n      }" { (expression_statement "sqlite3ReleaseTempReg(pParse,iVar8);" (call_expression "sqlite3ReleaseTempReg(pParse,iVar8)" identifier (argument_list "(pParse,iVar8)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }" else (compound_statement "{\n      iVar8 = sqlite3GetTempRange(pParse,(int)nReg);\n      if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }\n      sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);\n      sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);\n      for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }\n      if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }\n      zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);\n      iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);\n      sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);\n      sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);\n      iVar9 = extraout_ECX;\n      if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }\n      if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }\n    }" { (expression_statement "iVar8 = sqlite3GetTempRange(pParse,(int)nReg);" (assignment_expression "iVar8 = sqlite3GetTempRange(pParse,(int)nReg)" identifier = (call_expression "sqlite3GetTempRange(pParse,(int)nReg)" identifier (argument_list "(pParse,(int)nReg)" ( identifier , (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (pParse->nTempReg == '\0') {\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }\n      else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }" if (parenthesized_expression "(pParse->nTempReg == '\0')" ( (binary_expression "pParse->nTempReg == '\0'" (field_expression "pParse->nTempReg" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar5 = pParse->nMem + 1;\n        pParse->nMem = iVar5;\n      }" { (expression_statement "iVar5 = pParse->nMem + 1;" (assignment_expression "iVar5 = pParse->nMem + 1" identifier = (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nMem = iVar5;" (assignment_expression "pParse->nMem = iVar5" (field_expression "pParse->nMem" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }" else (compound_statement "{\n        bVar2 = pParse->nTempReg - 1;\n        pParse->nTempReg = bVar2;\n        iVar5 = pParse->aTempReg[bVar2];\n      }" { (expression_statement "bVar2 = pParse->nTempReg - 1;" (assignment_expression "bVar2 = pParse->nTempReg - 1" identifier = (binary_expression "pParse->nTempReg - 1" (field_expression "pParse->nTempReg" identifier -> field_identifier) - number_literal)) ;) (expression_statement "pParse->nTempReg = bVar2;" (assignment_expression "pParse->nTempReg = bVar2" (field_expression "pParse->nTempReg" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar5 = pParse->aTempReg[bVar2];" (assignment_expression "iVar5 = pParse->aTempReg[bVar2]" identifier = (subscript_expression "pParse->aTempReg[bVar2]" (field_expression "pParse->aTempReg" identifier -> field_identifier) [ identifier ])) ;) }))) (expression_statement "sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3);" (call_expression "sqlite3VdbeAddOp3(p,0x60,p1,*(int *)(iDb + 0x2c),p3)" identifier (argument_list "(p,0x60,p1,*(int *)(iDb + 0x2c),p3)" ( identifier , number_literal , identifier , (pointer_expression "*(int *)(iDb + 0x2c)" * (cast_expression "(int *)(iDb + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iDb + 0x2c)" ( (binary_expression "iDb + 0x2c" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb);" (call_expression "sqlite3VdbeSetP4KeyInfo(pParse,(Index *)iDb)" identifier (argument_list "(pParse,(Index *)iDb)" ( identifier , (cast_expression "(Index *)iDb" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (for_statement "for (iVar9 = 0; pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg; iVar9 = iVar9 + 1) {\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }" for ( (assignment_expression "iVar9 = 0" identifier = number_literal) ; (comma_expression "pTab_00 = (Table *)pTab->zName, iVar9 < (int)nReg" (assignment_expression "pTab_00 = (Table *)pTab->zName" identifier = (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier))) , (binary_expression "iVar9 < (int)nReg" identifier < (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier))) ; (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ) (compound_statement "{\n        sVar3 = (short)(&pIdx->zName)[iVar9];\n        if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }\n        sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);\n      }" { (expression_statement "sVar3 = (short)(&pIdx->zName)[iVar9];" (assignment_expression "sVar3 = (short)(&pIdx->zName)[iVar9]" identifier = (cast_expression "(short)(&pIdx->zName)[iVar9]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "(&pIdx->zName)[iVar9]" (parenthesized_expression "(&pIdx->zName)" ( (pointer_expression "&pIdx->zName" & (field_expression "pIdx->zName" identifier -> field_identifier)) )) [ identifier ]))) ;) (if_statement "if (((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }" if (parenthesized_expression "(((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3))" ( (binary_expression "((pTab_00->tabFlags & 0x20) != 0) && (-1 < sVar3)" (parenthesized_expression "((pTab_00->tabFlags & 0x20) != 0)" ( (binary_expression "(pTab_00->tabFlags & 0x20) != 0" (parenthesized_expression "(pTab_00->tabFlags & 0x20)" ( (binary_expression "pTab_00->tabFlags & 0x20" (field_expression "pTab_00->tabFlags" identifier -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar3)" ( (binary_expression "-1 < sVar3" number_literal < identifier) ))) )) (compound_statement "{\n          sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);\n        }" { (expression_statement "sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3);" (assignment_expression "sVar3 = sqlite3TableColumnToStorage(pTab_00,sVar3)" identifier = (call_expression "sqlite3TableColumnToStorage(pTab_00,sVar3)" identifier (argument_list "(pTab_00,sVar3)" ( identifier , identifier )))) ;) })) (expression_statement "sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0);" (call_expression "sqlite3VdbeAddOp3(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0)" identifier (argument_list "(p,0x4d,(int)(pFKey->aAction + sVar3 + -0x18),iVar8 + iVar9,0)" ( identifier , number_literal , (cast_expression "(int)(pFKey->aAction + sVar3 + -0x18)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pFKey->aAction + sVar3 + -0x18)" ( (binary_expression "pFKey->aAction + sVar3 + -0x18" (binary_expression "pFKey->aAction + sVar3" (field_expression "pFKey->aAction" identifier -> field_identifier) + identifier) + number_literal) ))) , (binary_expression "iVar8 + iVar9" identifier + identifier) , number_literal ))) ;) })) (if_statement "if ((pTab_01 == pTab_00) && (aiCol == (int *)0x1)) {\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }" if (parenthesized_expression "((pTab_01 == pTab_00) && (aiCol == (int *)0x1))" ( (binary_expression "(pTab_01 == pTab_00) && (aiCol == (int *)0x1)" (parenthesized_expression "(pTab_01 == pTab_00)" ( (binary_expression "pTab_01 == pTab_00" identifier == identifier) )) && (parenthesized_expression "(aiCol == (int *)0x1)" ( (binary_expression "aiCol == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        iVar9 = p->nOp;\n        for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }\n        sqlite3VdbeAddOp3(p,0xb,0,p2,0);\n      }" { (expression_statement "iVar9 = p->nOp;" (assignment_expression "iVar9 = p->nOp" identifier = (field_expression "p->nOp" identifier -> field_identifier)) ;) (for_statement "for (iVar7 = 0; iVar7 < (int)nReg; iVar7 = iVar7 + 1) {\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }" for ( (assignment_expression "iVar7 = 0" identifier = number_literal) ; (binary_expression "iVar7 < (int)nReg" identifier < (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier)) ; (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ) (compound_statement "{\n          sVar3 = (short)(&pIdx->zName)[iVar7];\n          if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }\n          iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);\n          sVar4 = iCol;\n          if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }\n          p3_00 = pFKey;\n          if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }\n          sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);\n          if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }\n        }" { (expression_statement "sVar3 = (short)(&pIdx->zName)[iVar7];" (assignment_expression "sVar3 = (short)(&pIdx->zName)[iVar7]" identifier = (cast_expression "(short)(&pIdx->zName)[iVar7]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "(&pIdx->zName)[iVar7]" (parenthesized_expression "(&pIdx->zName)" ( (pointer_expression "&pIdx->zName" & (field_expression "pIdx->zName" identifier -> field_identifier)) )) [ identifier ]))) ;) (if_statement "if (((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)) {\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }" if (parenthesized_expression "(((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3))" ( (binary_expression "((((Table *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < sVar3)" (parenthesized_expression "((((Table *)pTab->zName)->tabFlags & 0x20) != 0)" ( (binary_expression "(((Table *)pTab->zName)->tabFlags & 0x20) != 0" (parenthesized_expression "(((Table *)pTab->zName)->tabFlags & 0x20)" ( (binary_expression "((Table *)pTab->zName)->tabFlags & 0x20" (field_expression "((Table *)pTab->zName)->tabFlags" (parenthesized_expression "((Table *)pTab->zName)" ( (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) )) -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar3)" ( (binary_expression "-1 < sVar3" number_literal < identifier) ))) )) (compound_statement "{\n            sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);\n          }" { (expression_statement "sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3);" (assignment_expression "sVar3 = sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3)" identifier = (call_expression "sqlite3TableColumnToStorage((Table *)pTab->zName,sVar3)" identifier (argument_list "((Table *)pTab->zName,sVar3)" ( (cast_expression "(Table *)pTab->zName" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pTab->zName" identifier -> field_identifier)) , identifier )))) ;) })) (expression_statement "iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2);" (assignment_expression "iCol = *(short *)(*(int *)(iDb + 4) + iVar7 * 2)" identifier = (pointer_expression "*(short *)(*(int *)(iDb + 4) + iVar7 * 2)" * (cast_expression "(short *)(*(int *)(iDb + 4) + iVar7 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iDb + 4) + iVar7 * 2)" ( (binary_expression "*(int *)(iDb + 4) + iVar7 * 2" (pointer_expression "*(int *)(iDb + 4)" * (cast_expression "(int *)(iDb + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iDb + 4)" ( (binary_expression "iDb + 4" identifier + number_literal) )))) + (binary_expression "iVar7 * 2" identifier * number_literal)) ))))) ;) (expression_statement "sVar4 = iCol;" (assignment_expression "sVar4 = iCol" identifier = identifier) ;) (if_statement "if ((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)) {\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }" if (parenthesized_expression "((((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol))" ( (binary_expression "(((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0) && (-1 < iCol)" (parenthesized_expression "(((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0)" ( (binary_expression "((*(Table **)(iDb + 0xc))->tabFlags & 0x20) != 0" (parenthesized_expression "((*(Table **)(iDb + 0xc))->tabFlags & 0x20)" ( (binary_expression "(*(Table **)(iDb + 0xc))->tabFlags & 0x20" (field_expression "(*(Table **)(iDb + 0xc))->tabFlags" (parenthesized_expression "(*(Table **)(iDb + 0xc))" ( (pointer_expression "*(Table **)(iDb + 0xc)" * (cast_expression "(Table **)(iDb + 0xc)" ( (type_descriptor "Table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iDb + 0xc)" ( (binary_expression "iDb + 0xc" identifier + number_literal) )))) )) -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < iCol)" ( (binary_expression "-1 < iCol" number_literal < identifier) ))) )) (compound_statement "{\n            sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);\n          }" { (expression_statement "sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol);" (assignment_expression "sVar4 = sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol)" identifier = (call_expression "sqlite3TableColumnToStorage(*(Table **)(iDb + 0xc),iCol)" identifier (argument_list "(*(Table **)(iDb + 0xc),iCol)" ( (pointer_expression "*(Table **)(iDb + 0xc)" * (cast_expression "(Table **)(iDb + 0xc)" ( (type_descriptor "Table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iDb + 0xc)" ( (binary_expression "iDb + 0xc" identifier + number_literal) )))) , identifier )))) ;) })) (expression_statement "p3_00 = pFKey;" (assignment_expression "p3_00 = pFKey" identifier = identifier) ;) (if_statement "if (iCol != pTab_01->iPKey) {\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }" if (parenthesized_expression "(iCol != pTab_01->iPKey)" ( (binary_expression "iCol != pTab_01->iPKey" identifier != (field_expression "pTab_01->iPKey" identifier -> field_identifier)) )) (compound_statement "{\n            p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);\n          }" { (expression_statement "p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18);" (assignment_expression "p3_00 = (FKey *)(pFKey->aAction + sVar4 + -0x18)" identifier = (cast_expression "(FKey *)(pFKey->aAction + sVar4 + -0x18)" ( (type_descriptor "FKey *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pFKey->aAction + sVar4 + -0x18)" ( (binary_expression "pFKey->aAction + sVar4 + -0x18" (binary_expression "pFKey->aAction + sVar4" (field_expression "pFKey->aAction" identifier -> field_identifier) + identifier) + number_literal) )))) ;) })) (expression_statement "sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00);" (call_expression "sqlite3VdbeAddOp3(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00)" identifier (argument_list "(p,0x34,(int)(pFKey->aAction + sVar3 + -0x18),(int)(nReg + iVar9 + 1),\n                            (int)p3_00)" ( identifier , number_literal , (cast_expression "(int)(pFKey->aAction + sVar3 + -0x18)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pFKey->aAction + sVar3 + -0x18)" ( (binary_expression "pFKey->aAction + sVar3 + -0x18" (binary_expression "pFKey->aAction + sVar3" (field_expression "pFKey->aAction" identifier -> field_identifier) + identifier) + number_literal) ))) , (cast_expression "(int)(nReg + iVar9 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(nReg + iVar9 + 1)" ( (binary_expression "nReg + iVar9 + 1" (binary_expression "nReg + iVar9" identifier + identifier) + number_literal) ))) , (cast_expression "(int)p3_00" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (if_statement "if (0 < p->nOp) {\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }" if (parenthesized_expression "(0 < p->nOp)" ( (binary_expression "0 < p->nOp" number_literal < (field_expression "p->nOp" identifier -> field_identifier)) )) (compound_statement "{\n            p->aOp[p->nOp + -1].p5 = 0x10;\n          }" { (expression_statement "p->aOp[p->nOp + -1].p5 = 0x10;" (assignment_expression "p->aOp[p->nOp + -1].p5 = 0x10" (field_expression "p->aOp[p->nOp + -1].p5" (subscript_expression "p->aOp[p->nOp + -1]" (field_expression "p->aOp" identifier -> field_identifier) [ (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) = number_literal) ;) })) })) (expression_statement "sqlite3VdbeAddOp3(p,0xb,0,p2,0);" (call_expression "sqlite3VdbeAddOp3(p,0xb,0,p2,0)" identifier (argument_list "(p,0xb,0,p2,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) })) (expression_statement "zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb);" (assignment_expression "zP4 = sqlite3IndexAffinityStr(pParse->db,(Index *)iDb)" identifier = (call_expression "sqlite3IndexAffinityStr(pParse->db,(Index *)iDb)" identifier (argument_list "(pParse->db,(Index *)iDb)" ( (field_expression "pParse->db" identifier -> field_identifier) , (cast_expression "(Index *)iDb" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5);" (assignment_expression "iVar9 = sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x5b,iVar8,(int)nReg,iVar5)" identifier (argument_list "(p,0x5b,iVar8,(int)nReg,iVar5)" ( identifier , number_literal , identifier , (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (expression_statement "sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg);" (call_expression "sqlite3VdbeChangeP4(p,iVar9,zP4,(int)nReg)" identifier (argument_list "(p,iVar9,zP4,(int)nReg)" ( identifier , identifier , identifier , (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0);" (call_expression "sqlite3VdbeAddOp4Int(p,0x1e,p1,p2,iVar5,0)" identifier (argument_list "(p,0x1e,p1,p2,iVar5,0)" ( identifier , number_literal , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "iVar9 = extraout_ECX;" (assignment_expression "iVar9 = extraout_ECX" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        sqlite3ReleaseTempReg(pParse,iVar5);\n        iVar9 = extraout_ECX_00;\n      }" { (expression_statement "sqlite3ReleaseTempReg(pParse,iVar5);" (call_expression "sqlite3ReleaseTempReg(pParse,iVar5)" identifier (argument_list "(pParse,iVar5)" ( identifier , identifier ))) ;) (expression_statement "iVar9 = extraout_ECX_00;" (assignment_expression "iVar9 = extraout_ECX_00" identifier = identifier) ;) })) (if_statement "if (nReg == (char *)0x1) {\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }\n      else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }" if (parenthesized_expression "(nReg == (char *)0x1)" ( (binary_expression "nReg == (char *)0x1" identifier == (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sqlite3ReleaseTempRange(pParse,iVar8,iVar9);\n      }" { (expression_statement "sqlite3ReleaseTempRange(pParse,iVar8,iVar9);" (call_expression "sqlite3ReleaseTempRange(pParse,iVar8,iVar9)" identifier (argument_list "(pParse,iVar8,iVar9)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }" else (if_statement "if (pParse->nRangeReg < (int)nReg) {\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }" if (parenthesized_expression "(pParse->nRangeReg < (int)nReg)" ( (binary_expression "pParse->nRangeReg < (int)nReg" (field_expression "pParse->nRangeReg" identifier -> field_identifier) < (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        pParse->nRangeReg = (int)nReg;\n        pParse->iRangeReg = iVar8;\n      }" { (expression_statement "pParse->nRangeReg = (int)nReg;" (assignment_expression "pParse->nRangeReg = (int)nReg" (field_expression "pParse->nRangeReg" identifier -> field_identifier) = (cast_expression "(int)nReg" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pParse->iRangeReg = iVar8;" (assignment_expression "pParse->iRangeReg = iVar8" (field_expression "pParse->iRangeReg" identifier -> field_identifier) = identifier) ;) })))) }))) })) (expression_statement "bVar2 = *(byte *)&pTab->pCheck;" (assignment_expression "bVar2 = *(byte *)&pTab->pCheck" identifier = (pointer_expression "*(byte *)&pTab->pCheck" * (cast_expression "(byte *)&pTab->pCheck" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTab->pCheck" & (field_expression "pTab->pCheck" identifier -> field_identifier))))) ;) (if_statement "if (bVar2 == 0) {\n    if ((pParse->db->flags & 0x80000) == 0) {\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }\n    else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }\n  }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((pParse->db->flags & 0x80000) == 0) {\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }\n    else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }\n  }" { (if_statement "if ((pParse->db->flags & 0x80000) == 0) {\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }\n    else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }" if (parenthesized_expression "((pParse->db->flags & 0x80000) == 0)" ( (binary_expression "(pParse->db->flags & 0x80000) == 0" (parenthesized_expression "(pParse->db->flags & 0x80000)" ( (binary_expression "pParse->db->flags & 0x80000" (field_expression "pParse->db->flags" (field_expression "pParse->db" identifier -> field_identifier) -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }\n    }" { (if_statement "if (pParse->pToplevel == (Parse *)0x0) {\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }\n      else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }" if (parenthesized_expression "(pParse->pToplevel == (Parse *)0x0)" ( (binary_expression "pParse->pToplevel == (Parse *)0x0" (field_expression "pParse->pToplevel" identifier -> field_identifier) == (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }\n        if (aiCol == (int *)0x1) goto LAB_00018260;\n      }" { (if_statement "if (pParse->isMultiWrite == '\0') {\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }" if (parenthesized_expression "(pParse->isMultiWrite == '\0')" ( (binary_expression "pParse->isMultiWrite == '\0'" (field_expression "pParse->isMultiWrite" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');\n          goto LAB_0001827b;\n        }" { (expression_statement "sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04');" (call_expression "sqlite3HaltConstraint(pParse,0x313,2,(char *)0x0,-1,'\x04')" identifier (argument_list "(pParse,0x313,2,(char *)0x0,-1,'\x04')" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , (char_literal "'\x04'" ' escape_sequence ') ))) ;) (goto_statement "goto LAB_0001827b;" goto statement_identifier ;) })) (if_statement "if (aiCol == (int *)0x1) goto LAB_00018260;" if (parenthesized_expression "(aiCol == (int *)0x1)" ( (binary_expression "aiCol == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018260;" goto statement_identifier ;)) }) (else_clause "else if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }" else (if_statement "if (aiCol == (int *)0x1) {\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }" if (parenthesized_expression "(aiCol == (int *)0x1)" ( (binary_expression "aiCol == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pParse = pParse->pToplevel;\n        goto LAB_00018260;\n      }" { (expression_statement "pParse = pParse->pToplevel;" (assignment_expression "pParse = pParse->pToplevel" identifier = (field_expression "pParse->pToplevel" identifier -> field_identifier)) ;) (goto_statement "goto LAB_00018260;" goto statement_identifier ;) })))) }) (else_clause "else if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }" else (if_statement "if (aiCol == (int *)0x1) {\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }" if (parenthesized_expression "(aiCol == (int *)0x1)" ( (binary_expression "aiCol == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }\nLAB_00018260:\n      pParse->mayAbort = '\x01';\n    }" { (if_statement "if (pParse->pToplevel != (Parse *)0x0) {\n        pParse = pParse->pToplevel;\n      }" if (parenthesized_expression "(pParse->pToplevel != (Parse *)0x0)" ( (binary_expression "pParse->pToplevel != (Parse *)0x0" (field_expression "pParse->pToplevel" identifier -> field_identifier) != (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pParse = pParse->pToplevel;\n      }" { (expression_statement "pParse = pParse->pToplevel;" (assignment_expression "pParse = pParse->pToplevel" identifier = (field_expression "pParse->pToplevel" identifier -> field_identifier)) ;) })) (labeled_statement "LAB_00018260:\n      pParse->mayAbort = '\x01';" statement_identifier : (expression_statement "pParse->mayAbort = '\x01';" (assignment_expression "pParse->mayAbort = '\x01'" (field_expression "pParse->mayAbort" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;)) })))) })) (expression_statement "sqlite3VdbeAddOp3(p,0x95,(uint)bVar2,(int)aiCol,0);" (call_expression "sqlite3VdbeAddOp3(p,0x95,(uint)bVar2,(int)aiCol,0)" identifier (argument_list "(p,0x95,(uint)bVar2,(int)aiCol,0)" ( identifier , number_literal , (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) , (cast_expression "(int)aiCol" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal ))) ;) (labeled_statement "LAB_0001827b:\n  sqlite3VdbeResolveLabel(p,p2);" statement_identifier : (expression_statement "sqlite3VdbeResolveLabel(p,p2);" (call_expression "sqlite3VdbeResolveLabel(p,p2)" identifier (argument_list "(p,p2)" ( identifier , identifier ))) ;)) (expression_statement "sqlite3VdbeAddOp3(p,0x74,p1,0,0);" (call_expression "sqlite3VdbeAddOp3(p,0x74,p1,0,0)" identifier (argument_list "(p,0x74,p1,0,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm1\nFUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)\n\n{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}\n\n" (function_definition "void __regparm1\nFUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)\n\n{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)" identifier (parameter_list "(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "short sVar4;" (sized_type_specifier "short" short) identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX_00;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int extraout_EDX_00;" primitive_type identifier ;) (declaration "int extraout_EDX_01;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int extraout_EDX_02;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int extraout_EDX_03;" primitive_type identifier ;) (declaration "int extraout_EDX_04;" primitive_type identifier ;) (declaration "int extraout_EDX_05;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "int local_50;" primitive_type identifier ;) (expression_statement "FUN_000a94ff();" (call_expression "FUN_000a94ff()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar17 = CONCAT44(extraout_EDX,param_1[2]);" (assignment_expression "uVar17 = CONCAT44(extraout_EDX,param_1[2])" identifier = (call_expression "CONCAT44(extraout_EDX,param_1[2])" identifier (argument_list "(extraout_EDX,param_1[2])" ( identifier , (subscript_expression "param_1[2]" identifier [ number_literal ]) )))) ;) (if_statement "if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }" if (parenthesized_expression "(param_1[2] == 0)" ( (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar17 = FUN_000318c0();\n  }" { (expression_statement "uVar17 = FUN_000318c0();" (assignment_expression "uVar17 = FUN_000318c0()" identifier = (call_expression "FUN_000318c0()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar11 = (int)((ulonglong)uVar17 >> 0x20);" (assignment_expression "iVar11 = (int)((ulonglong)uVar17 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar14 = (int *)uVar17;" (assignment_expression "piVar14 = (int *)uVar17" identifier = (cast_expression "(int *)uVar17" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" identifier = (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }" if (parenthesized_expression "(param_6 == -1)" ( (binary_expression "param_6 == -1" identifier == number_literal) )) (compound_statement "{\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }" { (expression_statement "FUN_000315c0(iVar6,0,param_3,param_3);" (call_expression "FUN_000315c0(iVar6,0,param_3,param_3)" identifier (argument_list "(iVar6,0,param_3,param_3)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar11 = extraout_EDX_00;" (assignment_expression "iVar11 = extraout_EDX_00" identifier = identifier) ;) })) (for_statement "for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }" for ( (assignment_expression "iVar15 = 0" identifier = number_literal) ; (comma_expression "iVar7 = param_3[5], iVar15 < iVar7" (assignment_expression "iVar7 = param_3[5]" identifier = (subscript_expression "param_3[5]" identifier [ number_literal ])) , (binary_expression "iVar15 < iVar7" identifier < identifier)) ; (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ) (compound_statement "{\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }" { (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15]))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < (short)param_4[iVar15])" ( (binary_expression "-1 < (short)param_4[iVar15]" number_literal < (cast_expression "(short)param_4[iVar15]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_4[iVar15]" identifier [ identifier ]))) ))) )) (compound_statement "{\n      FUN_0002a110();\n    }" { (expression_statement "FUN_0002a110();" (call_expression "FUN_0002a110()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000315c0(iVar6,0,iVar7,iVar7);" (call_expression "FUN_000315c0(iVar6,0,iVar7,iVar7)" identifier (argument_list "(iVar6,0,iVar7,iVar7)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar11 = extraout_EDX_01;" (assignment_expression "iVar11 = extraout_EDX_01" identifier = identifier) ;) })) (if_statement "if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }" { (if_statement "if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }" { (if_statement "if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }" { (expression_statement "iVar15 = param_1[0xb] + 1;" (assignment_expression "iVar15 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar15;" (assignment_expression "param_1[0xb] = iVar15" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" else (compound_statement "{\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" { (expression_statement "bVar3 = *(char *)((int)param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)((int)param_1 + 0x13) - 1" identifier = (binary_expression "*(char *)((int)param_1 + 0x13) - 1" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)((int)param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)((int)param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar15 = param_1[bVar3 + 0x26];" (assignment_expression "iVar15 = param_1[bVar3 + 0x26]" identifier = (subscript_expression "param_1[bVar3 + 0x26]" identifier [ (binary_expression "bVar3 + 0x26" identifier + number_literal) ])) ;) }))) (expression_statement "sVar4 = (short)*param_4;" (assignment_expression "sVar4 = (short)*param_4" identifier = (cast_expression "(short)*param_4" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (pointer_expression "*param_4" * identifier))) ;) (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar4)" ( (binary_expression "-1 < sVar4" number_literal < identifier) ))) )) (compound_statement "{\n        sVar4 = FUN_0002a110();\n      }" { (expression_statement "sVar4 = FUN_0002a110();" (assignment_expression "sVar4 = FUN_0002a110()" identifier = (call_expression "FUN_0002a110()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);" (call_expression "FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4)" identifier (argument_list "(iVar15,0,(int)sVar4,(int)sVar4)" ( identifier , number_literal , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "iVar7 = FUN_000315c0(0,0);" (assignment_expression "iVar7 = FUN_000315c0(0,0)" identifier = (call_expression "FUN_000315c0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "piVar8 = param_3;" (assignment_expression "piVar8 = param_3" identifier = identifier) ;) (if_statement "if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }" if (parenthesized_expression "((*param_3 == extraout_ECX) && (param_6 == 1))" ( (binary_expression "(*param_3 == extraout_ECX) && (param_6 == 1)" (parenthesized_expression "(*param_3 == extraout_ECX)" ( (binary_expression "*param_3 == extraout_ECX" (pointer_expression "*param_3" * identifier) == identifier) )) && (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }" { (expression_statement "FUN_000315c0(iVar6,iVar15,param_3,param_3);" (call_expression "FUN_000315c0(iVar6,iVar15,param_3,param_3)" identifier (argument_list "(iVar6,iVar15,param_3,param_3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "piVar8 = (int *)piVar14[0x1a];" (assignment_expression "piVar8 = (int *)piVar14[0x1a]" identifier = (cast_expression "(int *)piVar14[0x1a]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar14[0x1a]" identifier [ number_literal ]))) ;) (if_statement "if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }" if (parenthesized_expression "(0 < (int)piVar8)" ( (binary_expression "0 < (int)piVar8" number_literal < (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }" { (expression_statement "piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);" (assignment_expression "piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19])" identifier = (cast_expression "(int *)((int)piVar8 * 0x14 + piVar14[0x19])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 * 0x14 + piVar14[0x19])" ( (binary_expression "(int)piVar8 * 0x14 + piVar14[0x19]" (binary_expression "(int)piVar8 * 0x14" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ])) )))) ;) (expression_statement "*(undefined2 *)((int)piVar8 + -0x12) = 0x90;" (assignment_expression "*(undefined2 *)((int)piVar8 + -0x12) = 0x90" (pointer_expression "*(undefined2 *)((int)piVar8 + -0x12)" * (cast_expression "(undefined2 *)((int)piVar8 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + -0x12)" ( (binary_expression "(int)piVar8 + -0x12" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) })) (expression_statement "FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);" (call_expression "FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8)" identifier (argument_list "(extraout_ECX,0x60,piVar8,piVar8)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "FUN_000315c0(0,iVar15);" (call_expression "FUN_000315c0(0,iVar15)" identifier (argument_list "(0,iVar15)" ( number_literal , identifier ))) ;) (expression_statement "FUN_000315c0(iVar6,0);" (call_expression "FUN_000315c0(iVar6,0)" identifier (argument_list "(iVar6,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar6 = piVar14[0x1a];" (assignment_expression "iVar6 = piVar14[0x1a]" identifier = (subscript_expression "piVar14[0x1a]" identifier [ number_literal ])) ;) (expression_statement "local_50 = iVar6 + -2;" (assignment_expression "local_50 = iVar6 + -2" identifier = (binary_expression "iVar6 + -2" identifier + number_literal)) ;) (if_statement "if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }" if (parenthesized_expression "(local_50 < 0)" ( (binary_expression "local_50 < 0" identifier < number_literal) )) (compound_statement "{\n        local_50 = iVar6 + -1;\n      }" { (expression_statement "local_50 = iVar6 + -1;" (assignment_expression "local_50 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) })) (expression_statement "cVar1 = *(char *)(*piVar14 + 0x4d);" (assignment_expression "cVar1 = *(char *)(*piVar14 + 0x4d)" identifier = (pointer_expression "*(char *)(*piVar14 + 0x4d)" * (cast_expression "(char *)(*piVar14 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar14 + 0x4d)" ( (binary_expression "*piVar14 + 0x4d" (pointer_expression "*piVar14" * identifier) + number_literal) ))))) ;) (expression_statement "iVar11 = unaff_EDI + 0xc7858;" (assignment_expression "iVar11 = unaff_EDI + 0xc7858" identifier = (binary_expression "unaff_EDI + 0xc7858" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }" { (expression_statement "iVar11 = local_50 * 0x14 + piVar14[0x19];" (assignment_expression "iVar11 = local_50 * 0x14 + piVar14[0x19]" identifier = (binary_expression "local_50 * 0x14 + piVar14[0x19]" (binary_expression "local_50 * 0x14" identifier * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ]))) ;) })) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar7 = iVar6 + -1;\n      }" { (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) })) (expression_statement "iVar11 = unaff_EDI + 0xc7858;" (assignment_expression "iVar11 = unaff_EDI + 0xc7858" identifier = (binary_expression "unaff_EDI + 0xc7858" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }" { (expression_statement "iVar11 = iVar7 * 0x14 + piVar14[0x19];" (assignment_expression "iVar11 = iVar7 * 0x14 + piVar14[0x19]" identifier = (binary_expression "iVar7 * 0x14 + piVar14[0x19]" (binary_expression "iVar7 * 0x14" identifier * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ]))) ;) })) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }" { (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar11 = extraout_EDX_02;" (assignment_expression "iVar11 = extraout_EDX_02" identifier = identifier) ;) })) }) (else_clause "else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" else (compound_statement "{\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" { (expression_statement "iVar15 = FUN_00029c70();" (assignment_expression "iVar15 = FUN_00029c70()" identifier = (call_expression "FUN_00029c70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }" { (expression_statement "iVar9 = param_1[0xb] + 1;" (assignment_expression "iVar9 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar9;" (assignment_expression "param_1[0xb] = iVar9" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" else (compound_statement "{\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" { (expression_statement "bVar3 = *(char *)((int)param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)((int)param_1 + 0x13) - 1" identifier = (binary_expression "*(char *)((int)param_1 + 0x13) - 1" (pointer_expression "*(char *)((int)param_1 + 0x13)" * (cast_expression "(char *)((int)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)((int)param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)((int)param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar9 = param_1[bVar3 + 0x26];" (assignment_expression "iVar9 = param_1[bVar3 + 0x26]" identifier = (subscript_expression "param_1[bVar3 + 0x26]" identifier [ (binary_expression "bVar3 + 0x26" identifier + number_literal) ])) ;) }))) (expression_statement "FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);" (call_expression "FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9)" identifier (argument_list "(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9)" ( (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0004b400();" (call_expression "FUN_0004b400()" identifier (argument_list "()" ( ))) ;) (for_statement "for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }" for ( (assignment_expression "uVar16 = 0" identifier = number_literal) ; (binary_expression "(int)uVar16 < iVar7" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) ; (assignment_expression "uVar16 = uVar16 + 1" identifier = (binary_expression "uVar16 + 1" identifier + number_literal)) ) (compound_statement "{\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }" { (expression_statement "sVar4 = (short)param_4[uVar16];" (assignment_expression "sVar4 = (short)param_4[uVar16]" identifier = (cast_expression "(short)param_4[uVar16]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_4[uVar16]" identifier [ identifier ]))) ;) (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < sVar4)" ( (binary_expression "-1 < sVar4" number_literal < identifier) ))) )) (compound_statement "{\n          sVar4 = FUN_0002a110();\n        }" { (expression_statement "sVar4 = FUN_0002a110();" (assignment_expression "sVar4 = FUN_0002a110()" identifier = (call_expression "FUN_0002a110()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);" (call_expression "FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4)" identifier (argument_list "(iVar15 + uVar16,0,(int)sVar4,(int)sVar4)" ( (binary_expression "iVar15 + uVar16" identifier + identifier) , number_literal , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (if_statement "if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }" if (parenthesized_expression "((extraout_ECX == *param_3) && (param_6 == 1))" ( (binary_expression "(extraout_ECX == *param_3) && (param_6 == 1)" (parenthesized_expression "(extraout_ECX == *param_3)" ( (binary_expression "extraout_ECX == *param_3" identifier == (pointer_expression "*param_3" * identifier)) )) && (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }" { (expression_statement "iVar11 = piVar14[0x1a];" (assignment_expression "iVar11 = piVar14[0x1a]" identifier = (subscript_expression "piVar14[0x1a]" identifier [ number_literal ])) ;) (for_statement "for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }" for ( (assignment_expression "iVar13 = 0" identifier = number_literal) ; (binary_expression "iVar13 < iVar7" identifier < identifier) ; (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ) (compound_statement "{\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }" { (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }" if (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13]))" ( (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" * (cast_expression "(byte *)(*param_3 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < (short)param_4[iVar13])" ( (binary_expression "-1 < (short)param_4[iVar13]" number_literal < (cast_expression "(short)param_4[iVar13]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_4[iVar13]" identifier [ identifier ]))) ))) )) (compound_statement "{\n            FUN_0002a110();\n          }" { (expression_statement "FUN_0002a110();" (call_expression "FUN_0002a110()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);" (assignment_expression "uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" identifier = (pointer_expression "*(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" * (cast_expression "(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + iVar13 * 2)" ( (binary_expression "*(int *)(param_2 + 4) + iVar13 * 2" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + (binary_expression "iVar13 * 2" identifier * number_literal)) ))))) ;) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) (if_statement "if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }" if (parenthesized_expression "(((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2))" ( (binary_expression "((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)" (parenthesized_expression "((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0)" ( (binary_expression "(*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20)" ( (binary_expression "*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20" (pointer_expression "*(byte *)(*(int *)(param_2 + 0xc) + 0x24)" * (cast_expression "(byte *)(*(int *)(param_2 + 0xc) + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0xc) + 0x24)" ( (binary_expression "*(int *)(param_2 + 0xc) + 0x24" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(-1 < (short)uVar2)" ( (binary_expression "-1 < (short)uVar2" number_literal < (cast_expression "(short)uVar2" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ))) )) (compound_statement "{\n            uVar5 = FUN_0002a110();\n          }" { (expression_statement "uVar5 = FUN_0002a110();" (assignment_expression "uVar5 = FUN_0002a110()" identifier = (call_expression "FUN_0002a110()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar10 = extraout_ECX;" (assignment_expression "iVar10 = extraout_ECX" identifier = identifier) ;) (expression_statement "iVar12 = param_5;" (assignment_expression "iVar12 = param_5" identifier = identifier) ;) (expression_statement "uVar16 = (uint)uVar2;" (assignment_expression "uVar16 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }" if (parenthesized_expression "(uVar2 != *(ushort *)(extraout_ECX + 0x28))" ( (binary_expression "uVar2 != *(ushort *)(extraout_ECX + 0x28)" identifier != (pointer_expression "*(ushort *)(extraout_ECX + 0x28)" * (cast_expression "(ushort *)(extraout_ECX + 0x28)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 0x28)" ( (binary_expression "extraout_ECX + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }" { (expression_statement "iVar10 = (int)(short)uVar5;" (assignment_expression "iVar10 = (int)(short)uVar5" identifier = (cast_expression "(int)(short)uVar5" ( (type_descriptor "int" primitive_type) ) (cast_expression "(short)uVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier))) ;) (expression_statement "iVar12 = iVar10 + param_5 + 1U;" (assignment_expression "iVar12 = iVar10 + param_5 + 1U" identifier = (binary_expression "iVar10 + param_5 + 1U" (binary_expression "iVar10 + param_5" identifier + identifier) + number_literal)) ;) (expression_statement "uVar16 = param_5 + 1U;" (assignment_expression "uVar16 = param_5 + 1U" identifier = (binary_expression "param_5 + 1U" identifier + number_literal)) ;) })) (expression_statement "FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);" (call_expression "FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10)" identifier (argument_list "(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10)" ( (binary_expression "iVar11 + iVar7 + 1" (binary_expression "iVar11 + iVar7" identifier + identifier) + number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }" if (parenthesized_expression "(0 < piVar14[0x1a])" ( (binary_expression "0 < piVar14[0x1a]" number_literal < (subscript_expression "piVar14[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }" { (expression_statement "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" * (cast_expression "(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" ( (binary_expression "piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12" (binary_expression "piVar14[0x1a] * 0x14 + piVar14[0x19]" (binary_expression "piVar14[0x1a] * 0x14" (subscript_expression "piVar14[0x1a]" identifier [ number_literal ]) * number_literal) + (subscript_expression "piVar14[0x19]" identifier [ number_literal ])) + number_literal) )))) = number_literal) ;) })) })) (expression_statement "FUN_000315c0(iVar6,0,uVar16,uVar16);" (call_expression "FUN_000315c0(iVar6,0,uVar16,uVar16)" identifier (argument_list "(iVar6,0,uVar16,uVar16)" ( identifier , number_literal , identifier , identifier ))) ;) })) (expression_statement "FUN_0002e150();" (call_expression "FUN_0002e150()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);" (call_expression "FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00)" identifier (argument_list "(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_00032090(iVar7);" (call_expression "FUN_00032090(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "FUN_000316b0(iVar6,iVar9,0);" (call_expression "FUN_000316b0(iVar6,iVar9,0)" identifier (argument_list "(iVar6,iVar9,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "iVar11 = extraout_EDX_03;" (assignment_expression "iVar11 = extraout_EDX_03" identifier = identifier) ;) (if_statement "if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }" { (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar11 = extraout_EDX_04;" (assignment_expression "iVar11 = extraout_EDX_04" identifier = identifier) ;) })) (if_statement "if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }" { (expression_statement "FUN_00029ce0();" (call_expression "FUN_00029ce0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar11 = extraout_EDX_05;" (assignment_expression "iVar11 = extraout_EDX_05" identifier = identifier) ;) }) (else_clause "else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" else (if_statement "if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" if (parenthesized_expression "(param_1[7] < iVar7)" ( (binary_expression "param_1[7] < iVar7" (subscript_expression "param_1[7]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" { (expression_statement "param_1[7] = iVar7;" (assignment_expression "param_1[7] = iVar7" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = iVar15;" (assignment_expression "param_1[8] = iVar15" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) })))) }))) })) (if_statement "if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }" if (parenthesized_expression "((char)param_3[6] == '\0')" ( (binary_expression "(char)param_3[6] == '\0'" (cast_expression "(char)param_3[6]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_3[6]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }" { (expression_statement "param_3 = (int *)*param_1;" (assignment_expression "param_3 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" if (parenthesized_expression "((*(byte *)((int)param_3 + 0x1e) & 8) == 0)" ( (binary_expression "(*(byte *)((int)param_3 + 0x1e) & 8) == 0" (parenthesized_expression "(*(byte *)((int)param_3 + 0x1e) & 8)" ( (binary_expression "*(byte *)((int)param_3 + 0x1e) & 8" (pointer_expression "*(byte *)((int)param_3 + 0x1e)" * (cast_expression "(byte *)((int)param_3 + 0x1e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x1e)" ( (binary_expression "(int)param_3 + 0x1e" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }" { (if_statement "if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" if (parenthesized_expression "(param_1[0x1d] == 0)" ( (binary_expression "param_1[0x1d] == 0" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }" { (if_statement "if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }" if (parenthesized_expression "((char)param_1[5] == '\0')" ( (binary_expression "(char)param_1[5] == '\0'" (cast_expression "(char)param_1[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }" { (expression_statement "FUN_00032230(0,0xffffffff,4,iVar11);" (call_expression "FUN_00032230(0,0xffffffff,4,iVar11)" identifier (argument_list "(0,0xffffffff,4,iVar11)" ( number_literal , number_literal , number_literal , identifier ))) ;) (goto_statement "goto LAB_0001827b;" goto statement_identifier ;) })) (if_statement "if (param_6 == 1) goto LAB_00018260;" if (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) )) (goto_statement "goto LAB_00018260;" goto statement_identifier ;)) }) (else_clause "else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" else (if_statement "if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" if (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) )) (compound_statement "{\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" { (expression_statement "param_1 = (int *)param_1[0x1d];" (assignment_expression "param_1 = (int *)param_1[0x1d]" identifier = (cast_expression "(int *)param_1[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_00018260;" goto statement_identifier ;) })))) }) (else_clause "else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" else (if_statement "if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" if (parenthesized_expression "(param_6 == 1)" ( (binary_expression "param_6 == 1" identifier == number_literal) )) (compound_statement "{\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" { (expression_statement "param_3 = (int *)param_1[0x1d];" (assignment_expression "param_3 = (int *)param_1[0x1d]" identifier = (cast_expression "(int *)param_1[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (if_statement "if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        param_1 = param_3;\n      }" { (expression_statement "param_1 = param_3;" (assignment_expression "param_1 = param_3" identifier = identifier) ;) })) (labeled_statement "LAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;" statement_identifier : (expression_statement "*(undefined1 *)((int)param_1 + 0x15) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x15) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x15)" * (cast_expression "(undefined1 *)((int)param_1 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x15)" ( (binary_expression "(int)param_1 + 0x15" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;)) })))) })) (expression_statement "FUN_000315c0(param_6,0,param_3,param_3);" (call_expression "FUN_000315c0(param_6,0,param_3,param_3)" identifier (argument_list "(param_6,0,param_3,param_3)" ( identifier , number_literal , identifier , identifier ))) ;) (labeled_statement "LAB_0001827b:\n  FUN_00031430();" statement_identifier : (expression_statement "FUN_00031430();" (call_expression "FUN_00031430()" identifier (argument_list "()" ( ))) ;)) (expression_statement "FUN_000315c0();" (call_expression "FUN_000315c0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (for_statement for ( (assignment_expression IDENT = LIT) ; (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT < IDENT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ IDENT ]))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) - LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (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) * LIT) + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) - LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , LIT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT < IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ IDENT ]))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) * LIT) + (subscript_expression IDENT [ LIT ])) + LIT) )))) = LIT) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })))) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , LIT , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;)) })))) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm1\nFUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)\n\n{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}" (primitive_type "void") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_00017d6d(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)" (identifier "FUN_00017d6d") (parameter_list "(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,\n            int param_7)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) () ")"))) (compound_statement "{\n  char cVar1;\n  ushort uVar2;\n  byte bVar3;\n  short sVar4;\n  ushort uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int extraout_ECX;\n  undefined4 extraout_ECX_00;\n  undefined4 extraout_EDX;\n  int extraout_EDX_00;\n  int extraout_EDX_01;\n  int iVar11;\n  int extraout_EDX_02;\n  int iVar12;\n  int extraout_EDX_03;\n  int extraout_EDX_04;\n  int extraout_EDX_05;\n  int iVar13;\n  int *piVar14;\n  int unaff_EDI;\n  int iVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  int local_50;\n  \n  FUN_000a94ff();\n  uVar17 = CONCAT44(extraout_EDX,param_1[2]);\n  if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }\n  iVar11 = (int)((ulonglong)uVar17 >> 0x20);\n  piVar14 = (int *)uVar17;\n  iVar6 = param_1[0xe] + -1;\n  param_1[0xe] = iVar6;\n  if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }\n  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }\n  if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }\n  if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }\n  FUN_000315c0(param_6,0,param_3,param_3);\nLAB_0001827b:\n  FUN_00031430();\n  FUN_000315c0();\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "short sVar4;" (sized_type_specifier "short" (short "short")) (identifier "sVar4") (; ";")) (declaration "ushort uVar5;" (type_identifier "ushort") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "undefined4 extraout_ECX_00;" (type_identifier "undefined4") (identifier "extraout_ECX_00") (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "int extraout_EDX_00;" (primitive_type "int") (identifier "extraout_EDX_00") (; ";")) (declaration "int extraout_EDX_01;" (primitive_type "int") (identifier "extraout_EDX_01") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int extraout_EDX_02;" (primitive_type "int") (identifier "extraout_EDX_02") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int extraout_EDX_03;" (primitive_type "int") (identifier "extraout_EDX_03") (; ";")) (declaration "int extraout_EDX_04;" (primitive_type "int") (identifier "extraout_EDX_04") (; ";")) (declaration "int extraout_EDX_05;" (primitive_type "int") (identifier "extraout_EDX_05") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "undefined8 uVar17;" (type_identifier "undefined8") (identifier "uVar17") (; ";")) (declaration "int local_50;" (primitive_type "int") (identifier "local_50") (; ";")) (expression_statement "FUN_000a94ff();" (call_expression "FUN_000a94ff()" (identifier "FUN_000a94ff") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar17 = CONCAT44(extraout_EDX,param_1[2]);" (assignment_expression "uVar17 = CONCAT44(extraout_EDX,param_1[2])" (identifier "uVar17") (= "=") (call_expression "CONCAT44(extraout_EDX,param_1[2])" (identifier "CONCAT44") (argument_list "(extraout_EDX,param_1[2])" (( "(") (identifier "extraout_EDX") (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (if_statement "if (param_1[2] == 0) {\n    uVar17 = FUN_000318c0();\n  }" (if "if") (parenthesized_expression "(param_1[2] == 0)" (( "(") (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar17 = FUN_000318c0();\n  }" ({ "{") (expression_statement "uVar17 = FUN_000318c0();" (assignment_expression "uVar17 = FUN_000318c0()" (identifier "uVar17") (= "=") (call_expression "FUN_000318c0()" (identifier "FUN_000318c0") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar11 = (int)((ulonglong)uVar17 >> 0x20);" (assignment_expression "iVar11 = (int)((ulonglong)uVar17 >> 0x20)" (identifier "iVar11") (= "=") (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar17")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar14 = (int *)uVar17;" (assignment_expression "piVar14 = (int *)uVar17" (identifier "piVar14") (= "=") (cast_expression "(int *)uVar17" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar17"))) (; ";")) (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" (identifier "iVar6") (= "=") (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (param_6 == -1) {\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }" (if "if") (parenthesized_expression "(param_6 == -1)" (( "(") (binary_expression "param_6 == -1" (identifier "param_6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    FUN_000315c0(iVar6,0,param_3,param_3);\n    iVar11 = extraout_EDX_00;\n  }" ({ "{") (expression_statement "FUN_000315c0(iVar6,0,param_3,param_3);" (call_expression "FUN_000315c0(iVar6,0,param_3,param_3)" (identifier "FUN_000315c0") (argument_list "(iVar6,0,param_3,param_3)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "iVar11 = extraout_EDX_00;" (assignment_expression "iVar11 = extraout_EDX_00" (identifier "iVar11") (= "=") (identifier "extraout_EDX_00")) (; ";")) (} "}"))) (for_statement "for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }" (for "for") (( "(") (assignment_expression "iVar15 = 0" (identifier "iVar15") (= "=") (number_literal "0")) (; ";") (comma_expression "iVar7 = param_3[5], iVar15 < iVar7" (assignment_expression "iVar7 = param_3[5]" (identifier "iVar7") (= "=") (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]"))) (, ",") (binary_expression "iVar15 < iVar7" (identifier "iVar15") (< "<") (identifier "iVar7"))) (; ";") (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }\n    FUN_000315c0(iVar6,0,iVar7,iVar7);\n    iVar11 = extraout_EDX_01;\n  }" ({ "{") (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {\n      FUN_0002a110();\n    }" (if "if") (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15]))" (( "(") (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" (( "(") (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" (* "*") (cast_expression "(byte *)(*param_3 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0x24)" (( "(") (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < (short)param_4[iVar15])" (( "(") (binary_expression "-1 < (short)param_4[iVar15]" (number_literal "-1") (< "<") (cast_expression "(short)param_4[iVar15]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "param_4[iVar15]" (identifier "param_4") ([ "[") (identifier "iVar15") (] "]")))) () ")"))) () ")")) (compound_statement "{\n      FUN_0002a110();\n    }" ({ "{") (expression_statement "FUN_0002a110();" (call_expression "FUN_0002a110()" (identifier "FUN_0002a110") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000315c0(iVar6,0,iVar7,iVar7);" (call_expression "FUN_000315c0(iVar6,0,iVar7,iVar7)" (identifier "FUN_000315c0") (argument_list "(iVar6,0,iVar7,iVar7)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (identifier "iVar7") (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "iVar11 = extraout_EDX_01;" (assignment_expression "iVar11 = extraout_EDX_01" (identifier "iVar11") (= "=") (identifier "extraout_EDX_01")) (; ";")) (} "}"))) (if_statement "if (param_7 == 0) {\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }\n  }" ({ "{") (if_statement "if (param_2 == 0) {\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }\n    else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }\n      sVar4 = (short)*param_4;\n      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }\n      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);\n      iVar7 = FUN_000315c0(0,0);\n      piVar8 = param_3;\n      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }\n      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);\n      FUN_000315c0(0,iVar15);\n      FUN_000315c0(iVar6,0);\n      iVar6 = piVar14[0x1a];\n      local_50 = iVar6 + -2;\n      if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }\n      cVar1 = *(char *)(*piVar14 + 0x4d);\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }\n      iVar11 = unaff_EDI + 0xc7858;\n      if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }\n      *(int *)(iVar11 + 8) = iVar6;\n      if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }\n    }" ({ "{") (if_statement "if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x13) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x13)" (* "*") (cast_expression "(char *)((int)param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar15 = param_1[0xb] + 1;\n        param_1[0xb] = iVar15;\n      }" ({ "{") (expression_statement "iVar15 = param_1[0xb] + 1;" (assignment_expression "iVar15 = param_1[0xb] + 1" (identifier "iVar15") (= "=") (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[0xb] = iVar15;" (assignment_expression "param_1[0xb] = iVar15" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar15")) (; ";")) (} "}")) (else_clause "else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" (else "else") (compound_statement "{\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar15 = param_1[bVar3 + 0x26];\n      }" ({ "{") (expression_statement "bVar3 = *(char *)((int)param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)((int)param_1 + 0x13) - 1" (identifier "bVar3") (= "=") (binary_expression "*(char *)((int)param_1 + 0x13) - 1" (pointer_expression "*(char *)((int)param_1 + 0x13)" (* "*") (cast_expression "(char *)((int)param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (expression_statement "*(byte *)((int)param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)((int)param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)((int)param_1 + 0x13)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (identifier "bVar3")) (; ";")) (expression_statement "iVar15 = param_1[bVar3 + 0x26];" (assignment_expression "iVar15 = param_1[bVar3 + 0x26]" (identifier "iVar15") (= "=") (subscript_expression "param_1[bVar3 + 0x26]" (identifier "param_1") ([ "[") (binary_expression "bVar3 + 0x26" (identifier "bVar3") (+ "+") (number_literal "0x26")) (] "]"))) (; ";")) (} "}")))) (expression_statement "sVar4 = (short)*param_4;" (assignment_expression "sVar4 = (short)*param_4" (identifier "sVar4") (= "=") (cast_expression "(short)*param_4" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n        sVar4 = FUN_0002a110();\n      }" (if "if") (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4))" (( "(") (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" (( "(") (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" (* "*") (cast_expression "(byte *)(*param_3 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0x24)" (( "(") (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < sVar4)" (( "(") (binary_expression "-1 < sVar4" (number_literal "-1") (< "<") (identifier "sVar4")) () ")"))) () ")")) (compound_statement "{\n        sVar4 = FUN_0002a110();\n      }" ({ "{") (expression_statement "sVar4 = FUN_0002a110();" (assignment_expression "sVar4 = FUN_0002a110()" (identifier "sVar4") (= "=") (call_expression "FUN_0002a110()" (identifier "FUN_0002a110") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);" (call_expression "FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4)" (identifier "FUN_000315c0") (argument_list "(iVar15,0,(int)sVar4,(int)sVar4)" (( "(") (identifier "iVar15") (, ",") (number_literal "0") (, ",") (cast_expression "(int)sVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar4")) (, ",") (cast_expression "(int)sVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar4")) () ")"))) (; ";")) (expression_statement "iVar7 = FUN_000315c0(0,0);" (assignment_expression "iVar7 = FUN_000315c0(0,0)" (identifier "iVar7") (= "=") (call_expression "FUN_000315c0(0,0)" (identifier "FUN_000315c0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "piVar8 = param_3;" (assignment_expression "piVar8 = param_3" (identifier "piVar8") (= "=") (identifier "param_3")) (; ";")) (if_statement "if ((*param_3 == extraout_ECX) && (param_6 == 1)) {\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }" (if "if") (parenthesized_expression "((*param_3 == extraout_ECX) && (param_6 == 1))" (( "(") (binary_expression "(*param_3 == extraout_ECX) && (param_6 == 1)" (parenthesized_expression "(*param_3 == extraout_ECX)" (( "(") (binary_expression "*param_3 == extraout_ECX" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (identifier "extraout_ECX")) () ")")) (&& "&&") (parenthesized_expression "(param_6 == 1)" (( "(") (binary_expression "param_6 == 1" (identifier "param_6") (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        FUN_000315c0(iVar6,iVar15,param_3,param_3);\n        piVar8 = (int *)piVar14[0x1a];\n        if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }\n      }" ({ "{") (expression_statement "FUN_000315c0(iVar6,iVar15,param_3,param_3);" (call_expression "FUN_000315c0(iVar6,iVar15,param_3,param_3)" (identifier "FUN_000315c0") (argument_list "(iVar6,iVar15,param_3,param_3)" (( "(") (identifier "iVar6") (, ",") (identifier "iVar15") (, ",") (identifier "param_3") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "piVar8 = (int *)piVar14[0x1a];" (assignment_expression "piVar8 = (int *)piVar14[0x1a]" (identifier "piVar8") (= "=") (cast_expression "(int *)piVar14[0x1a]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar14[0x1a]" (identifier "piVar14") ([ "[") (number_literal "0x1a") (] "]")))) (; ";")) (if_statement "if (0 < (int)piVar8) {\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }" (if "if") (parenthesized_expression "(0 < (int)piVar8)" (( "(") (binary_expression "0 < (int)piVar8" (number_literal "0") (< "<") (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8"))) () ")")) (compound_statement "{\n          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);\n          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;\n        }" ({ "{") (expression_statement "piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);" (assignment_expression "piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19])" (identifier "piVar8") (= "=") (cast_expression "(int *)((int)piVar8 * 0x14 + piVar14[0x19])" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 * 0x14 + piVar14[0x19])" (( "(") (binary_expression "(int)piVar8 * 0x14 + piVar14[0x19]" (binary_expression "(int)piVar8 * 0x14" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (* "*") (number_literal "0x14")) (+ "+") (subscript_expression "piVar14[0x19]" (identifier "piVar14") ([ "[") (number_literal "0x19") (] "]"))) () ")")))) (; ";")) (expression_statement "*(undefined2 *)((int)piVar8 + -0x12) = 0x90;" (assignment_expression "*(undefined2 *)((int)piVar8 + -0x12) = 0x90" (pointer_expression "*(undefined2 *)((int)piVar8 + -0x12)" (* "*") (cast_expression "(undefined2 *)((int)piVar8 + -0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 + -0x12)" (( "(") (binary_expression "(int)piVar8 + -0x12" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (number_literal "0x90")) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);" (call_expression "FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8)" (identifier "FUN_0004b430") (argument_list "(extraout_ECX,0x60,piVar8,piVar8)" (( "(") (identifier "extraout_ECX") (, ",") (number_literal "0x60") (, ",") (identifier "piVar8") (, ",") (identifier "piVar8") () ")"))) (; ";")) (expression_statement "FUN_000315c0(0,iVar15);" (call_expression "FUN_000315c0(0,iVar15)" (identifier "FUN_000315c0") (argument_list "(0,iVar15)" (( "(") (number_literal "0") (, ",") (identifier "iVar15") () ")"))) (; ";")) (expression_statement "FUN_000315c0(iVar6,0);" (call_expression "FUN_000315c0(iVar6,0)" (identifier "FUN_000315c0") (argument_list "(iVar6,0)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar6 = piVar14[0x1a];" (assignment_expression "iVar6 = piVar14[0x1a]" (identifier "iVar6") (= "=") (subscript_expression "piVar14[0x1a]" (identifier "piVar14") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (expression_statement "local_50 = iVar6 + -2;" (assignment_expression "local_50 = iVar6 + -2" (identifier "local_50") (= "=") (binary_expression "iVar6 + -2" (identifier "iVar6") (+ "+") (number_literal "-2"))) (; ";")) (if_statement "if (local_50 < 0) {\n        local_50 = iVar6 + -1;\n      }" (if "if") (parenthesized_expression "(local_50 < 0)" (( "(") (binary_expression "local_50 < 0" (identifier "local_50") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        local_50 = iVar6 + -1;\n      }" ({ "{") (expression_statement "local_50 = iVar6 + -1;" (assignment_expression "local_50 = iVar6 + -1" (identifier "local_50") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "cVar1 = *(char *)(*piVar14 + 0x4d);" (assignment_expression "cVar1 = *(char *)(*piVar14 + 0x4d)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(*piVar14 + 0x4d)" (* "*") (cast_expression "(char *)(*piVar14 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar14 + 0x4d)" (( "(") (binary_expression "*piVar14 + 0x4d" (pointer_expression "*piVar14" (* "*") (identifier "piVar14")) (+ "+") (number_literal "0x4d")) () ")"))))) (; ";")) (expression_statement "iVar11 = unaff_EDI + 0xc7858;" (assignment_expression "iVar11 = unaff_EDI + 0xc7858" (identifier "iVar11") (= "=") (binary_expression "unaff_EDI + 0xc7858" (identifier "unaff_EDI") (+ "+") (number_literal "0xc7858"))) (; ";")) (if_statement "if (cVar1 == '\0') {\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar11 = local_50 * 0x14 + piVar14[0x19];\n      }" ({ "{") (expression_statement "iVar11 = local_50 * 0x14 + piVar14[0x19];" (assignment_expression "iVar11 = local_50 * 0x14 + piVar14[0x19]" (identifier "iVar11") (= "=") (binary_expression "local_50 * 0x14 + piVar14[0x19]" (binary_expression "local_50 * 0x14" (identifier "local_50") (* "*") (number_literal "0x14")) (+ "+") (subscript_expression "piVar14[0x19]" (identifier "piVar14") ([ "[") (number_literal "0x19") (] "]")))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (iVar7 < 0) {\n        iVar7 = iVar6 + -1;\n      }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = iVar6 + -1;\n      }" ({ "{") (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "iVar11 = unaff_EDI + 0xc7858;" (assignment_expression "iVar11 = unaff_EDI + 0xc7858" (identifier "iVar11") (= "=") (binary_expression "unaff_EDI + 0xc7858" (identifier "unaff_EDI") (+ "+") (number_literal "0xc7858"))) (; ";")) (if_statement "if (cVar1 == '\0') {\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar11 = iVar7 * 0x14 + piVar14[0x19];\n      }" ({ "{") (expression_statement "iVar11 = iVar7 * 0x14 + piVar14[0x19];" (assignment_expression "iVar11 = iVar7 * 0x14 + piVar14[0x19]" (identifier "iVar11") (= "=") (binary_expression "iVar7 * 0x14 + piVar14[0x19]" (binary_expression "iVar7 * 0x14" (identifier "iVar7") (* "*") (number_literal "0x14")) (+ "+") (subscript_expression "piVar14[0x19]" (identifier "piVar14") ([ "[") (number_literal "0x19") (] "]")))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (iVar15 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }" (if "if") (parenthesized_expression "(iVar15 != 0)" (( "(") (binary_expression "iVar15 != 0" (identifier "iVar15") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00029c40();\n        iVar11 = extraout_EDX_02;\n      }" ({ "{") (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" (identifier "FUN_00029c40") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar11 = extraout_EDX_02;" (assignment_expression "iVar11 = extraout_EDX_02" (identifier "iVar11") (= "=") (identifier "extraout_EDX_02")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" (else "else") (compound_statement "{\n      iVar15 = FUN_00029c70();\n      if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }\n      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);\n      FUN_0004b400();\n      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }\n      if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }\n      FUN_0002e150();\n      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);\n      FUN_00032090(iVar7);\n      FUN_000316b0(iVar6,iVar9,0);\n      iVar11 = extraout_EDX_03;\n      if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }\n      if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }\n    }" ({ "{") (expression_statement "iVar15 = FUN_00029c70();" (assignment_expression "iVar15 = FUN_00029c70()" (identifier "iVar15") (= "=") (call_expression "FUN_00029c70()" (identifier "FUN_00029c70") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (*(char *)((int)param_1 + 0x13) == '\0') {\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }\n      else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x13) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x13)" (* "*") (cast_expression "(char *)((int)param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar9 = param_1[0xb] + 1;\n        param_1[0xb] = iVar9;\n      }" ({ "{") (expression_statement "iVar9 = param_1[0xb] + 1;" (assignment_expression "iVar9 = param_1[0xb] + 1" (identifier "iVar9") (= "=") (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[0xb] = iVar9;" (assignment_expression "param_1[0xb] = iVar9" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (} "}")) (else_clause "else {\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" (else "else") (compound_statement "{\n        bVar3 = *(char *)((int)param_1 + 0x13) - 1;\n        *(byte *)((int)param_1 + 0x13) = bVar3;\n        iVar9 = param_1[bVar3 + 0x26];\n      }" ({ "{") (expression_statement "bVar3 = *(char *)((int)param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)((int)param_1 + 0x13) - 1" (identifier "bVar3") (= "=") (binary_expression "*(char *)((int)param_1 + 0x13) - 1" (pointer_expression "*(char *)((int)param_1 + 0x13)" (* "*") (cast_expression "(char *)((int)param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (expression_statement "*(byte *)((int)param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)((int)param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)((int)param_1 + 0x13)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (identifier "bVar3")) (; ";")) (expression_statement "iVar9 = param_1[bVar3 + 0x26];" (assignment_expression "iVar9 = param_1[bVar3 + 0x26]" (identifier "iVar9") (= "=") (subscript_expression "param_1[bVar3 + 0x26]" (identifier "param_1") ([ "[") (binary_expression "bVar3 + 0x26" (identifier "bVar3") (+ "+") (number_literal "0x26")) (] "]"))) (; ";")) (} "}")))) (expression_statement "FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);" (call_expression "FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9)" (identifier "FUN_000315c0") (argument_list "(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9)" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (identifier "extraout_EDX") (, ",") (identifier "iVar9") (, ",") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "FUN_0004b400();" (call_expression "FUN_0004b400()" (identifier "FUN_0004b400") (argument_list "()" (( "(") () ")"))) (; ";")) (for_statement "for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }" (for "for") (( "(") (assignment_expression "uVar16 = 0" (identifier "uVar16") (= "=") (number_literal "0")) (; ";") (binary_expression "(int)uVar16 < iVar7" (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16")) (< "<") (identifier "iVar7")) (; ";") (assignment_expression "uVar16 = uVar16 + 1" (identifier "uVar16") (= "=") (binary_expression "uVar16 + 1" (identifier "uVar16") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n        sVar4 = (short)param_4[uVar16];\n        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }\n        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);\n      }" ({ "{") (expression_statement "sVar4 = (short)param_4[uVar16];" (assignment_expression "sVar4 = (short)param_4[uVar16]" (identifier "sVar4") (= "=") (cast_expression "(short)param_4[uVar16]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "param_4[uVar16]" (identifier "param_4") ([ "[") (identifier "uVar16") (] "]")))) (; ";")) (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {\n          sVar4 = FUN_0002a110();\n        }" (if "if") (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4))" (( "(") (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" (( "(") (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" (* "*") (cast_expression "(byte *)(*param_3 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0x24)" (( "(") (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < sVar4)" (( "(") (binary_expression "-1 < sVar4" (number_literal "-1") (< "<") (identifier "sVar4")) () ")"))) () ")")) (compound_statement "{\n          sVar4 = FUN_0002a110();\n        }" ({ "{") (expression_statement "sVar4 = FUN_0002a110();" (assignment_expression "sVar4 = FUN_0002a110()" (identifier "sVar4") (= "=") (call_expression "FUN_0002a110()" (identifier "FUN_0002a110") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);" (call_expression "FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4)" (identifier "FUN_000315c0") (argument_list "(iVar15 + uVar16,0,(int)sVar4,(int)sVar4)" (( "(") (binary_expression "iVar15 + uVar16" (identifier "iVar15") (+ "+") (identifier "uVar16")) (, ",") (number_literal "0") (, ",") (cast_expression "(int)sVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar4")) (, ",") (cast_expression "(int)sVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar4")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((extraout_ECX == *param_3) && (param_6 == 1)) {\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }" (if "if") (parenthesized_expression "((extraout_ECX == *param_3) && (param_6 == 1))" (( "(") (binary_expression "(extraout_ECX == *param_3) && (param_6 == 1)" (parenthesized_expression "(extraout_ECX == *param_3)" (( "(") (binary_expression "extraout_ECX == *param_3" (identifier "extraout_ECX") (== "==") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (&& "&&") (parenthesized_expression "(param_6 == 1)" (( "(") (binary_expression "param_6 == 1" (identifier "param_6") (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        iVar11 = piVar14[0x1a];\n        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }\n        FUN_000315c0(iVar6,0,uVar16,uVar16);\n      }" ({ "{") (expression_statement "iVar11 = piVar14[0x1a];" (assignment_expression "iVar11 = piVar14[0x1a]" (identifier "iVar11") (= "=") (subscript_expression "piVar14[0x1a]" (identifier "piVar14") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (for_statement "for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }" (for "for") (( "(") (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";") (binary_expression "iVar13 < iVar7" (identifier "iVar13") (< "<") (identifier "iVar7")) (; ";") (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }\n          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);\n          uVar5 = uVar2;\n          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }\n          iVar10 = extraout_ECX;\n          iVar12 = param_5;\n          uVar16 = (uint)uVar2;\n          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }\n          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);\n          if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }\n        }" ({ "{") (if_statement "if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {\n            FUN_0002a110();\n          }" (if "if") (parenthesized_expression "(((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13]))" (( "(") (binary_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])" (parenthesized_expression "((*(byte *)(*param_3 + 0x24) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(*param_3 + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 0x24) & 0x20)" (( "(") (binary_expression "*(byte *)(*param_3 + 0x24) & 0x20" (pointer_expression "*(byte *)(*param_3 + 0x24)" (* "*") (cast_expression "(byte *)(*param_3 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0x24)" (( "(") (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < (short)param_4[iVar13])" (( "(") (binary_expression "-1 < (short)param_4[iVar13]" (number_literal "-1") (< "<") (cast_expression "(short)param_4[iVar13]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "param_4[iVar13]" (identifier "param_4") ([ "[") (identifier "iVar13") (] "]")))) () ")"))) () ")")) (compound_statement "{\n            FUN_0002a110();\n          }" ({ "{") (expression_statement "FUN_0002a110();" (call_expression "FUN_0002a110()" (identifier "FUN_0002a110") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);" (assignment_expression "uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" (identifier "uVar2") (= "=") (pointer_expression "*(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" (* "*") (cast_expression "(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 4) + iVar13 * 2)" (( "(") (binary_expression "*(int *)(param_2 + 4) + iVar13 * 2" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" (identifier "uVar5") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {\n            uVar5 = FUN_0002a110();\n          }" (if "if") (parenthesized_expression "(((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2))" (( "(") (binary_expression "((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)" (parenthesized_expression "((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0" (parenthesized_expression "(*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20)" (( "(") (binary_expression "*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20" (pointer_expression "*(byte *)(*(int *)(param_2 + 0xc) + 0x24)" (* "*") (cast_expression "(byte *)(*(int *)(param_2 + 0xc) + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0xc) + 0x24)" (( "(") (binary_expression "*(int *)(param_2 + 0xc) + 0x24" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < (short)uVar2)" (( "(") (binary_expression "-1 < (short)uVar2" (number_literal "-1") (< "<") (cast_expression "(short)uVar2" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar2"))) () ")"))) () ")")) (compound_statement "{\n            uVar5 = FUN_0002a110();\n          }" ({ "{") (expression_statement "uVar5 = FUN_0002a110();" (assignment_expression "uVar5 = FUN_0002a110()" (identifier "uVar5") (= "=") (call_expression "FUN_0002a110()" (identifier "FUN_0002a110") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar10 = extraout_ECX;" (assignment_expression "iVar10 = extraout_ECX" (identifier "iVar10") (= "=") (identifier "extraout_ECX")) (; ";")) (expression_statement "iVar12 = param_5;" (assignment_expression "iVar12 = param_5" (identifier "iVar12") (= "=") (identifier "param_5")) (; ";")) (expression_statement "uVar16 = (uint)uVar2;" (assignment_expression "uVar16 = (uint)uVar2" (identifier "uVar16") (= "=") (cast_expression "(uint)uVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar2"))) (; ";")) (if_statement "if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }" (if "if") (parenthesized_expression "(uVar2 != *(ushort *)(extraout_ECX + 0x28))" (( "(") (binary_expression "uVar2 != *(ushort *)(extraout_ECX + 0x28)" (identifier "uVar2") (!= "!=") (pointer_expression "*(ushort *)(extraout_ECX + 0x28)" (* "*") (cast_expression "(ushort *)(extraout_ECX + 0x28)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 0x28)" (( "(") (binary_expression "extraout_ECX + 0x28" (identifier "extraout_ECX") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n            iVar10 = (int)(short)uVar5;\n            iVar12 = iVar10 + param_5 + 1U;\n            uVar16 = param_5 + 1U;\n          }" ({ "{") (expression_statement "iVar10 = (int)(short)uVar5;" (assignment_expression "iVar10 = (int)(short)uVar5" (identifier "iVar10") (= "=") (cast_expression "(int)(short)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(short)uVar5" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar5")))) (; ";")) (expression_statement "iVar12 = iVar10 + param_5 + 1U;" (assignment_expression "iVar12 = iVar10 + param_5 + 1U" (identifier "iVar12") (= "=") (binary_expression "iVar10 + param_5 + 1U" (binary_expression "iVar10 + param_5" (identifier "iVar10") (+ "+") (identifier "param_5")) (+ "+") (number_literal "1U"))) (; ";")) (expression_statement "uVar16 = param_5 + 1U;" (assignment_expression "uVar16 = param_5 + 1U" (identifier "uVar16") (= "=") (binary_expression "param_5 + 1U" (identifier "param_5") (+ "+") (number_literal "1U"))) (; ";")) (} "}"))) (expression_statement "FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);" (call_expression "FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10)" (identifier "FUN_000315c0") (argument_list "(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10)" (( "(") (binary_expression "iVar11 + iVar7 + 1" (binary_expression "iVar11 + iVar7" (identifier "iVar11") (+ "+") (identifier "iVar7")) (+ "+") (number_literal "1")) (, ",") (identifier "iVar12") (, ",") (identifier "iVar10") (, ",") (identifier "iVar10") () ")"))) (; ";")) (if_statement "if (0 < piVar14[0x1a]) {\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }" (if "if") (parenthesized_expression "(0 < piVar14[0x1a])" (( "(") (binary_expression "0 < piVar14[0x1a]" (number_literal "0") (< "<") (subscript_expression "piVar14[0x1a]" (identifier "piVar14") ([ "[") (number_literal "0x1a") (] "]"))) () ")")) (compound_statement "{\n            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;\n          }" ({ "{") (expression_statement "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" (* "*") (cast_expression "(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12)" (( "(") (binary_expression "piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12" (binary_expression "piVar14[0x1a] * 0x14 + piVar14[0x19]" (binary_expression "piVar14[0x1a] * 0x14" (subscript_expression "piVar14[0x1a]" (identifier "piVar14") ([ "[") (number_literal "0x1a") (] "]")) (* "*") (number_literal "0x14")) (+ "+") (subscript_expression "piVar14[0x19]" (identifier "piVar14") ([ "[") (number_literal "0x19") (] "]"))) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (number_literal "0x10")) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000315c0(iVar6,0,uVar16,uVar16);" (call_expression "FUN_000315c0(iVar6,0,uVar16,uVar16)" (identifier "FUN_000315c0") (argument_list "(iVar6,0,uVar16,uVar16)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (identifier "uVar16") (, ",") (identifier "uVar16") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0002e150();" (call_expression "FUN_0002e150()" (identifier "FUN_0002e150") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);" (call_expression "FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00)" (identifier "FUN_000315c0") (argument_list "(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00)" (( "(") (identifier "iVar7") (, ",") (identifier "iVar9") (, ",") (identifier "extraout_ECX_00") (, ",") (identifier "extraout_ECX_00") () ")"))) (; ";")) (expression_statement "FUN_00032090(iVar7);" (call_expression "FUN_00032090(iVar7)" (identifier "FUN_00032090") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "FUN_000316b0(iVar6,iVar9,0);" (call_expression "FUN_000316b0(iVar6,iVar9,0)" (identifier "FUN_000316b0") (argument_list "(iVar6,iVar9,0)" (( "(") (identifier "iVar6") (, ",") (identifier "iVar9") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar11 = extraout_EDX_03;" (assignment_expression "iVar11 = extraout_EDX_03" (identifier "iVar11") (= "=") (identifier "extraout_EDX_03")) (; ";")) (if_statement "if (iVar9 != 0) {\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00029c40();\n        iVar11 = extraout_EDX_04;\n      }" ({ "{") (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" (identifier "FUN_00029c40") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar11 = extraout_EDX_04;" (assignment_expression "iVar11 = extraout_EDX_04" (identifier "iVar11") (= "=") (identifier "extraout_EDX_04")) (; ";")) (} "}"))) (if_statement "if (iVar7 == 1) {\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }\n      else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" (if "if") (parenthesized_expression "(iVar7 == 1)" (( "(") (binary_expression "iVar7 == 1" (identifier "iVar7") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        FUN_00029ce0();\n        iVar11 = extraout_EDX_05;\n      }" ({ "{") (expression_statement "FUN_00029ce0();" (call_expression "FUN_00029ce0()" (identifier "FUN_00029ce0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar11 = extraout_EDX_05;" (assignment_expression "iVar11 = extraout_EDX_05" (identifier "iVar11") (= "=") (identifier "extraout_EDX_05")) (; ";")) (} "}")) (else_clause "else if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" (else "else") (if_statement "if (param_1[7] < iVar7) {\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" (if "if") (parenthesized_expression "(param_1[7] < iVar7)" (( "(") (binary_expression "param_1[7] < iVar7" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n        param_1[7] = iVar7;\n        param_1[8] = iVar15;\n      }" ({ "{") (expression_statement "param_1[7] = iVar7;" (assignment_expression "param_1[7] = iVar7" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "param_1[8] = iVar15;" (assignment_expression "param_1[8] = iVar15" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar15")) (; ";")) (} "}"))))) (} "}")))) (} "}"))) (if_statement "if ((char)param_3[6] == '\0') {\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }" (if "if") (parenthesized_expression "((char)param_3[6] == '\0')" (( "(") (binary_expression "(char)param_3[6] == '\0'" (cast_expression "(char)param_3[6]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    param_3 = (int *)*param_1;\n    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }\n  }" ({ "{") (expression_statement "param_3 = (int *)*param_1;" (assignment_expression "param_3 = (int *)*param_1" (identifier "param_3") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }\n    else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" (if "if") (parenthesized_expression "((*(byte *)((int)param_3 + 0x1e) & 8) == 0)" (( "(") (binary_expression "(*(byte *)((int)param_3 + 0x1e) & 8) == 0" (parenthesized_expression "(*(byte *)((int)param_3 + 0x1e) & 8)" (( "(") (binary_expression "*(byte *)((int)param_3 + 0x1e) & 8" (pointer_expression "*(byte *)((int)param_3 + 0x1e)" (* "*") (cast_expression "(byte *)((int)param_3 + 0x1e)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x1e)" (( "(") (binary_expression "(int)param_3 + 0x1e" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x1e")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }\n    }" ({ "{") (if_statement "if (param_1[0x1d] == 0) {\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }\n      else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" (if "if") (parenthesized_expression "(param_1[0x1d] == 0)" (( "(") (binary_expression "param_1[0x1d] == 0" (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }\n        if (param_6 == 1) goto LAB_00018260;\n      }" ({ "{") (if_statement "if ((char)param_1[5] == '\0') {\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }" (if "if") (parenthesized_expression "((char)param_1[5] == '\0')" (( "(") (binary_expression "(char)param_1[5] == '\0'" (cast_expression "(char)param_1[5]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          FUN_00032230(0,0xffffffff,4,iVar11);\n          goto LAB_0001827b;\n        }" ({ "{") (expression_statement "FUN_00032230(0,0xffffffff,4,iVar11);" (call_expression "FUN_00032230(0,0xffffffff,4,iVar11)" (identifier "FUN_00032230") (argument_list "(0,0xffffffff,4,iVar11)" (( "(") (number_literal "0") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "4") (, ",") (identifier "iVar11") () ")"))) (; ";")) (goto_statement "goto LAB_0001827b;" (goto "goto") (statement_identifier "LAB_0001827b") (; ";")) (} "}"))) (if_statement "if (param_6 == 1) goto LAB_00018260;" (if "if") (parenthesized_expression "(param_6 == 1)" (( "(") (binary_expression "param_6 == 1" (identifier "param_6") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_00018260;" (goto "goto") (statement_identifier "LAB_00018260") (; ";"))) (} "}")) (else_clause "else if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" (else "else") (if_statement "if (param_6 == 1) {\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" (if "if") (parenthesized_expression "(param_6 == 1)" (( "(") (binary_expression "param_6 == 1" (identifier "param_6") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        param_1 = (int *)param_1[0x1d];\n        goto LAB_00018260;\n      }" ({ "{") (expression_statement "param_1 = (int *)param_1[0x1d];" (assignment_expression "param_1 = (int *)param_1[0x1d]" (identifier "param_1") (= "=") (cast_expression "(int *)param_1[0x1d]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")))) (; ";")) (goto_statement "goto LAB_00018260;" (goto "goto") (statement_identifier "LAB_00018260") (; ";")) (} "}"))))) (} "}")) (else_clause "else if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" (else "else") (if_statement "if (param_6 == 1) {\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" (if "if") (parenthesized_expression "(param_6 == 1)" (( "(") (binary_expression "param_6 == 1" (identifier "param_6") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      param_3 = (int *)param_1[0x1d];\n      if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }\nLAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;\n    }" ({ "{") (expression_statement "param_3 = (int *)param_1[0x1d];" (assignment_expression "param_3 = (int *)param_1[0x1d]" (identifier "param_3") (= "=") (cast_expression "(int *)param_1[0x1d]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")))) (; ";")) (if_statement "if (param_3 != (int *)0x0) {\n        param_1 = param_3;\n      }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        param_1 = param_3;\n      }" ({ "{") (expression_statement "param_1 = param_3;" (assignment_expression "param_1 = param_3" (identifier "param_1") (= "=") (identifier "param_3")) (; ";")) (} "}"))) (labeled_statement "LAB_00018260:\n      *(undefined1 *)((int)param_1 + 0x15) = 1;" (statement_identifier "LAB_00018260") (: ":") (expression_statement "*(undefined1 *)((int)param_1 + 0x15) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x15) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x15)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x15)" (( "(") (binary_expression "(int)param_1 + 0x15" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x15")) () ")")))) (= "=") (number_literal "1")) (; ";"))) (} "}"))))) (} "}"))) (expression_statement "FUN_000315c0(param_6,0,param_3,param_3);" (call_expression "FUN_000315c0(param_6,0,param_3,param_3)" (identifier "FUN_000315c0") (argument_list "(param_6,0,param_3,param_3)" (( "(") (identifier "param_6") (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (identifier "param_3") () ")"))) (; ";")) (labeled_statement "LAB_0001827b:\n  FUN_00031430();" (statement_identifier "LAB_0001827b") (: ":") (expression_statement "FUN_00031430();" (call_expression "FUN_00031430()" (identifier "FUN_00031430") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "FUN_000315c0();" (call_expression "FUN_000315c0()" (identifier "FUN_000315c0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm1
function_1(type_1 *pParse,int var_10,type_2 *pTab,type_3 *pIdx,type_4 *pFKey,int *var_4,int var_9,
              int nIncr,int isIgnore)

{
  type_5 var_17;
  short var_24;
  char *var_26;
  type_2 *var_22;
  type_6 var_31;
  short var_7;
  short var_25;
  type_7 *var_2;
  int p1;
  int p2;
  int var_18;
  char *zP4;
  type_2 *var_11;
  int extraout_ECX;
  int extraout_ECX_00;
  int p3;
  type_8 *pOVar6;
  type_4 *p3_00;
  int var_23;
  int var_16;
  int var_6;
  int var_13;
  int var_14;
  
  var_1();
  var_2 = pParse->pVdbe;
  if (var_2 == (type_7 *)0x0) {
    var_2 = var_3(pParse);
  }
  p1 = pParse->nTab + -1;
  p2 = pParse->nLabel + -1;
  pParse->nLabel = p2;
  if (var_4 == (int *)&DAT_ffffffff) {
    var_5(var_2,0x2f,(type_9)*(type_6 *)&pTab->pCheck,p2,0);
  }
  for (var_6 = 0; var_26 = pTab->zColAff, var_6 < (int)var_26; var_6 = var_6 + 1) {
    var_7 = (short)(&pIdx->zName)[var_6];
    if (((((type_2 *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < var_7)) {
      var_7 = var_8((type_2 *)pTab->zName,var_7);
    }
    var_5(var_2,0x32,(int)(pFKey->aAction + var_7 + -0x18),p2,0);
  }
  if (var_9 == 0) {
    if (var_10 == 0) {
      if (pParse->nTempReg == '\0') {
        var_6 = pParse->nMem + 1;
        pParse->nMem = var_6;
      }
      else {
        var_31 = pParse->nTempReg - 1;
        pParse->nTempReg = var_31;
        var_6 = pParse->aTempReg[var_31];
      }
      var_7 = (short)pIdx->zName;
      if (((((type_2 *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < var_7)) {
        var_7 = var_8((type_2 *)pTab->zName,var_7);
      }
      var_5(var_2,0x4e,(int)(pFKey->aAction + var_7 + -0x18),var_6,0);
      var_18 = var_5(var_2,0xf,var_6,0,0);
      if (((type_2 *)pTab->zName == var_11) && (var_4 == (int *)0x1)) {
        var_5(var_2,0x35,(int)pFKey,p2,var_6);
        if (0 < var_2->nOp) {
          var_2->aOp[var_2->nOp + -1].p5 = 0x90;
        }
      }
      var_12(pParse,p1,p3,var_11,0x60);
      var_5(var_2,0x20,p1,0,var_6);
      var_5(var_2,0xb,0,p2,0);
      var_13 = var_2->nOp;
      var_14 = var_13 + -2;
      if (var_14 < 0) {
        var_14 = var_13 + -1;
      }
      var_17 = var_2->db->mallocFailed;
      pOVar6 = (type_8 *)(var_15 + var_16 + 7);
      if (var_17 == '\0') {
        pOVar6 = var_2->aOp + var_14;
      }
      pOVar6->p2 = var_13;
      if (var_18 < 0) {
        var_18 = var_13 + -1;
      }
      pOVar6 = (type_8 *)(var_15 + var_16 + 7);
      if (var_17 == '\0') {
        pOVar6 = var_2->aOp + var_18;
      }
      pOVar6->p2 = var_13;
      if (var_6 != 0) {
        var_19(pParse,var_6);
      }
    }
    else {
      var_6 = var_20(pParse,(int)var_26);
      if (pParse->nTempReg == '\0') {
        var_18 = pParse->nMem + 1;
        pParse->nMem = var_18;
      }
      else {
        var_31 = pParse->nTempReg - 1;
        pParse->nTempReg = var_31;
        var_18 = pParse->aTempReg[var_31];
      }
      var_5(var_2,0x60,p1,*(int *)(var_10 + 0x2c),p3);
      var_21(pParse,(type_3 *)var_10);
      for (var_13 = 0; var_22 = (type_2 *)pTab->zName, var_13 < (int)var_26; var_13 = var_13 + 1) {
        var_7 = (short)(&pIdx->zName)[var_13];
        if (((var_22->tabFlags & 0x20) != 0) && (-1 < var_7)) {
          var_7 = var_8(var_22,var_7);
        }
        var_5(var_2,0x4d,(int)(pFKey->aAction + var_7 + -0x18),var_6 + var_13,0);
      }
      if ((var_11 == var_22) && (var_4 == (int *)0x1)) {
        var_13 = var_2->nOp;
        for (var_23 = 0; var_23 < (int)var_26; var_23 = var_23 + 1) {
          var_7 = (short)(&pIdx->zName)[var_23];
          if (((((type_2 *)pTab->zName)->tabFlags & 0x20) != 0) && (-1 < var_7)) {
            var_7 = var_8((type_2 *)pTab->zName,var_7);
          }
          var_24 = *(short *)(*(int *)(var_10 + 4) + var_23 * 2);
          var_25 = var_24;
          if ((((*(type_2 **)(var_10 + 0xc))->tabFlags & 0x20) != 0) && (-1 < var_24)) {
            var_25 = var_8(*(type_2 **)(var_10 + 0xc),var_24);
          }
          p3_00 = pFKey;
          if (var_24 != var_11->iPKey) {
            p3_00 = (type_4 *)(pFKey->aAction + var_25 + -0x18);
          }
          var_5(var_2,0x34,(int)(pFKey->aAction + var_7 + -0x18),(int)(var_26 + var_13 + 1),
                            (int)p3_00);
          if (0 < var_2->nOp) {
            var_2->aOp[var_2->nOp + -1].p5 = 0x10;
          }
        }
        var_5(var_2,0xb,0,p2,0);
      }
      zP4 = var_27(pParse->db,(type_3 *)var_10);
      var_13 = var_5(var_2,0x5b,var_6,(int)var_26,var_18);
      var_28(var_2,var_13,zP4,(int)var_26);
      var_29(var_2,0x1e,p1,p2,var_18,0);
      var_13 = extraout_ECX;
      if (var_18 != 0) {
        var_19(pParse,var_18);
        var_13 = extraout_ECX_00;
      }
      if (var_26 == (char *)0x1) {
        var_30(pParse,var_6,var_13);
      }
      else if (pParse->nRangeReg < (int)var_26) {
        pParse->nRangeReg = (int)var_26;
        pParse->iRangeReg = var_6;
      }
    }
  }
  var_31 = *(type_6 *)&pTab->pCheck;
  if (var_31 == 0) {
    if ((pParse->db->flags & 0x80000) == 0) {
      if (pParse->pToplevel == (type_1 *)0x0) {
        if (pParse->isMultiWrite == '\0') {
          var_32(pParse,0x313,2,(char *)0x0,-1,'\x04');
          goto LAB_0001827b;
        }
        if (var_4 == (int *)0x1) goto LAB_00018260;
      }
      else if (var_4 == (int *)0x1) {
        pParse = pParse->pToplevel;
        goto LAB_00018260;
      }
    }
    else if (var_4 == (int *)0x1) {
      if (pParse->pToplevel != (type_1 *)0x0) {
        pParse = pParse->pToplevel;
      }
LAB_00018260:
      pParse->mayAbort = '\x01';
    }
  }
  var_5(var_2,0x95,(type_9)var_31,(int)var_4,0);
LAB_0001827b:
  var_33(var_2,p2);
  var_5(var_2,0x74,p1,0,0);
  return;
}


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

void __regparm1
MASKED(int *param_1,int param_2,int *param_3,undefined4 *param_4,int param_5,int param_6,
            int param_7)

{
  char cVar1;
  ushort uVar2;
  byte bVar3;
  short sVar4;
  ushort uVar5;
  int iVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  int extraout_ECX;
  undefined4 extraout_ECX_00;
  undefined4 extraout_EDX;
  int extraout_EDX_00;
  int extraout_EDX_01;
  int iVar11;
  int extraout_EDX_02;
  int iVar12;
  int extraout_EDX_03;
  int extraout_EDX_04;
  int extraout_EDX_05;
  int iVar13;
  int *piVar14;
  int unaff_EDI;
  int iVar15;
  uint uVar16;
  undefined8 uVar17;
  int local_50;
  
  FUN_000a94ff();
  uVar17 = CONCAT44(extraout_EDX,param_1[2]);
  if (param_1[2] == 0) {
    uVar17 = FUN_000318c0();
  }
  iVar11 = (int)((ulonglong)uVar17 >> 0x20);
  piVar14 = (int *)uVar17;
  iVar6 = param_1[0xe] + -1;
  param_1[0xe] = iVar6;
  if (param_6 == -1) {
    FUN_000315c0(iVar6,0,param_3,param_3);
    iVar11 = extraout_EDX_00;
  }
  for (iVar15 = 0; iVar7 = param_3[5], iVar15 < iVar7; iVar15 = iVar15 + 1) {
    if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar15])) {
      FUN_0002a110();
    }
    FUN_000315c0(iVar6,0,iVar7,iVar7);
    iVar11 = extraout_EDX_01;
  }
  if (param_7 == 0) {
    if (param_2 == 0) {
      if (*(char *)((int)param_1 + 0x13) == '\0') {
        iVar15 = param_1[0xb] + 1;
        param_1[0xb] = iVar15;
      }
      else {
        bVar3 = *(char *)((int)param_1 + 0x13) - 1;
        *(byte *)((int)param_1 + 0x13) = bVar3;
        iVar15 = param_1[bVar3 + 0x26];
      }
      sVar4 = (short)*param_4;
      if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {
        sVar4 = FUN_0002a110();
      }
      FUN_000315c0(iVar15,0,(int)sVar4,(int)sVar4);
      iVar7 = FUN_000315c0(0,0);
      piVar8 = param_3;
      if ((*param_3 == extraout_ECX) && (param_6 == 1)) {
        FUN_000315c0(iVar6,iVar15,param_3,param_3);
        piVar8 = (int *)piVar14[0x1a];
        if (0 < (int)piVar8) {
          piVar8 = (int *)((int)piVar8 * 0x14 + piVar14[0x19]);
          *(undefined2 *)((int)piVar8 + -0x12) = 0x90;
        }
      }
      FUN_0004b430(extraout_ECX,0x60,piVar8,piVar8);
      FUN_000315c0(0,iVar15);
      FUN_000315c0(iVar6,0);
      iVar6 = piVar14[0x1a];
      local_50 = iVar6 + -2;
      if (local_50 < 0) {
        local_50 = iVar6 + -1;
      }
      cVar1 = *(char *)(*piVar14 + 0x4d);
      iVar11 = unaff_EDI + 0xc7858;
      if (cVar1 == '\0') {
        iVar11 = local_50 * 0x14 + piVar14[0x19];
      }
      *(int *)(iVar11 + 8) = iVar6;
      if (iVar7 < 0) {
        iVar7 = iVar6 + -1;
      }
      iVar11 = unaff_EDI + 0xc7858;
      if (cVar1 == '\0') {
        iVar11 = iVar7 * 0x14 + piVar14[0x19];
      }
      *(int *)(iVar11 + 8) = iVar6;
      if (iVar15 != 0) {
        FUN_00029c40();
        iVar11 = extraout_EDX_02;
      }
    }
    else {
      iVar15 = FUN_00029c70();
      if (*(char *)((int)param_1 + 0x13) == '\0') {
        iVar9 = param_1[0xb] + 1;
        param_1[0xb] = iVar9;
      }
      else {
        bVar3 = *(char *)((int)param_1 + 0x13) - 1;
        *(byte *)((int)param_1 + 0x13) = bVar3;
        iVar9 = param_1[bVar3 + 0x26];
      }
      FUN_000315c0(*(undefined4 *)(param_2 + 0x2c),extraout_EDX,iVar9,iVar9);
      FUN_0004b400();
      for (uVar16 = 0; (int)uVar16 < iVar7; uVar16 = uVar16 + 1) {
        sVar4 = (short)param_4[uVar16];
        if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < sVar4)) {
          sVar4 = FUN_0002a110();
        }
        FUN_000315c0(iVar15 + uVar16,0,(int)sVar4,(int)sVar4);
      }
      if ((extraout_ECX == *param_3) && (param_6 == 1)) {
        iVar11 = piVar14[0x1a];
        for (iVar13 = 0; iVar13 < iVar7; iVar13 = iVar13 + 1) {
          if (((*(byte *)(*param_3 + 0x24) & 0x20) != 0) && (-1 < (short)param_4[iVar13])) {
            FUN_0002a110();
          }
          uVar2 = *(ushort *)(*(int *)(param_2 + 4) + iVar13 * 2);
          uVar5 = uVar2;
          if (((*(byte *)(*(int *)(param_2 + 0xc) + 0x24) & 0x20) != 0) && (-1 < (short)uVar2)) {
            uVar5 = FUN_0002a110();
          }
          iVar10 = extraout_ECX;
          iVar12 = param_5;
          uVar16 = (uint)uVar2;
          if (uVar2 != *(ushort *)(extraout_ECX + 0x28)) {
            iVar10 = (int)(short)uVar5;
            iVar12 = iVar10 + param_5 + 1U;
            uVar16 = param_5 + 1U;
          }
          FUN_000315c0(iVar11 + iVar7 + 1,iVar12,iVar10,iVar10);
          if (0 < piVar14[0x1a]) {
            *(undefined2 *)(piVar14[0x1a] * 0x14 + piVar14[0x19] + -0x12) = 0x10;
          }
        }
        FUN_000315c0(iVar6,0,uVar16,uVar16);
      }
      FUN_0002e150();
      FUN_000315c0(iVar7,iVar9,extraout_ECX_00,extraout_ECX_00);
      FUN_00032090(iVar7);
      FUN_000316b0(iVar6,iVar9,0);
      iVar11 = extraout_EDX_03;
      if (iVar9 != 0) {
        FUN_00029c40();
        iVar11 = extraout_EDX_04;
      }
      if (iVar7 == 1) {
        FUN_00029ce0();
        iVar11 = extraout_EDX_05;
      }
      else if (param_1[7] < iVar7) {
        param_1[7] = iVar7;
        param_1[8] = iVar15;
      }
    }
  }
  if ((char)param_3[6] == '\0') {
    param_3 = (int *)*param_1;
    if ((*(byte *)((int)param_3 + 0x1e) & 8) == 0) {
      if (param_1[0x1d] == 0) {
        if ((char)param_1[5] == '\0') {
          FUN_00032230(0,0xffffffff,4,iVar11);
          goto LAB_0001827b;
        }
        if (param_6 == 1) goto LAB_00018260;
      }
      else if (param_6 == 1) {
        param_1 = (int *)param_1[0x1d];
        goto LAB_00018260;
      }
    }
    else if (param_6 == 1) {
      param_3 = (int *)param_1[0x1d];
      if (param_3 != (int *)0x0) {
        param_1 = param_3;
      }
LAB_00018260:
      *(undefined1 *)((int)param_1 + 0x15) = 1;
    }
  }
  FUN_000315c0(param_6,0,param_3,param_3);
LAB_0001827b:
  FUN_00031430();
  FUN_000315c0();
  return;
}

